GENIEGenerator
|
#include <FidShape.h>
Public Member Functions | |
FidCylinder (const TVector3 &base, const TVector3 &axis, Double_t radius, const PlaneParam &cap1, const PlaneParam &cap2) | |
RayIntercept | Intercept (const TVector3 &start, const TVector3 &dir) const |
RayIntercept | InterceptUncapped (const TVector3 &start, const TVector3 &dir) const |
void | ConvertMaster2Top (const ROOTGeomAnalyzer *rgeom) |
void | Print (std::ostream &stream) const |
Public Member Functions inherited from genie::geometry::FidShape | |
FidShape () | |
virtual | ~FidShape () |
Protected Attributes | |
TVector3 | fCylBase |
TVector3 | fCylAxis |
base point on cylinder axis More... | |
Double_t | fCylRadius |
direction cosines of cylinder axis More... | |
PlaneParam | fCylCap1 |
radius of cylinder More... | |
PlaneParam | fCylCap2 |
define a plane for 1st cylinder cap More... | |
Definition at line 118 of file FidShape.h.
|
inline |
Definition at line 120 of file FidShape.h.
|
virtual |
derived classes must implement the ConvertMaster2Top() method which transforms the shape specification from master coordinates to "top vol"
Implements genie::geometry::FidShape.
Definition at line 194 of file FidShape.cxx.
References genie::geometry::ROOTGeomAnalyzer::Master2Top(), and genie::geometry::ROOTGeomAnalyzer::Master2TopDir().
|
virtual |
derived classes must implement the Intercept() method which calculates the entry/exit point of a ray w/ the shape
Implements genie::geometry::FidShape.
Definition at line 159 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, genie::geometry::PlaneParam::IsValid(), genie::geometry::PlaneParam::Vd(), and genie::geometry::PlaneParam::Vn().
RayIntercept FidCylinder::InterceptUncapped | ( | const TVector3 & | start, |
const TVector3 & | dir | ||
) | const |
Definition at line 113 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 genie::units::s.
|
virtual |
Implements genie::geometry::FidShape.
Definition at line 203 of file FidShape.cxx.
|
protected |
base point on cylinder axis
Definition at line 130 of file FidShape.h.
|
protected |
Definition at line 129 of file FidShape.h.
|
protected |
radius of cylinder
Definition at line 132 of file FidShape.h.
|
protected |
define a plane for 1st cylinder cap
Definition at line 133 of file FidShape.h.
|
protected |
direction cosines of cylinder axis
Definition at line 131 of file FidShape.h.