48  numberOfCellsInZ(20),numberOfCellsInPhi(48)
    82   if(edep==0.) 
return false;
    84   const G4VTouchable* touchable = aStep->GetPreStepPoint()->GetTouchable();
    88   if(
CellID[copyIDinZ][copyIDinPhi]==-1)
    99     CellID[copyIDinZ][copyIDinPhi] = icell - 1;
   101     { 
G4cout << 
" New Calorimeter Hit on CellID "    102            << copyIDinZ << 
" " << copyIDinPhi << 
G4endl; }
   106     (*CalCollection)[
CellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
   108     { 
G4cout << 
" Energy added to CellID "    109            << copyIDinZ << 
" " << copyIDinPhi << 
G4endl; }
   119   static G4int HCID = -1;
 G4String SensitiveDetectorName
void SetRot(G4RotationMatrix rmat)
Definition of the RE05CalorimeterHit class. 
virtual void Initialize(G4HCofThisEvent *HCE)
RE05CalorimeterHitsCollection * CalCollection
G4THitsCollection< RE05CalorimeterHit > RE05CalorimeterHitsCollection
void SetEdep(G4double de)
virtual G4int GetCollectionID(G4int i)
G4GLOB_DLL std::ostream G4cout
void insert(G4String str)
void SetPos(G4ThreeVector xyz)
virtual G4int GetReplicaNumber(G4int depth=0) const
virtual const G4NavigationHistory * GetHistory() const
virtual ~RE05CalorimeterSD()
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
const int numberOfCellsInPhi
RE05CalorimeterSD(G4String name)
const G4AffineTransform & GetTopTransform() const
G4CollectionNameVector collectionName
G4LogicalVolume * GetLogicalVolume() const
const int numberOfCellsInZ
virtual void EndOfEvent(G4HCofThisEvent *HCE)
Definition of the RE05CalorimeterSD class.