GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions
genie::geometry Namespace Reference

GENIE geometry drivers. More...

Classes

class  RayIntercept
 
class  PlaneParam
 
class  FidShape
 Some simple volumes that know how to calculate where a ray intercepts them. More...
 
class  FidSphere
 
class  FidCylinder
 
class  FidPolyhedron
 
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  PointGeomAnalyzer
 The PointGeomAnalyzer class is the simplest implementation of the GeomAnalyserI interface and defines a simple 'point-like' geometry. More...
 
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 53 of file PathSegmentList.h.

Definition at line 54 of file PathSegmentList.h.

Function Documentation

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

Definition at line 116 of file PathSegmentList.h.

References genie::geometry::PathSegment::fRayDist.

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

Definition at line 22 of file FidShape.cxx.

References genie::geometry::PlaneParam::Print().

24 {
25  pparam.Print(stream);
26  return stream;
27 }
void Print(std::ostream &stream) const
Definition: FidShape.cxx:63
ostream & genie::geometry::operator<< ( ostream &  stream,
const geometry::PathSegment ps 
)

Definition at line 45 of file PathSegmentList.cxx.

References genie::geometry::PathSegment::Print().

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

Definition at line 51 of file PathSegmentList.cxx.

References genie::geometry::PathSegmentList::Print().

52  {
53  list.Print(stream);
54  return stream;
55  }
void Print(ostream &stream) const
std::ostream & genie::geometry::operator<< ( std::ostream &  stream,
const genie::geometry::RayIntercept ri 
)

Definition at line 30 of file FidShape.cxx.

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

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

Definition at line 40 of file FidShape.cxx.

References genie::geometry::FidShape::Print().

42 {
43  shape.Print(stream);
44  return stream;
45 }
virtual void Print(std::ostream &stream) const =0