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.
May 24, 2005
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
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 | ) |
Definition at line 62 of file PathLengthList.cxx.
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.
bool PathLengthList::AreAllZero | ( | void | ) | const |
Definition at line 145 of file PathLengthList.cxx.
void PathLengthList::Copy | ( | const PathLengthList & | plist | ) |
Definition at line 158 of file PathLengthList.cxx.
XmlParserStatus_t PathLengthList::LoadFromXml | ( | string | filename | ) |
Definition at line 196 of file PathLengthList.cxx.
PathLengthList & PathLengthList::operator= | ( | const PathLengthList & | list | ) |
Definition at line 309 of file PathLengthList.cxx.
double PathLengthList::PathLength | ( | int | pdgc | ) | const |
Definition at line 121 of file PathLengthList.cxx.
void PathLengthList::Print | ( | ostream & | stream | ) | const |
Definition at line 169 of file PathLengthList.cxx.
void PathLengthList::SaveAsXml | ( | string | filename | ) | const |
Save path length list to XML file
Definition at line 266 of file PathLengthList.cxx.
void PathLengthList::ScalePathLength | ( | int | pdgc, |
double | scale | ||
) |
Definition at line 107 of file PathLengthList.cxx.
void PathLengthList::SetAllToZero | ( | void | ) |
Definition at line 135 of file PathLengthList.cxx.
void PathLengthList::SetPathLength | ( | int | pdgc, |
double | pl | ||
) |
Definition at line 96 of file PathLengthList.cxx.
|
friend |
Definition at line 38 of file PathLengthList.cxx.