34 #include "StackingAction.hh"
37 #include "EventAction.hh"
38 #include "HistoManager.hh"
39 #include "StackingMessenger.hh"
48 fKillSecondary(0),fStackMessenger(0),fPhotoGamma(-1),fComptGamma(-1),
49 fPhotoAuger(-1),fComptAuger(-1),fPixeGamma(-1),fPixeAuger(-1),
59 delete fStackMessenger;
85 Run* run =
static_cast<Run*
>(
101 analysisManager->FillH1(2,energy);
102 analysisManager->FillH1(4,energy);
103 if(idx == fPhotoAuger || idx == fComptAuger) {
104 analysisManager->FillH1(16,energy);
105 analysisManager->FillH1(18,energy);
106 }
else if(idx == fPixeAuger) {
107 analysisManager->FillH1(44,energy);
108 analysisManager->FillH1(46,energy);
113 analysisManager->FillH1(3,energy);
114 analysisManager->FillH1(5,energy);
115 if(idx == fPhotoGamma || idx == fComptGamma) {
116 analysisManager->FillH1(17,energy);
117 analysisManager->FillH1(19,energy);
118 }
else if(idx == fPixeGamma) {
119 analysisManager->FillH1(45,energy);
120 analysisManager->FillH1(47,energy);
126 if (fKillSecondary) {
127 if (fKillSecondary == 1) {
G4int GetCreatorModelID() const
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
void AddEnergy(G4double edep)
G4double GetKineticEnergy() const
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *)
void CountParticles(G4ParticleDefinition *part)
static G4RunManager * GetRunManager()
G4ClassificationOfNewTrack
G4double energy(const ThreeVector &p, const G4double m)
G4double GetPDGCharge() const
static G4int GetIndex(const G4String &)
G4CsvAnalysisManager G4AnalysisManager
G4Run * GetNonConstCurrentRun() const