Belle II Software development
|
Helper findlet for performing an extrapolation of a mSoP of one plane to another plane using the representation stored in the mSoP. More...
#include <Advancer.h>
Public Member Functions | |
double | extrapolateToPlane (genfit::MeasuredStateOnPlane &measuredStateOnPlane, const genfit::SharedPlanePtr &plane) const |
Extrapolate the mSoP of one plane to another plane and return the traveled distance or NAN, if travelling into the wrong direction. | |
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) |
Expose the parameters. | |
void | setMaterialEffectsToParameterValue () const |
Call this to set the material effects handling accorinf to the given parameters. | |
void | resetMaterialEffects () const |
Call this to reset the material effects back to their default value (turned on). | |
void | initialize () final |
Convert the string parameter to a valid forward backward information. | |
virtual void | beginRun () |
Receive signal for the beginning of a new run. | |
virtual void | beginEvent () |
Receive signal for the start of a new event. | |
virtual void | endRun () |
Receive signal for the end of the run. | |
virtual void | terminate () |
Receive Signal for termination of the event processing. | |
Private Attributes | |
bool | m_param_useMaterialEffects = false |
Use material effects during extrapolation or not. | |
std::string | m_param_directionAsString = "both" |
Parameter for the distance given to the framework (can not handle EForwardBackward directly) | |
TrackFindingCDC::EForwardBackward | m_param_direction = TrackFindingCDC::EForwardBackward::c_Unknown |
Direction parameter converted from the string parameters. | |
bool | m_initialized = false |
Flag to keep track whether initialization happened before. | |
bool | m_terminated = false |
Flag to keep track whether termination happened before. | |
std::string | m_initializedAs |
Name of the type during initialisation. | |
Helper findlet for performing an extrapolation of a mSoP of one plane to another plane using the representation stored in the mSoP.
Will return the travelled distance or NAN, if
Definition at line 37 of file Advancer.h.
|
virtualinherited |
Receive signal for the start of a new event.
Reimplemented in TruthAxialSegmentPairVarSet, TruthSegmentVarSet, BestMatchedTruthVarSet, TruthTrackVarSet, MonopoleStereoHitFinder, MonopoleStereoHitFinderQuadratic, SegmentFinderFacetAutomaton, SegmentTrackCombiner, StereoHitFinder, TrackFinderSegmentPairAutomaton, TrackFinderSegmentTripleAutomaton, TrackFinderAutomaton, AxialTrackCreatorMCTruth, CDCMCCloneLookUpFiller, SegmentCreatorMCTruth, WireHitMCMultiLoopBlocker, CDCCKFStateCreator, CKFToCDCFindlet, CKFToCDCFromEclFindlet, SpacePointTagger< AResult, ACluster >, SpacePointTagger< Belle2::CKFToPXDResult, Belle2::PXDCluster >, SpacePointTagger< Belle2::CKFToSVDResult, Belle2::SVDCluster >, CKFToPXDFindlet, CKFToSVDFindlet, CKFToSVDSeedFindlet, DATCONFPGAFindlet, BaseEventTimeExtractor< AIOTypes >, BaseEventTimeExtractor< RecoTrack * >, BaseEventTimeExtractor< TrackFindingCDC::CDCWireHit & >, SharingHitsMatcher< ACollectorItem, ACollectionItem >, SharingHitsMatcher< Belle2::TrackFindingCDC::CDCTrack, Belle2::TrackFindingCDC::CDCSegment2D >, MCSymmetric< BaseAxialSegmentPairFilter >, MCSymmetric< BaseFacetFilter >, MCSymmetric< BaseFacetRelationFilter >, MCSymmetric< BaseSegmentPairFilter >, MCSymmetric< BaseSegmentPairRelationFilter >, MCSymmetric< BaseSegmentRelationFilter >, MCSymmetric< BaseSegmentTripleFilter >, MCSymmetric< BaseSegmentTripleRelationFilter >, MCSymmetric< BaseTrackRelationFilter >, BkgTruthClusterVarSet, SegmentTrackTruthVarSet, StereoHitTruthVarSet, StoreVectorSwapper< IOType, a_alwaysWrite >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCFacet >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCWireHit, true >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegment2D >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCTrack >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentPair >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentTriple >, CompositeProcessingSignalListener, RecoTrackStorer, ROIFinder, SVDHoughTracking, and FindletStoreArrayInput< TWrappedFindlet >.
Definition at line 45 of file ProcessingSignalListener.cc.
|
virtualinherited |
Receive signal for the beginning of a new run.
Reimplemented in SimplePXDStateFilter, LayerSVDRelationFilter< AFilter, APrefilter >, SectorMapBasedSVDPairFilter, SimpleSVDStateFilter, CutsFromDBWireHitFilter, AsicBackgroundLibraryCreator, AsicBackgroundDetector, WireHitCreator, LayerRelationFilter< AFilter >, LayerPXDRelationFilter< AFilter, APrefilter >, DATCONSVDClusterizer, CompositeProcessingSignalListener, FourHitFilter, QualityIndicatorFilter, ThreeHitFilter, TwoHitVirtualIPFilter, TwoHitVirtualIPQIFilter, RecoTrackStorer, ROIFinder, SpacePointLoaderAndPreparer, and TrackCandidateResultRefiner.
Definition at line 38 of file ProcessingSignalListener.cc.
|
virtualinherited |
Receive signal for the end of the run.
Reimplemented in CompositeProcessingSignalListener.
Definition at line 52 of file ProcessingSignalListener.cc.
void exposeParameters | ( | ModuleParamList * | moduleParamList, |
const std::string & | prefix | ||
) |
Expose the parameters.
Definition at line 52 of file Advancer.cc.
double extrapolateToPlane | ( | genfit::MeasuredStateOnPlane & | measuredStateOnPlane, |
const genfit::SharedPlanePtr & | plane | ||
) | const |
Extrapolate the mSoP of one plane to another plane and return the traveled distance or NAN, if travelling into the wrong direction.
Definition at line 22 of file Advancer.cc.
|
finalvirtual |
Convert the string parameter to a valid forward backward information.
Reimplemented from ProcessingSignalListener.
Definition at line 63 of file Advancer.cc.
void resetMaterialEffects | ( | ) | const |
Call this to reset the material effects back to their default value (turned on).
Definition at line 47 of file Advancer.cc.
void setMaterialEffectsToParameterValue | ( | ) | const |
Call this to set the material effects handling accorinf to the given parameters.
Definition at line 42 of file Advancer.cc.
|
virtualinherited |
Receive Signal for termination of the event processing.
Reimplemented in AsicBackgroundLibraryCreator, AxialTrackCreatorHitHough, AxialTrackCreatorSegmentHough, StereoHitTrackQuadTreeMatcher< AQuadTree >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::HyperHough >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::QuadraticLegendre >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::Z0TanLambdaLegendre >, and CompositeProcessingSignalListener.
Definition at line 59 of file ProcessingSignalListener.cc.
|
privateinherited |
Flag to keep track whether initialization happened before.
Definition at line 52 of file ProcessingSignalListener.h.
|
privateinherited |
Name of the type during initialisation.
Definition at line 58 of file ProcessingSignalListener.h.
|
private |
Direction parameter converted from the string parameters.
Definition at line 62 of file Advancer.h.
|
private |
Parameter for the distance given to the framework (can not handle EForwardBackward directly)
Definition at line 60 of file Advancer.h.
|
private |
Use material effects during extrapolation or not.
Definition at line 57 of file Advancer.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.