Classes | Typedefs | Functions
genie::geometry Namespace Reference

GENIE geometry drivers. More...

Classes

class  FidCylinder
 
class  FidPolyhedron
 
class  FidShape
 Some simple volumes that know how to calculate where a ray intercepts them. More...
 
class  FidSphere
 
class  GeomVolSelectorBasic
 GENIE Interface for user-defined volume selector functors This basic version allows configurations that depend on PathSegment elements' material/media/volume and/or "path". More...
 
class  GeomVolSelectorFiducial
 GENIE Interface for user-defined volume selector functors Trim path segments based on the intersection with a cylinder, box or sphere as well as everything the Basic selector can do. More...
 
class  GeomVolSelectorI
 GENIE Interface for user-defined volume selector functors. More...
 
class  GeomVolSelectorRockBox
 GENIE Interface for limiting vertex selection in the rock to a volume that depends (in part) on the neutrino p4. Uses GeomVolSelectorFiducial to possibly exclude an inner region. More...
 
class  PathSegment
 
class  PathSegmentList
 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...
 
class  PlaneParam
 
class  PointGeomAnalyzer
 The PointGeomAnalyzer class is the simplest implementation of the GeomAnalyserI interface and defines a simple 'point-like' geometry. More...
 
class  RayIntercept
 
class  ROOTGeomAnalyzer
 A ROOT/GEANT4 geometry driver. More...
 

Typedefs

typedef std::pair< Double_t, Double_t > StepRange
 
typedef std::vector< StepRangeStepRangeSet
 

Functions

std::ostream & operator<< (std::ostream &stream, const genie::geometry::PlaneParam &pparam)
 
std::ostream & operator<< (std::ostream &stream, const genie::geometry::RayIntercept &ri)
 
std::ostream & operator<< (std::ostream &stream, const genie::geometry::FidShape &shape)
 
ostream & operator<< (ostream &stream, const geometry::PathSegment &ps)
 
ostream & operator<< (ostream &stream, const geometry::PathSegmentList &list)
 
bool operator< (const PathSegment &lhs, const PathSegment &rhs)
 

Detailed Description

GENIE geometry drivers.

Typedef Documentation

typedef std::pair<Double_t,Double_t> genie::geometry::StepRange

Definition at line 54 of file PathSegmentList.h.

Definition at line 55 of file PathSegmentList.h.

Function Documentation

bool genie::geometry::operator< ( const PathSegment lhs,
const PathSegment rhs 
)
inline

Definition at line 117 of file PathSegmentList.h.

References genie::geometry::PathSegment::fRayDist, parse_dependency_file_t::list, genie::geometry::PathSegment::operator<<, and runNovaSAM::stream.

118  { return ( lhs.fRayDist < rhs.fRayDist ); }
std::ostream & genie::geometry::operator<< ( std::ostream &  stream,
const genie::geometry::PlaneParam pparam 
)

Definition at line 26 of file FidShape.cxx.

References genie::geometry::PlaneParam::Print(), and runNovaSAM::stream.

Referenced by genie::geometry::PlaneParam::IsValid(), and genie::geometry::FidShape::~FidShape().

28 {
29  pparam.Print(stream);
30  return stream;
31 }
void Print(std::ostream &stream) const
Definition: FidShape.cxx:67
std::ostream & genie::geometry::operator<< ( std::ostream &  stream,
const genie::geometry::RayIntercept ri 
)

Definition at line 34 of file FidShape.cxx.

References genie::geometry::RayIntercept::fDistIn, genie::geometry::RayIntercept::fDistOut, genie::geometry::RayIntercept::fIsHit, genie::geometry::RayIntercept::fSurfIn, genie::geometry::RayIntercept::fSurfOut, and runNovaSAM::stream.

36 {
37  stream << "RayIntercept: dist in/out " << ri.fDistIn << "/" << ri.fDistOut
38  << " hit=" << ((ri.fIsHit)?"true":"false")
39  << " surf " << ri.fSurfIn << "/" << ri.fSurfOut;
40  return stream;
41 }
Int_t fSurfOut
what surface was hit on way in
Definition: FidShape.h:55
Bool_t fIsHit
distance along ray to exit fid volume
Definition: FidShape.h:53
Int_t fSurfIn
was the volume hit
Definition: FidShape.h:54
Double_t fDistOut
distance along ray to enter fid volume
Definition: FidShape.h:52
ostream & genie::geometry::operator<< ( ostream &  stream,
const geometry::PathSegment ps 
)

Definition at line 88 of file PathSegmentList.cxx.

References genie::geometry::PathSegment::Print(), and runNovaSAM::stream.

89  {
90  ps.Print(stream);
91  return stream;
92  }
void Print(ostream &stream) const
std::ostream & genie::geometry::operator<< ( std::ostream &  stream,
const genie::geometry::FidShape shape 
)

Definition at line 44 of file FidShape.cxx.

References genie::geometry::FidShape::Print(), and runNovaSAM::stream.

46 {
47  shape.Print(stream);
48  return stream;
49 }
virtual void Print(std::ostream &stream) const =0
ostream & genie::geometry::operator<< ( ostream &  stream,
const geometry::PathSegmentList list 
)

Definition at line 94 of file PathSegmentList.cxx.

References genie::geometry::PathSegmentList::Print(), and runNovaSAM::stream.

95  {
96  list.Print(stream);
97  return stream;
98  }
void Print(ostream &stream) const