Belle II Software  release-08-01-10
Advancer Class Reference

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>

Inheritance diagram for Advancer:
Collaboration diagram for Advancer:

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 happend before.
 
bool m_terminated = false
 Flag to keep track whether termination happend before.
 
std::string m_initializedAs
 Name of the type during initialisation.
 

Detailed Description

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

  • the extrapolation failed or
  • the extrapolation was into another direction as the direction parameter. See below.

Definition at line 37 of file Advancer.h.


The documentation for this class was generated from the following files: