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;
G4int GetNbOfPixels() const
G4int GetCollectionID(G4String colName)
const G4VTouchable * GetTouchable() const
G4StepPoint * GetPreStepPoint() const
XrayFluoDetectorConstruction * Detector
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
XrayFluoSD(G4String, XrayFluoDetectorConstruction *)
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
void Initialize(G4HCofThisEvent *)
G4String SensitiveDetectorName
void AddEnergy(G4double de)
XrayFluoMercuryDetectorConstruction * mercuryDetector
XrayFluoSensorHitsCollection * HPGeCollection
XrayFluoPlaneDetectorConstruction * planeDetector
void insert(G4String str)
G4VPhysicalVolume * GetVolume(G4int depth=0) const
void EndOfEvent(G4HCofThisEvent *)
G4double GetTotalEnergyDeposit() const
virtual G4int GetCopyNo() const =0
G4THitsCollection< XrayFluoSensorHit > XrayFluoSensorHitsCollection
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
G4int GetNbOfPixels() const
G4int GetNbOfPixels() const
G4GLOB_DLL std::ostream G4cout