23 source->SetBranchAddress(
"detector",&
detector);
24 source->SetBranchAddress(
"particle",&
m_particle);
25 source->SetBranchAddress(
"release",&
release);
26 source->SetBranchAddress(
"geometry",&
geometry);
27 source->SetBranchAddress(
"geantVersion",&geant);
28 source->SetBranchAddress(
"physicsList",&physics);
29 source->SetBranchAddress(
"comment",&
comment);
60 source->Branch(
"detector",&
detector,
"detector/C");
61 source->Branch(
"particle",&particle,
"particle/I");
62 source->Branch(
"release",&
release,
"release/C");
63 source->Branch(
"geometry",&
geometry,
"geometry/C");
64 source->Branch(
"geantVersion",&geant,
"geantVersion/C");
65 source->Branch(
"physicsList",&physics,
"physicsList/C");
66 source->Branch(
"comment",&
comment,
"comment/C");
74 std::stringstream out;
76 out <<
"======================================================" << std::endl;
77 out <<
" Statistics of the shower library " << std::endl;
78 out <<
"======================================================" << std::endl;
86 std::stringstream out;
bool readMeta(TTree *source)
read metadata from the given TTree
std::string m_geantVersion
geant 4 version
virtual const std::string geometry() const
get Geometry tag
virtual const std::string release() const
get Release tag
const std::string statistics() const
print library statistics
std::string m_release
atlas software release
int m_particle
ID of the generated particles.
virtual const std::string printParameters() const =0
virtual const std::string comment() const
get comment
bool writeMeta(TTree *dest) const
write metadata to the given TTree
std::string m_detector
name of the detector
std::string m_comment
comment
virtual const std::string detector() const
get detector tag
bool m_filled
is the library read from ROOT or from structure file
std::string m_physicsList
used geant 4 physics list
virtual const std::string getName() const
std::string m_geometry
atlas geometry version
Namespace for the ShowerLib related classes.