GENIEGenerator
|
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...
#include <GeomVolSelectorRockBox.h>
Public Member Functions | |
GeomVolSelectorRockBox () | |
virtual | ~GeomVolSelectorRockBox () |
void | TrimSegment (PathSegment &segment) const |
void | BeginPSList (const PathSegmentList *untrimmed) const |
void | EndPSList () const |
void | SetRockBoxMinimal (Double_t *xyzmin, Double_t *xyzmax) |
void | SetRockBoxInclusion (Double_t *xyzmin, Double_t *xyzmax) |
void | SetMinimumWall (Double_t w) |
void | SetDeDx (Double_t dedx) |
void | SetExpandFromInclusion (bool how=false) |
virtual void | ConvertShapeMaster2Top (const ROOTGeomAnalyzer *rgeom) |
Public Member Functions inherited from genie::geometry::GeomVolSelectorFiducial | |
GeomVolSelectorFiducial () | |
virtual | ~GeomVolSelectorFiducial () |
void | SetReverseFiducial (Bool_t reverse=true) |
void | AdoptFidShape (FidShape *shape) |
void | MakeSphere (Double_t x0, Double_t y0, Double_t z0, Double_t radius) |
void | MakeXCylinder (Double_t y0, Double_t z0, Double_t radius, Double_t xmin, Double_t xmax) |
void | MakeYCylinder (Double_t x0, Double_t z0, Double_t radius, Double_t ymin, Double_t ymax) |
void | MakeZCylinder (Double_t x0, Double_t y0, Double_t radius, Double_t zmin, Double_t zmax) |
void | MakeCylinder (Double_t *base, Double_t *axis, Double_t radius, Double_t *cap1, Double_t *cap2) |
void | MakeBox (Double_t *xyzmin, Double_t *xyzmax) |
void | MakeZPolygon (Int_t n, Double_t x0, Double_t y0, Double_t inradius, Double_t phi0deg, Double_t zmin, Double_t zmax) |
Public Member Functions inherited from genie::geometry::GeomVolSelectorBasic | |
GeomVolSelectorBasic () | |
virtual | ~GeomVolSelectorBasic () |
void | SetVolumeSelection (string volstr) |
void | SetMediumSelection (string medstr) |
void | SetMaterialSelection (string matstr) |
void | SetPathSelection (string pathstr) |
Public Member Functions inherited from genie::geometry::GeomVolSelectorI | |
virtual | ~GeomVolSelectorI () |
virtual PathSegmentList * | GenerateTrimmedList (const PathSegmentList *untrimmed) const |
void | SetCurrentRay (const TLorentzVector &x4, const TLorentzVector &p4) |
configure for individual neutrino ray More... | |
void | SetSI2Local (double scale) |
set scale factor for SI to "raydist" units of PathSegmentList More... | |
void | SetRemoveEntries (bool rmset) |
bool | GetRemoveEntries () |
void | SetNeedPath () |
bool | GetNeedPath () const |
allow toggle on only More... | |
std::string | GetName () const |
Protected Member Functions | |
void | MakeRockBox () const |
Protected Member Functions inherited from genie::geometry::GeomVolSelectorBasic | |
void | ParseSelection (const string &str, vector< string > &required, vector< string > &forbidden) |
bool | RejectString (const string &str, const vector< string > &required, const vector< string > &forbidden) const |
Protected Member Functions inherited from genie::geometry::GeomVolSelectorI | |
GeomVolSelectorI () | |
GeomVolSelectorI (std::string name) | |
Protected Attributes | |
Double_t | fMinimalXYZMin [3] |
Double_t | fMinimalXYZMax [3] |
interior box lower corner More... | |
Double_t | fMinimumWall |
interior box upper corner More... | |
Double_t | fInclusionXYZMin [3] |
minimum distance around (XYZmin,XYZmax) More... | |
Double_t | fInclusionXYZMax [3] |
box within which events are always More... | |
Double_t | fDeDx |
accepted More... | |
Bool_t | fExpandInclusion |
how to scale from energy to distance More... | |
FidShape * | fRockBoxShape |
expand from minimal or inclusion box? More... | |
const ROOTGeomAnalyzer * | fROOTGeom |
shape changes for every nu ray More... | |
RayIntercept | fInterceptRock |
Protected Attributes inherited from genie::geometry::GeomVolSelectorFiducial | |
Bool_t | fSelectReverse |
FidShape * | fShape |
select for "outside" fiducial? More... | |
const PathSegmentList * | fCurrPathSegmentList |
shape More... | |
RayIntercept | fIntercept |
Protected Attributes inherited from genie::geometry::GeomVolSelectorBasic | |
vector< string > | fRequiredVol |
vector< string > | fRequiredMed |
vector< string > | fRequiredMat |
vector< string > | fRequiredPath |
vector< string > | fForbiddenVol |
vector< string > | fForbiddenMed |
vector< string > | fForbiddenMat |
vector< string > | fForbiddenPath |
Protected Attributes inherited from genie::geometry::GeomVolSelectorI | |
TLorentzVector | fX4 |
current neutrino ray's start position (global) More... | |
TLorentzVector | fP4 |
current neutrino ray's momentum (global) More... | |
double | fScale |
SI->raydist scale factor. More... | |
bool | fRemoveEntries |
whether selector should remove entries or set hi=lo More... | |
bool | fNeedPath |
selector needs PathSegment "path" string More... | |
std::string | fName |
volume selector name More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from genie::geometry::GeomVolSelectorFiducial | |
static Bool_t | NewStepPairs (Bool_t selectReverse, Double_t raydist, Double_t slo, Double_t shi, const RayIntercept &intercept, Bool_t &split, StepRange &step1, StepRange &step2) |
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.
Definition at line 37 of file GeomVolSelectorRockBox.h.
GeomVolSelectorRockBox::GeomVolSelectorRockBox | ( | ) |
Definition at line 22 of file GeomVolSelectorRockBox.cxx.
References fInclusionXYZMax, fInclusionXYZMin, fMinimalXYZMax, fMinimalXYZMin, genie::geometry::GeomVolSelectorI::fName, and genie::geometry::GeomVolSelectorFiducial::SetReverseFiducial().
|
virtual |
Definition at line 40 of file GeomVolSelectorRockBox.cxx.
References fRockBoxShape, and fROOTGeom.
|
virtual |
Every derived version must also respond to a signal that starts a new path segment list processing and ends it. In general they can simply ignore the signal. If the derived class needs to cache something, make it mutable
Reimplemented from genie::geometry::GeomVolSelectorFiducial.
Definition at line 91 of file GeomVolSelectorRockBox.cxx.
References genie::geometry::GeomVolSelectorFiducial::BeginPSList(), genie::geometry::GeomVolSelectorFiducial::fCurrPathSegmentList, fInterceptRock, fRockBoxShape, genie::geometry::PathSegmentList::GetDirection(), genie::geometry::PathSegmentList::GetStartPos(), genie::geometry::FidShape::Intercept(), LOG, MakeRockBox(), and pFATAL.
|
virtual |
Reimplemented from genie::geometry::GeomVolSelectorFiducial.
Definition at line 123 of file GeomVolSelectorRockBox.cxx.
References genie::geometry::GeomVolSelectorFiducial::ConvertShapeMaster2Top(), and fROOTGeom.
|
virtual |
Reimplemented from genie::geometry::GeomVolSelectorFiducial.
Definition at line 117 of file GeomVolSelectorRockBox.cxx.
|
protected |
Definition at line 162 of file GeomVolSelectorRockBox.cxx.
References genie::geometry::FidShape::ConvertMaster2Top(), genie::geometry::GeomVolSelectorFiducial::fCurrPathSegmentList, fDeDx, fExpandInclusion, fInclusionXYZMax, fInclusionXYZMin, fMinimalXYZMax, fMinimalXYZMin, fMinimumWall, genie::geometry::GeomVolSelectorI::fP4, fRockBoxShape, fROOTGeom, genie::geometry::GeomVolSelectorFiducial::fShape, genie::geometry::PathSegmentList::GetDirection(), and genie::geometry::FidPolyhedron::push_back().
Referenced by BeginPSList().
|
inline |
Definition at line 59 of file GeomVolSelectorRockBox.h.
Referenced by CreateRockBoxSelection().
|
inline |
Definition at line 60 of file GeomVolSelectorRockBox.h.
Referenced by CreateRockBoxSelection().
void GeomVolSelectorRockBox::SetMinimumWall | ( | Double_t | w | ) |
Definition at line 153 of file GeomVolSelectorRockBox.cxx.
References fInclusionXYZMax, fInclusionXYZMin, fMinimalXYZMax, fMinimalXYZMin, and fMinimumWall.
Referenced by CreateRockBoxSelection().
void GeomVolSelectorRockBox::SetRockBoxInclusion | ( | Double_t * | xyzmin, |
Double_t * | xyzmax | ||
) |
Definition at line 142 of file GeomVolSelectorRockBox.cxx.
References fInclusionXYZMax, and fInclusionXYZMin.
void GeomVolSelectorRockBox::SetRockBoxMinimal | ( | Double_t * | xyzmin, |
Double_t * | xyzmax | ||
) |
Definition at line 129 of file GeomVolSelectorRockBox.cxx.
References fMinimalXYZMax, fMinimalXYZMin, and genie::geometry::GeomVolSelectorFiducial::MakeBox().
Referenced by CreateRockBoxSelection().
|
virtual |
This is the method every derived version must implement To reject a segment outright: segment.fStepRangeSet.clear()
so a miss means blindly accept all segments
Reimplemented from genie::geometry::GeomVolSelectorFiducial.
Definition at line 48 of file GeomVolSelectorRockBox.cxx.
References fInterceptRock, genie::geometry::RayIntercept::fIsHit, genie::geometry::PathSegment::fRayDist, genie::geometry::GeomVolSelectorI::fRemoveEntries, genie::geometry::PathSegment::fStepRangeSet, genie::geometry::GeomVolSelectorFiducial::NewStepPairs(), and genie::geometry::GeomVolSelectorFiducial::TrimSegment().
|
protected |
|
protected |
how to scale from energy to distance
Definition at line 78 of file GeomVolSelectorRockBox.h.
Referenced by MakeRockBox().
|
protected |
box within which events are always
Definition at line 76 of file GeomVolSelectorRockBox.h.
Referenced by GeomVolSelectorRockBox(), MakeRockBox(), SetMinimumWall(), and SetRockBoxInclusion().
|
protected |
minimum distance around (XYZmin,XYZmax)
Definition at line 75 of file GeomVolSelectorRockBox.h.
Referenced by GeomVolSelectorRockBox(), MakeRockBox(), SetMinimumWall(), and SetRockBoxInclusion().
|
mutableprotected |
Definition at line 85 of file GeomVolSelectorRockBox.h.
Referenced by BeginPSList(), and TrimSegment().
|
protected |
interior box lower corner
Definition at line 73 of file GeomVolSelectorRockBox.h.
Referenced by GeomVolSelectorRockBox(), MakeRockBox(), SetMinimumWall(), and SetRockBoxMinimal().
|
protected |
Definition at line 72 of file GeomVolSelectorRockBox.h.
Referenced by GeomVolSelectorRockBox(), MakeRockBox(), SetMinimumWall(), and SetRockBoxMinimal().
|
protected |
interior box upper corner
Definition at line 74 of file GeomVolSelectorRockBox.h.
Referenced by MakeRockBox(), and SetMinimumWall().
|
mutableprotected |
expand from minimal or inclusion box?
Definition at line 80 of file GeomVolSelectorRockBox.h.
Referenced by BeginPSList(), MakeRockBox(), and ~GeomVolSelectorRockBox().
|
protected |
shape changes for every nu ray
Definition at line 82 of file GeomVolSelectorRockBox.h.
Referenced by ConvertShapeMaster2Top(), MakeRockBox(), and ~GeomVolSelectorRockBox().