GENIEGenerator
|
Object to be filled with the neutrino path-length, for all detector geometry materials, when starting from a position x and travelling along the direction of the neutrino 4-momentum. More...
#include <PathLengthList.h>
Public Member Functions | |
PathLengthList () | |
PathLengthList (const PDGCodeList &pdglist) | |
PathLengthList (const PathLengthList &plist) | |
PathLengthList (const map< int, double > &plist) | |
~PathLengthList () | |
void | AddPathLength (int pdgc, double pl) |
void | SetPathLength (int pdgc, double pl) |
void | SetAllToZero (void) |
bool | AreAllZero (void) const |
void | ScalePathLength (int pdgc, double scale) |
double | PathLength (int pdgc) const |
XmlParserStatus_t | LoadFromXml (string filename) |
void | SaveAsXml (string filename) const |
void | Copy (const PathLengthList &plist) |
void | Print (ostream &stream) const |
PathLengthList & | operator= (const PathLengthList &list) |
Friends | |
ostream & | operator<< (ostream &stream, const PathLengthList &list) |
Object to be filled with the neutrino path-length, for all detector geometry materials, when starting from a position x and travelling along the direction of the neutrino 4-momentum.
Definition at line 42 of file PathLengthList.h.
PathLengthList::PathLengthList | ( | void | ) |
Definition at line 45 of file PathLengthList.cxx.
PathLengthList::PathLengthList | ( | const PDGCodeList & | pdglist | ) |
Definition at line 51 of file PathLengthList.cxx.
PathLengthList::PathLengthList | ( | const PathLengthList & | plist | ) |
PathLengthList::PathLengthList | ( | const map< int, double > & | plist | ) |
Definition at line 68 of file PathLengthList.cxx.
PathLengthList::~PathLengthList | ( | ) |
Definition at line 80 of file PathLengthList.cxx.
void PathLengthList::AddPathLength | ( | int | pdgc, |
double | pl | ||
) |
Definition at line 85 of file PathLengthList.cxx.
Referenced by genie::geometry::ROOTGeomAnalyzer::ComputePathLengths().
bool PathLengthList::AreAllZero | ( | void | ) | const |
Definition at line 145 of file PathLengthList.cxx.
References genie::utils::math::AreEqual().
Referenced by GetTargetMaterial().
void PathLengthList::Copy | ( | const PathLengthList & | plist | ) |
Definition at line 158 of file PathLengthList.cxx.
References clear.
Referenced by operator=(), and PathLengthList().
XmlParserStatus_t PathLengthList::LoadFromXml | ( | string | filename | ) |
Definition at line 196 of file PathLengthList.cxx.
References clear, genie::PDGLibrary::Find(), genie::utils::xml::GetAttribute(), genie::PDGLibrary::Instance(), genie::kXmlEmpty, genie::kXmlInvalidRoot, genie::kXmlNotParsed, genie::kXmlOK, LOG, pDEBUG, pERROR, pINFO, genie::utils::str::TrimSpaces(), and genie::utils::xml::TrimSpaces().
PathLengthList & PathLengthList::operator= | ( | const PathLengthList & | list | ) |
double PathLengthList::PathLength | ( | int | pdgc | ) | const |
Definition at line 121 of file PathLengthList.cxx.
Referenced by GetTargetMaterial(), genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsBoxMethod(), and genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsFluxMethod().
void PathLengthList::Print | ( | ostream & | stream | ) | const |
Definition at line 169 of file PathLengthList.cxx.
References genie::PDGLibrary::Find(), and genie::PDGLibrary::Instance().
Referenced by genie::operator<<().
void PathLengthList::SaveAsXml | ( | string | filename | ) | const |
Save path length list to XML file
Definition at line 266 of file PathLengthList.cxx.
References genie::PDGLibrary::Find(), genie::PDGLibrary::Instance(), LOG, pERROR, and pINFO.
Referenced by main().
void PathLengthList::ScalePathLength | ( | int | pdgc, |
double | scale | ||
) |
Definition at line 107 of file PathLengthList.cxx.
Referenced by genie::geometry::ROOTGeomAnalyzer::Local2SI().
void PathLengthList::SetAllToZero | ( | void | ) |
Definition at line 135 of file PathLengthList.cxx.
Referenced by genie::geometry::ROOTGeomAnalyzer::ComputeMaxPathLengths(), and genie::geometry::ROOTGeomAnalyzer::ComputePathLengths().
void PathLengthList::SetPathLength | ( | int | pdgc, |
double | pl | ||
) |
Definition at line 96 of file PathLengthList.cxx.
Referenced by genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsBoxMethod(), and genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsFluxMethod().
|
friend |
Definition at line 38 of file PathLengthList.cxx.