Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the MCTruthConfig class
|
||||
//
|
||||
//
|
||||
// $Id: MCTruthConfig.hh 73446 2013-08-27 11:32:59Z gcosmo $
|
||||
// $Id: MCTruthConfig.hh 99841 2016-10-07 10:09:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -54,25 +54,25 @@ public:
|
||||
|
||||
virtual ~MCTruthConfig();
|
||||
|
||||
void SetMinE(double e) {minE = e;}
|
||||
G4double GetMinE() const {return minE;}
|
||||
void SetMinE(double e) {fMinE = e;}
|
||||
G4double GetMinE() const {return fMinE;}
|
||||
|
||||
void SetParticleTypes(std::vector<G4int>& types) {particleTypes = types;}
|
||||
void AddParticleType(G4int type) {particleTypes.push_back(type);}
|
||||
std::vector<G4int>& GetParticleTypes() {return particleTypes;}
|
||||
void SetParticleTypes(std::vector<G4int>& types) {fParticleTypes = types;}
|
||||
void AddParticleType(G4int type) {fParticleTypes.push_back(type);}
|
||||
std::vector<G4int>& GetParticleTypes() {return fParticleTypes;}
|
||||
|
||||
void SetCreatorProcesses(std::vector<G4String>& processes)
|
||||
{creatorProcesses = processes;}
|
||||
{fCreatorProcesses = processes;}
|
||||
void AddCreatorProcess(G4String& process)
|
||||
{creatorProcesses.push_back(process);}
|
||||
{fCreatorProcesses.push_back(process);}
|
||||
std::vector<G4String>& GetCreatorProcesses()
|
||||
{return creatorProcesses;}
|
||||
{return fCreatorProcesses;}
|
||||
|
||||
private:
|
||||
|
||||
G4double minE;
|
||||
std::vector<G4int> particleTypes;
|
||||
std::vector<G4String> creatorProcesses;
|
||||
G4double fMinE;
|
||||
std::vector<G4int> fParticleTypes;
|
||||
std::vector<G4String> fCreatorProcesses;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the MCTruthManager class
|
||||
//
|
||||
//
|
||||
// $Id: MCTruthManager.hh 73446 2013-08-27 11:32:59Z gcosmo $
|
||||
// $Id: MCTruthManager.hh 99841 2016-10-07 10:09:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -57,14 +57,14 @@ public:
|
||||
static MCTruthManager* GetInstance();
|
||||
|
||||
void NewEvent();
|
||||
HepMC::GenEvent* GetCurrentEvent() const {return event;}
|
||||
HepMC::GenEvent* GetCurrentEvent() const {return fEvent;}
|
||||
void PrintEvent();
|
||||
|
||||
void AddParticle(G4LorentzVector&, G4LorentzVector&, G4LorentzVector&,
|
||||
G4int, G4int, G4int, G4bool);
|
||||
|
||||
void SetConfig(MCTruthConfig* c) {config=c;}
|
||||
MCTruthConfig* GetConfig() const {return config;}
|
||||
void SetConfig(MCTruthConfig* c) {fConfig=c;}
|
||||
MCTruthConfig* GetConfig() const {return fConfig;}
|
||||
|
||||
protected:
|
||||
|
||||
@@ -74,25 +74,25 @@ protected:
|
||||
|
||||
private:
|
||||
|
||||
HepMC::GenEvent* event;
|
||||
HepMC::GenEvent* fEvent;
|
||||
|
||||
// vector containing barcodes of primary particles (not having any mother)
|
||||
//
|
||||
std::vector<G4int> primarybarcodes;
|
||||
std::vector<G4int> fPrimarybarcodes;
|
||||
|
||||
// map containing number of 'segmentations' for each particle (i.e. number
|
||||
// of additional vertices introduced in order to attach secondary particles
|
||||
// which were created 'in-flight', for instance bremstrahlung gammas, etc)
|
||||
//
|
||||
std::map<G4int,G4int> segmentations;
|
||||
std::map<G4int,G4int> fSegmentations;
|
||||
|
||||
// different criteria for storing (or not) particles
|
||||
//
|
||||
MCTruthConfig* config;
|
||||
MCTruthConfig* fConfig;
|
||||
|
||||
// recursive printing of the tree
|
||||
//
|
||||
void printTree(HepMC::GenParticle*, G4String);
|
||||
void PrintTree(HepMC::GenParticle*, G4String);
|
||||
|
||||
};
|
||||
#endif // INCLUDE_MCTRUTHMANAGER_H
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the MCTruthTrackInformation class
|
||||
//
|
||||
//
|
||||
// $Id: MCTruthTrackInformation.hh 73446 2013-08-27 11:32:59Z gcosmo $
|
||||
// $Id: MCTruthTrackInformation.hh 99841 2016-10-07 10:09:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
G4bool directParent;
|
||||
G4bool fDirectParent;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the MCTruthTrackingAction class
|
||||
//
|
||||
//
|
||||
// $Id: MCTruthTrackingAction.hh 73446 2013-08-27 11:32:59Z gcosmo $
|
||||
// $Id: MCTruthTrackingAction.hh 99841 2016-10-07 10:09:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
private:
|
||||
|
||||
G4LorentzVector fmom;
|
||||
G4bool trackToBeStored(const G4Track*);
|
||||
G4bool TrackToBeStored(const G4Track*);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user