GENIEGenerator
|
GENIE Interface for user-defined volume selector functors. More...
#include <GeomVolSelectorI.h>
Public Member Functions | |
virtual | ~GeomVolSelectorI () |
virtual PathSegmentList * | GenerateTrimmedList (const PathSegmentList *untrimmed) const |
virtual void | TrimSegment (PathSegment &segment) const =0 |
virtual void | BeginPSList (const PathSegmentList *untrimmed) const =0 |
virtual void | EndPSList () const =0 |
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 | |
GeomVolSelectorI () | |
GeomVolSelectorI (std::string name) | |
Protected Attributes | |
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... | |
GENIE Interface for user-defined volume selector functors.
Definition at line 30 of file GeomVolSelectorI.h.
|
virtual |
Definition at line 30 of file GeomVolSelectorI.cxx.
|
protected |
Definition at line 18 of file GeomVolSelectorI.cxx.
|
protected |
Definition at line 24 of file GeomVolSelectorI.cxx.
|
pure 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
Implemented in genie::geometry::GeomVolSelectorBasic, genie::geometry::GeomVolSelectorFiducial, and genie::geometry::GeomVolSelectorRockBox.
Referenced by GenerateTrimmedList().
|
pure virtual |
Implemented in genie::geometry::GeomVolSelectorBasic, genie::geometry::GeomVolSelectorFiducial, and genie::geometry::GeomVolSelectorRockBox.
Referenced by GenerateTrimmedList().
|
virtual |
create and return a new PathSegmentList from the old list relinquishes ownership of returned object
Definition at line 37 of file GeomVolSelectorI.cxx.
References genie::geometry::PathSegmentList::AddSegment(), BeginPSList(), EndPSList(), fRemoveEntries, genie::geometry::PathSegmentList::GetDirection(), genie::geometry::PathSegmentList::GetPathSegmentV(), genie::geometry::PathSegmentList::GetStartPos(), genie::geometry::PathSegment::GetSummedStepRange(), genie::units::ps, genie::geometry::PathSegmentList::SetStartInfo(), and TrimSegment().
Referenced by genie::geometry::ROOTGeomAnalyzer::SwimOnce().
|
inline |
Definition at line 66 of file GeomVolSelectorI.h.
References fName.
|
inline |
allow toggle on only
Definition at line 64 of file GeomVolSelectorI.h.
References fNeedPath.
Referenced by genie::geometry::ROOTGeomAnalyzer::SwimOnce().
|
inline |
Definition at line 61 of file GeomVolSelectorI.h.
References fRemoveEntries.
|
inline |
configure for individual neutrino ray
Definition at line 54 of file GeomVolSelectorI.h.
Referenced by genie::geometry::ROOTGeomAnalyzer::ComputeMatLengths(), and genie::geometry::ROOTGeomAnalyzer::ComputePathLengths().
|
inline |
Definition at line 63 of file GeomVolSelectorI.h.
References fNeedPath.
Referenced by genie::geometry::GeomVolSelectorBasic::SetPathSelection().
|
inline |
Definition at line 60 of file GeomVolSelectorI.h.
References fRemoveEntries.
Referenced by CreateFidSelection(), and CreateRockBoxSelection().
|
inline |
set scale factor for SI to "raydist" units of PathSegmentList
Definition at line 58 of file GeomVolSelectorI.h.
References fScale.
Referenced by genie::geometry::ROOTGeomAnalyzer::ComputeMatLengths(), and genie::geometry::ROOTGeomAnalyzer::ComputePathLengths().
|
pure virtual |
This is the method every derived version must implement To reject a segment outright: segment.fStepRangeSet.clear()
Implemented in genie::geometry::GeomVolSelectorBasic, genie::geometry::GeomVolSelectorFiducial, and genie::geometry::GeomVolSelectorRockBox.
Referenced by GenerateTrimmedList().
|
protected |
volume selector name
Definition at line 78 of file GeomVolSelectorI.h.
Referenced by genie::geometry::GeomVolSelectorFiducial::GeomVolSelectorFiducial(), genie::geometry::GeomVolSelectorRockBox::GeomVolSelectorRockBox(), and GetName().
|
protected |
selector needs PathSegment "path" string
Definition at line 77 of file GeomVolSelectorI.h.
Referenced by GetNeedPath(), and SetNeedPath().
|
protected |
current neutrino ray's momentum (global)
Definition at line 74 of file GeomVolSelectorI.h.
Referenced by genie::geometry::GeomVolSelectorRockBox::MakeRockBox(), and SetCurrentRay().
|
protected |
whether selector should remove entries or set hi=lo
Definition at line 76 of file GeomVolSelectorI.h.
Referenced by GenerateTrimmedList(), GetRemoveEntries(), SetRemoveEntries(), genie::geometry::GeomVolSelectorRockBox::TrimSegment(), and genie::geometry::GeomVolSelectorFiducial::TrimSegment().
|
protected |
SI->raydist scale factor.
Definition at line 75 of file GeomVolSelectorI.h.
Referenced by SetSI2Local().
|
protected |
current neutrino ray's start position (global)
Definition at line 73 of file GeomVolSelectorI.h.
Referenced by SetCurrentRay().