ATLAS Offline Software
|
Class for shower library shower lib interface. More...
#include <IShowerLib.h>
Public Member Functions | |
virtual | ~IShowerLib () |
empty destructor More... | |
virtual std::vector< EnergySpot > * | getShower (const G4Track *track, ShowerLibStatistics *stats, int randomShift) const =0 |
get shower for given G4 track More... | |
virtual double | getContainmentZ (const G4Track *track) const =0 |
get average length of showers for the given energy More... | |
virtual double | getContainmentR (const G4Track *track) const =0 |
get average lateral spread of the showers for the given energy More... | |
virtual bool | storeShower (HepMC::ConstGenParticlePtr genParticle, const Shower *shower)=0 |
store shower in the library More... | |
virtual bool | writeToROOT (TFile *dest)=0 |
write library to ROOT file More... | |
virtual ShowerLibStatistics * | createStatistics () const =0 |
const std::string | statistics () const |
print library statistics More... | |
virtual const std::string | detector () const |
get detector tag More... | |
virtual int | particle_id () const |
get particle tag More... | |
virtual const std::string | release () const |
get Release tag More... | |
virtual void | release (const std::string &release) |
set Release tag More... | |
virtual const std::string | geometry () const |
get Geometry tag More... | |
virtual void | geometry (const std::string &geometry) |
set Geometry tag More... | |
virtual const std::string | geantVersion () const |
get geant version tag More... | |
virtual void | geantVersion (const std::string &version) |
set geant version tag More... | |
virtual const std::string | physicsList () const |
get geant 4 physics list name More... | |
virtual void | physicsList (const std::string &list) |
set geant 4 physics list name More... | |
virtual const std::string | comment () const |
get comment More... | |
virtual void | comment (const std::string &comment) |
set given string as comment More... | |
virtual void | addComment (const std::string &comment) |
add given string to comment More... | |
virtual const std::string | getName () const |
Protected Member Functions | |
IShowerLib () | |
default constructor More... | |
bool | readMeta (TTree *source) |
read metadata from the given TTree More... | |
bool | writeMeta (TTree *dest) const |
write metadata to the given TTree More... | |
virtual const std::string | printParameters () const =0 |
Protected Attributes | |
std::string | m_detector |
name of the detector More... | |
int | m_particle |
ID of the generated particles. More... | |
std::string | m_release |
atlas software release More... | |
std::string | m_geometry |
atlas geometry version More... | |
std::string | m_geantVersion |
geant 4 version More... | |
std::string | m_physicsList |
used geant 4 physics list More... | |
std::string | m_comment |
comment More... | |
bool | m_filled |
is the library read from ROOT or from structure file More... | |
Class for shower library shower lib interface.
Define interface for top level shower library access
Definition at line 40 of file IShowerLib.h.
|
inlinevirtual |
|
inlineprotected |
default constructor
Definition at line 98 of file IShowerLib.h.
|
inlinevirtual |
add given string to comment
Definition at line 141 of file IShowerLib.h.
|
inlinevirtual |
|
inlinevirtual |
set given string as comment
Definition at line 140 of file IShowerLib.h.
|
pure virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
get average lateral spread of the showers for the given energy
Implemented in ShowerLib::FCALDistEtaEnergyShowerLib, ShowerLib::FCALDistEnergyShowerLib, ShowerLib::EtaEnergyShowerLib, and ShowerLib::TestShowerLib.
|
pure virtual |
get average length of showers for the given energy
Implemented in ShowerLib::FCALDistEtaEnergyShowerLib, ShowerLib::FCALDistEnergyShowerLib, ShowerLib::EtaEnergyShowerLib, and ShowerLib::TestShowerLib.
|
inlinevirtual |
Reimplemented in ShowerLib::FCALDistEtaEnergyShowerLib, ShowerLib::FCALDistEnergyShowerLib, ShowerLib::EtaEnergyShowerLib, and ShowerLib::TestShowerLib.
Definition at line 93 of file IShowerLib.h.
|
pure virtual |
get shower for given G4 track
Implemented in ShowerLib::FCALDistEtaEnergyShowerLib, ShowerLib::FCALDistEnergyShowerLib, ShowerLib::EtaEnergyShowerLib, and ShowerLib::TestShowerLib.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protectedpure virtual |
|
protected |
|
inlinevirtual |
|
inlinevirtual |
const std::string ShowerLib::IShowerLib::statistics | ( | ) | const |
print library statistics
Definition at line 71 of file IShowerLib.cxx.
|
pure virtual |
store shower in the library
Implemented in ShowerLib::FCALDistEtaEnergyShowerLib, ShowerLib::FCALDistEnergyShowerLib, ShowerLib::EtaEnergyShowerLib, and ShowerLib::TestShowerLib.
|
protected |
|
pure virtual |
write library to ROOT file
Implemented in ShowerLib::FCALDistEtaEnergyShowerLib, ShowerLib::FCALDistEnergyShowerLib, ShowerLib::EtaEnergyShowerLib, and ShowerLib::TestShowerLib.
|
protected |
comment
Definition at line 112 of file IShowerLib.h.
|
protected |
name of the detector
Definition at line 106 of file IShowerLib.h.
|
protected |
is the library read from ROOT or from structure file
Definition at line 114 of file IShowerLib.h.
|
protected |
geant 4 version
Definition at line 110 of file IShowerLib.h.
|
protected |
atlas geometry version
Definition at line 109 of file IShowerLib.h.
|
protected |
ID of the generated particles.
Definition at line 107 of file IShowerLib.h.
|
protected |
used geant 4 physics list
Definition at line 111 of file IShowerLib.h.
|
protected |
atlas software release
Definition at line 108 of file IShowerLib.h.