Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef SHOWER_LIB_ISHOWER_LIB_H
6 #define SHOWER_LIB_ISHOWER_LIB_H
63 inline virtual const std::string
detector()
const;
71 inline virtual const std::string
release()
const;
75 inline virtual const std::string
geometry()
const;
83 inline virtual const std::string
physicsList()
const;
87 inline virtual const std::string
comment()
const;
93 inline virtual const std::string
getName()
const {
return "IShowerLib"; }
145 #endif // SHOWER_LIB_ISHOWER_LIB_H
virtual ~IShowerLib()
empty destructor
std::string m_detector
name of the detector
virtual double getContainmentZ(const G4Track *track) const =0
get average length of showers for the given energy
virtual const std::string release() const
get Release tag
Class for shower library shower.
virtual double getContainmentR(const G4Track *track) const =0
get average lateral spread of the showers for the given energy
virtual const std::string detector() const
get detector tag
const std::string statistics() const
print library statistics
std::string m_release
atlas software release
virtual const std::string printParameters() const =0
std::string m_comment
comment
virtual const std::string getName() const
bool m_filled
is the library read from ROOT or from structure file
virtual ShowerLibStatistics * createStatistics() const =0
virtual int particle_id() const
get particle tag
bool writeMeta(TTree *dest) const
write metadata to the given TTree
virtual bool storeShower(HepMC::ConstGenParticlePtr genParticle, const Shower *shower)=0
store shower in the library
virtual bool writeToROOT(TFile *dest)=0
write library to ROOT file
int m_particle
ID of the generated particles.
std::string m_geometry
atlas geometry version
Class for shower library shower lib interface.
virtual std::vector< EnergySpot > * getShower(const G4Track *track, ShowerLibStatistics *stats, int randomShift) const =0
get shower for given G4 track
bool readMeta(TTree *source)
read metadata from the given TTree
IShowerLib()
default constructor
const GenParticle * ConstGenParticlePtr
std::string m_geantVersion
geant 4 version
virtual const std::string geometry() const
get Geometry tag
virtual void addComment(const std::string &comment)
add given string to comment
virtual const std::string geantVersion() const
get geant version tag
virtual const std::string comment() const
get comment
std::string m_physicsList
used geant 4 physics list
Namespace for the ShowerLib related classes.
virtual const std::string physicsList() const
get geant 4 physics list name