|
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 | |
| Double_t | fCylRadius |
| direction cosines of cylinder axis | |
| PlaneParam | fCylCap1 |
| radius of cylinder | |
| PlaneParam | fCylCap2 |
| define a plane for 1st cylinder cap | |
Definition at line 118 of file FidShape.h.
|
inline |
Definition at line 120 of file FidShape.h.
References fCylAxis, fCylBase, fCylCap1, fCylCap2, and fCylRadius.
|
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 fCylAxis, fCylBase, fCylCap1, fCylCap2, 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 dir, fCylCap1, fCylCap2, genie::geometry::RayIntercept::fDistIn, genie::geometry::RayIntercept::fDistOut, genie::geometry::RayIntercept::fIsHit, genie::geometry::RayIntercept::fSurfIn, genie::geometry::RayIntercept::fSurfOut, InterceptUncapped(), 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 dir, fCylAxis, fCylBase, fCylRadius, genie::geometry::RayIntercept::fDistIn, genie::geometry::RayIntercept::fDistOut, genie::geometry::RayIntercept::fIsHit, genie::geometry::RayIntercept::fSurfIn, and genie::geometry::RayIntercept::fSurfOut.
Referenced by Intercept().
|
virtual |
Implements genie::geometry::FidShape.
Definition at line 203 of file FidShape.cxx.
References fCylAxis, fCylBase, fCylCap1, fCylCap2, and fCylRadius.
|
protected |
base point on cylinder axis
Definition at line 130 of file FidShape.h.
Referenced by ConvertMaster2Top(), FidCylinder(), InterceptUncapped(), and Print().
|
protected |
Definition at line 129 of file FidShape.h.
Referenced by ConvertMaster2Top(), FidCylinder(), InterceptUncapped(), and Print().
|
protected |
radius of cylinder
Definition at line 132 of file FidShape.h.
Referenced by ConvertMaster2Top(), FidCylinder(), Intercept(), and Print().
|
protected |
define a plane for 1st cylinder cap
Definition at line 133 of file FidShape.h.
Referenced by ConvertMaster2Top(), FidCylinder(), Intercept(), and Print().
|
protected |
direction cosines of cylinder axis
Definition at line 131 of file FidShape.h.
Referenced by FidCylinder(), InterceptUncapped(), and Print().