49 fNumberOfCells(nCells),
81 if(edep<=0.)
return false;
99 {
G4cout <<
" New Calorimeter Hit on CellID " << copyID <<
G4endl; }
103 (*fCalCollection)[
fCellID[copyID]]->AddEdep( edep );
105 {
G4cout <<
" Energy added to CellID " << copyID <<
G4endl; }
G4int GetCollectionID(G4String colName)
virtual void Initialize(G4HCofThisEvent *HCE)
const G4VTouchable * GetTouchable() const
G4LogicalVolume * GetLogicalVolume() const
G4int GetReplicaNumber(G4int depth=0) const
G4StepPoint * GetPreStepPoint() const
virtual void EndOfEvent(G4HCofThisEvent *HCE)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4String SensitiveDetectorName
Par01CalorimeterHitsCollection * fCalCollection
void SetPos(G4ThreeVector xyz)
const G4NavigationHistory * GetHistory() const
void insert(G4String str)
G4VPhysicalVolume * GetVolume(G4int depth=0) const
Definition of the Par01CalorimeterSD class.
const G4AffineTransform & GetTopTransform() const
G4THitsCollection< Par01CalorimeterHit > Par01CalorimeterHitsCollection
G4double GetTotalEnergyDeposit() const
Par01CalorimeterSD(G4String name, G4int nCells, G4String colName)
void SetRot(G4RotationMatrix rmat)
Definition of the Par01CalorimeterHit class.
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
G4GLOB_DLL std::ostream G4cout
void SetEdep(G4double de)