123 for (
G4int j=0;j<nPixel;j++)
150 if (edep==0.)
return false;
160 G4int PixelNumber = 0;
174 G4cout <<
" New Hit on pixel: " << PixelNumber <<
G4endl;
179 (*HPGeCollection)[
HitHPGeID[PixelNumber]]->AddEnergy(edep);
182 G4cout <<
" Energy added to Pixel: " << PixelNumber <<
G4endl;
193 static G4int HCID = -1;
G4String SensitiveDetectorName
G4int GetCollectionID(G4String colName)
G4VPhysicalVolume * GetVolume(G4int depth=0) const
const G4VTouchable * GetTouchable() const
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
XrayFluoMercuryDetectorConstruction * mercuryDetector
G4THitsCollection< XrayFluoSensorHit > XrayFluoSensorHitsCollection
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
void insert(G4String str)
XrayFluoPlaneDetectorConstruction * planeDetector
XrayFluoSensorHitsCollection * HPGeCollection
G4double GetTotalEnergyDeposit() const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
void EndOfEvent(G4HCofThisEvent *)
XrayFluoSD(G4String, XrayFluoDetectorConstruction *)
XrayFluoDetectorConstruction * Detector
static G4SDManager * GetSDMpointer()
void AddEnergy(G4double de)
virtual G4int GetCopyNo() const =0
void Initialize(G4HCofThisEvent *)
G4CollectionNameVector collectionName