GENIEGenerator
Loading...
Searching...
No Matches
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

◆ StepRange

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

Definition at line 53 of file PathSegmentList.h.

◆ StepRangeSet

Definition at line 54 of file PathSegmentList.h.

Function Documentation

◆ operator<()

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

Definition at line 116 of file PathSegmentList.h.

117 { return ( lhs.fRayDist < rhs.fRayDist ); }
Double_t fRayDist
distance from start of ray

◆ operator<<() [1/5]

ostream & genie::geometry::operator<< ( ostream & stream,
const geometry::PathSegment & ps )

Definition at line 45 of file PathSegmentList.cxx.

46 {
47 ps.Print(stream);
48 return stream;
49 }
void Print(ostream &stream) const

◆ operator<<() [2/5]

ostream & genie::geometry::operator<< ( ostream & stream,
const geometry::PathSegmentList & list )

Definition at line 51 of file PathSegmentList.cxx.

52 {
53 list.Print(stream);
54 return stream;
55 }
void Print(ostream &stream) const

◆ operator<<() [3/5]

std::ostream & genie::geometry::operator<< ( std::ostream & stream,
const genie::geometry::FidShape & shape )

Definition at line 39 of file FidShape.cxx.

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

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

◆ operator<<() [4/5]

std::ostream & genie::geometry::operator<< ( std::ostream & stream,
const genie::geometry::PlaneParam & pparam )

Definition at line 21 of file FidShape.cxx.

24{
25 pparam.Print(stream);
26 return stream;
27}
void Print(std::ostream &stream) const
Definition FidShape.cxx:63

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

◆ operator<<() [5/5]

std::ostream & genie::geometry::operator<< ( std::ostream & stream,
const genie::geometry::RayIntercept & ri )

Definition at line 29 of file FidShape.cxx.

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 fSurfIn
was the volume hit
Definition FidShape.h:53
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
Double_t fDistOut
distance along ray to enter fid volume
Definition FidShape.h:51

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