Object to be filled with the neutrino path-segments representing geometry volume steps (generally boundary-to-boundary) along with geometry materials. Good for a single starting position and travelling along the direction of the neutrino 4-momentum. More...
#include <PathSegmentList.h>
Public Types | |
typedef std::list< PathSegment > | PathSegmentV_t |
typedef PathSegmentV_t::const_iterator | PathSegVCItr_t |
typedef std::map< const TGeoMaterial *, Double_t > | MaterialMap_t |
typedef MaterialMap_t::const_iterator | MaterialMapCItr_t |
Public Member Functions | |
PathSegmentList () | |
PathSegmentList (const PathSegmentList &plist) | |
~PathSegmentList () | |
void | SetDoCrossCheck (bool doit=true) |
void | SetPrintVerbose (bool doit=true) |
void | SetAllToZero (void) |
void | SetStartInfo (const TVector3 &pos=TVector3(0, 0, 1e37), const TVector3 &dir=TVector3(0, 0, 0)) |
bool | IsSameStart (const TVector3 &pos, const TVector3 &dir) const |
void | AddSegment (const PathSegment &ps) |
const TVector3 & | GetDirection () const |
const TVector3 & | GetStartPos () const |
const PathSegmentV_t & | GetPathSegmentV (void) const |
size_t | size (void) const |
void | FillMatStepSum (void) |
const MaterialMap_t & | GetMatStepSumMap (void) const |
void | CrossCheck (double &mxddist, double &mxdstep) const |
void | Copy (const PathSegmentList &plist) |
PathSegmentList & | operator= (const PathSegmentList &list) |
void | Print (ostream &stream) const |
Protected Attributes | |
TVector3 | fStartPos |
Record, for future comparison, the path taken. More... | |
TVector3 | fDirection |
direction (in top vol coords) More... | |
PathSegmentV_t | fSegmentList |
Actual list of segments. More... | |
MaterialMap_t | fMatStepSum |
Segment list re-evaluated by material for fast lookup of path lengths. More... | |
bool | fDoCrossCheck |
bool | fPrintVerbose |
Friends | |
ostream & | operator<< (ostream &stream, const PathSegmentList &list) |
Object to be filled with the neutrino path-segments representing geometry volume steps (generally boundary-to-boundary) along with geometry materials. Good for a single starting position and travelling along the direction of the neutrino 4-momentum.
May 26, 2009
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 123 of file PathSegmentList.h.
typedef std::map<const TGeoMaterial*,Double_t> genie::geometry::PathSegmentList::MaterialMap_t |
Definition at line 147 of file PathSegmentList.h.
Definition at line 148 of file PathSegmentList.h.
typedef std::list<PathSegment> genie::geometry::PathSegmentList::PathSegmentV_t |
Definition at line 141 of file PathSegmentList.h.
Definition at line 142 of file PathSegmentList.h.
PathSegmentList::PathSegmentList | ( | void | ) |
Definition at line 188 of file PathSegmentList.cxx.
PathSegmentList::PathSegmentList | ( | const PathSegmentList & | plist | ) |
Definition at line 194 of file PathSegmentList.cxx.
PathSegmentList::~PathSegmentList | ( | ) |
Definition at line 199 of file PathSegmentList.cxx.
|
inline |
Definition at line 136 of file PathSegmentList.h.
void PathSegmentList::Copy | ( | const PathSegmentList & | plist | ) |
Definition at line 245 of file PathSegmentList.cxx.
void PathSegmentList::CrossCheck | ( | double & | mxddist, |
double & | mxdstep | ||
) | const |
Definition at line 266 of file PathSegmentList.cxx.
void PathSegmentList::FillMatStepSum | ( | void | ) |
Definition at line 229 of file PathSegmentList.cxx.
|
inline |
Definition at line 138 of file PathSegmentList.h.
|
inline |
Definition at line 151 of file PathSegmentList.h.
|
inline |
Definition at line 144 of file PathSegmentList.h.
|
inline |
Definition at line 139 of file PathSegmentList.h.
bool PathSegmentList::IsSameStart | ( | const TVector3 & | pos, |
const TVector3 & | dir | ||
) | const |
Definition at line 223 of file PathSegmentList.cxx.
PathSegmentList & PathSegmentList::operator= | ( | const PathSegmentList & | list | ) |
Definition at line 442 of file PathSegmentList.cxx.
void PathSegmentList::Print | ( | ostream & | stream | ) | const |
Definition at line 286 of file PathSegmentList.cxx.
void PathSegmentList::SetAllToZero | ( | void | ) |
Definition at line 205 of file PathSegmentList.cxx.
|
inline |
Definition at line 130 of file PathSegmentList.h.
|
inline |
Definition at line 131 of file PathSegmentList.h.
void PathSegmentList::SetStartInfo | ( | const TVector3 & | pos = TVector3(0,0,1e37) , |
const TVector3 & | dir = TVector3(0,0,0) |
||
) |
Definition at line 216 of file PathSegmentList.cxx.
|
inline |
Definition at line 145 of file PathSegmentList.h.
|
friend |
Definition at line 51 of file PathSegmentList.cxx.
|
protected |
direction (in top vol coords)
Definition at line 170 of file PathSegmentList.h.
|
protected |
Definition at line 178 of file PathSegmentList.h.
|
protected |
Segment list re-evaluated by material for fast lookup of path lengths.
Definition at line 176 of file PathSegmentList.h.
|
protected |
Definition at line 179 of file PathSegmentList.h.
|
protected |
Actual list of segments.
Definition at line 173 of file PathSegmentList.h.
|
protected |
Record, for future comparison, the path taken.
starting position (in top vol coords)
Definition at line 169 of file PathSegmentList.h.