|
| CDCCalibrationCollectorModule () |
| Constructor.
|
|
virtual | ~CDCCalibrationCollectorModule () |
| Destructor.
|
|
void | prepare () override |
| Initializes the Module.
|
|
void | collect () override |
| Event action, collect information for calibration.
|
|
void | finish () override |
| Termination action.
|
|
void | initialize () final |
| Set up a default RunRange object in datastore and call prepare()
|
|
void | event () final |
| Check current experiment and run and update if needed, fill into RunRange and collect()
|
|
void | beginRun () final |
| Reset the m_runCollectOnRun flag, if necessary, to begin collection again. More...
|
|
void | endRun () final |
| Write the current collector objects to a file and clear their memory.
|
|
void | terminate () final |
| Write the final objects to the file.
|
|
void | defineHisto () final |
| Runs due to HistoManager, allows us to discover the correct file.
|
|
template<class T > |
void | registerObject (std::string name, T *obj) |
| Register object with a name, takes ownership, do not access the pointer beyond prepare()
|
|
template<class T > |
T * | getObjectPtr (std::string name) |
| Calls the CalibObjManager to get the requested stored collector data.
|
|
virtual std::vector< std::string > | getFileNames (bool outputFiles) |
| Return a list of output filenames for this modules. More...
|
|
const std::string & | getName () const |
| Returns the name of the module. More...
|
|
const std::string & | getType () const |
| Returns the type of the module (i.e. More...
|
|
const std::string & | getPackage () const |
| Returns the package this module is in.
|
|
const std::string & | getDescription () const |
| Returns the description of the module.
|
|
void | setName (const std::string &name) |
| Set the name of the module. More...
|
|
void | setPropertyFlags (unsigned int propertyFlags) |
| Sets the flags for the module properties. More...
|
|
LogConfig & | getLogConfig () |
| Returns the log system configuration.
|
|
void | setLogConfig (const LogConfig &logConfig) |
| Set the log system configuration.
|
|
void | setLogLevel (int logLevel) |
| Configure the log level.
|
|
void | setDebugLevel (int debugLevel) |
| Configure the debug messaging level.
|
|
void | setAbortLevel (int abortLevel) |
| Configure the abort log level.
|
|
void | setLogInfo (int logLevel, unsigned int logInfo) |
| Configure the printed log information for the given level. More...
|
|
void | if_value (const std::string &expression, const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
| Add a condition to the module. More...
|
|
void | if_false (const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
| A simplified version to add a condition to the module. More...
|
|
void | if_true (const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
| A simplified version to set the condition of the module. More...
|
|
bool | hasCondition () const |
| Returns true if at least one condition was set for the module.
|
|
const ModuleCondition * | getCondition () const |
| Return a pointer to the first condition (or nullptr, if none was set)
|
|
const std::vector< ModuleCondition > & | getAllConditions () const |
| Return all set conditions for this module.
|
|
bool | evalCondition () const |
| If at least one condition was set, it is evaluated and true returned if at least one condition returns true. More...
|
|
std::shared_ptr< Path > | getConditionPath () const |
| Returns the path of the last true condition (if there is at least one, else reaturn a null pointer). More...
|
|
Module::EAfterConditionPath | getAfterConditionPath () const |
| What to do after the conditional path is finished. More...
|
|
std::vector< std::shared_ptr< Path > > | getAllConditionPaths () const |
| Return all condition paths currently set (no matter if the condition is true or not).
|
|
bool | hasProperties (unsigned int propertyFlags) const |
| Returns true if all specified property flags are available in this module. More...
|
|
bool | hasUnsetForcedParams () const |
| Returns true and prints error message if the module has unset parameters which the user has to set in the steering file.
|
|
const ModuleParamList & | getParamList () const |
| Return module param list.
|
|
template<typename T > |
ModuleParam< T > & | getParam (const std::string &name) const |
| Returns a reference to a parameter. More...
|
|
bool | hasReturnValue () const |
| Return true if this module has a valid return value set.
|
|
int | getReturnValue () const |
| Return the return value set by this module. More...
|
|
std::shared_ptr< PathElement > | clone () const override |
| Create an independent copy of this module. More...
|
|
std::shared_ptr< boost::python::list > | getParamInfoListPython () const |
| Returns a python list of all parameters. More...
|
|
|
virtual void | startRun () |
| Replacement for beginRun(). Do anything you would normally do in beginRun here.
|
|
virtual void | closeRun () |
| Replacement for endRun(). Do anything you would normally do in endRun here.
|
|
virtual void | inDefineHisto () |
| Replacement for defineHisto(). Do anything you would normally do in defineHisto here.
|
|
virtual void | def_initialize () |
| Wrappers to make the methods without "def_" prefix callable from Python. More...
|
|
virtual void | def_beginRun () |
| Wrapper method for the virtual function beginRun() that has the implementation to be used in a call from Python.
|
|
virtual void | def_event () |
| Wrapper method for the virtual function event() that has the implementation to be used in a call from Python.
|
|
virtual void | def_endRun () |
| This method can receive that the current run ends as a call from the Python side. More...
|
|
virtual void | def_terminate () |
| Wrapper method for the virtual function terminate() that has the implementation to be used in a call from Python.
|
|
void | setDescription (const std::string &description) |
| Sets the description of the module. More...
|
|
void | setType (const std::string &type) |
| Set the module type. More...
|
|
template<typename T > |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue) |
| Adds a new parameter to the module. More...
|
|
template<typename T > |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description) |
| Adds a new enforced parameter to the module. More...
|
|
void | setReturnValue (int value) |
| Sets the return value for this module as integer. More...
|
|
void | setReturnValue (bool value) |
| Sets the return value for this module as bool. More...
|
|
void | setParamList (const ModuleParamList ¶ms) |
| Replace existing parameter list.
|
|
|
StoreObjPtr< EventT0 > | m_eventTimeStoreObject |
| Event t0 object.
|
|
StoreArray< Track > | m_Tracks |
| Tracks.
|
|
StoreArray< RecoTrack > | m_RecoTracks |
| Tracks.
|
|
StoreArray< TrackFitResult > | m_TrackFitResults |
| Track fit results.
|
|
StoreArray< CDCHit > | m_CDCHits |
| CDC hits.
|
|
TrackFindingCDC::StoreWrappedObjPtr< std::vector< TrackFindingCDC::CDCTrack > > | m_CDCTracks |
| CDC tracks.
|
|
std::string | m_trackArrayName |
| Belle2::Track StoreArray name.
|
|
std::string | m_cdcHitArrayName |
| Belle2::CDCHit StoreArray name.
|
|
std::string | m_cdcTrackVectorName = "CDCTrackVector" |
| Belle2::CDCTrack vectorpointer name.
|
|
std::string | m_recoTrackArrayName |
| Belle2::RecoTrack StoreArray nam.e.
|
|
std::string | m_trackFitResultArrayName |
| Belle2::TrackFitResult StoreArray name.
|
|
std::string | m_relRecoTrackTrackName |
| Relation between RecoTrack and Belle2:Track.
|
|
std::string | m_treeName |
| Name of tree for the output file.
|
|
std::string | m_effTreeName |
| Name of efficiency tree for the output file.
|
|
Float_t | weight |
| Weight of hit.
|
|
Float_t | alpha |
| Entrance Azimuthal angle of hit (degree).
|
|
Float_t | theta |
| Entrance Polar angle of hit (degree).
|
|
UShort_t | adc |
| adc value.
|
|
Float_t | t |
| Measurement Drift time.
|
|
Float_t | t_fit |
| Drift time calculated from x_fit.
|
|
Float_t | evtT0 |
| event T0
|
|
Float_t | x_mea |
| measure drift length (signed by left right).
|
|
Float_t | x_u |
| X_fit for unbiased track fit.
|
|
Float_t | x_b |
| X_fit for biased track fit.
|
|
UChar_t | lay |
| Layer ID.
|
|
UShort_t | IWire |
| Wire ID.
|
|
Float_t | Pval |
| P-value of fitted track. More...
|
|
Float_t | ndf |
| degree of freedom.
|
|
Float_t | d0 |
| Track Parameter, d0.
|
|
Float_t | z0 |
| Track Parameter, z0.
|
|
Float_t | phi0 |
| Track Parameter, phi0.
|
|
Float_t | tanL |
| Track Parameter, tanL.
|
|
Float_t | omega |
| Track Parameter, omega.
|
|
double | m_minimumPt = 0 |
| minimum pt required for track
|
|
double | m_minimumNDF = 0 |
| minimum NDF required for track
|
|
bool | m_calExpectedDriftTime = true |
| Calculate expected drift time from x_fit or not.
|
|
bool | m_bField = true |
| fit incase no magnetic Field of not, if false, NDF=4 in cal P-value
|
|
bool | m_storeTrackParams = true |
| Store Track parameter or not.
|
|
bool | m_eventT0Extraction = true |
| use Event T0 extract t0 or not.
|
|
bool | m_isCosmic = false |
| true when we process cosmic events, else false (collision).
|
|
bool | m_effStudy = false |
| When true module collects info only necessary for wire eff study.
|
|
unsigned short | wireID |
| wireID for hit-level wire monitoring
|
|
unsigned short | layerID |
| layerID for hit-level wire monitoring
|
|
float | z |
| z of hit fot hit-level wire monitoring
|
|
bool | isFound |
| flag for a hit that has been found near a track as expected by extrapolation
|
|
std::string | m_granularity |
| Granularity of data collection = run|all(= no granularity, exp,run=-1,-1)
|
|
int | m_maxEventsPerRun |
| Maximum number of events to be collected at the start of each run (-1 = no maximum)
|
|
float | m_preScale |
| Prescale module parameter, this fraction of events will have collect() run on them [0.0 -> 1.0].
|
|
StoreObjPtr< EventMetaData > | m_evtMetaData |
| Required input for EventMetaData.
|
|
bool | m_runCollectOnRun = true |
| Whether or not we will run the collect() at all this run, basically skips the event() function if false.
|
|
std::map< Calibration::ExpRun, int > | m_expRunEvents |
| How many events processed for each ExpRun so far, stops counting up once max is hit Only used/incremented if m_maxEventsPerRun > -1.
|
|
int * | m_eventsCollectedInRun |
| Will point at correct value in m_expRunEvents.
|
|
std::string | m_name |
| The name of the module, saved as a string (user-modifiable)
|
|
std::string | m_type |
| The type of the module, saved as a string.
|
|
std::string | m_package |
| Package this module is found in (may be empty).
|
|
std::string | m_description |
| The description of the module.
|
|
unsigned int | m_propertyFlags |
| The properties of the module as bitwise or (with |) of EModulePropFlags.
|
|
LogConfig | m_logConfig |
| The log system configuration of the module.
|
|
ModuleParamList | m_moduleParamList |
| List storing and managing all parameter of the module.
|
|
bool | m_hasReturnValue |
| True, if the return value is set.
|
|
int | m_returnValue |
| The return value.
|
|
std::vector< ModuleCondition > | m_conditions |
| Module condition, only non-null if set.
|
|
Collect hit information for cdc calibration with CAF.
Definition at line 38 of file CDCCalibrationCollector.h.
virtual std::vector<std::string> getFileNames |
( |
bool |
outputFiles | ) |
|
|
inlinevirtualinherited |
Return a list of output filenames for this modules.
This will be called when basf2 is run with "--dry-run" if the module has set either the c_Input or c_Output properties.
If the parameter outputFiles
is false (for modules with c_Input) the list of input filenames should be returned (if any). If outputFiles
is true (for modules with c_Output) the list of output files should be returned (if any).
If a module has sat both properties this member is called twice, once for each property.
The module should return the actual list of requested input or produced output filenames (including handling of input/output overrides) so that the grid system can handle input/output files correctly.
This function should return the same value when called multiple times. This is especially important when taking the input/output overrides from Environment as they get consumed when obtained so the finalized list of output files should be stored for subsequent calls.
Reimplemented in RootOutputModule, StorageRootOutputModule, and RootInputModule.
Definition at line 134 of file Module.h.