|
| 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.
|
| |
|
|
int | m_nRun |
| | The run #.
|
| |
|
int | m_nevent |
| | The # of Events.
|
| |
|
Double_t | m_FWD |
| | FWD problem TC.
|
| |
|
double | m_BAR |
| | Barrel problem TC.
|
| |
|
double | m_BWD |
| | BWD problem TC.
|
| |
|
double | m_ALL |
| | Total proble TC.
|
| |
|
int | TCID [576] |
| | Hit TCID.
|
| |
|
std::string | m_outputfile |
| | Output Root File Name.
|
| |
|
TH1F * | h_etot = new TH1F("h_etot", "Energy Total", 4000, 0, 4000) |
| | Total Energy Histogram.
|
| |
|
int | m_etot |
| | Total Energy.
|
| |
|
double | m_etot_mean |
| | Total Energy mean.
|
| |
|
double | m_etot_error |
| | Total Energy error.
|
| |
|
double | m_etot_sigma |
| | Total Energy sigma.
|
| |
|
std::vector< int > | etot |
| | tcenergy check
|
| |
|
TH1F * | h_caltime = new TH1F("h_caltime", "Caltime", 2000, -1000, 1000) |
| | Caltime Histogram.
|
| |
|
double | m_caltime_mean |
| | Caltime mean.
|
| |
|
double | m_caltime_error |
| | Caltime error.
|
| |
|
double | m_caltime_sigma |
| | Caltime sigma.
|
| |
|
std::vector< int > | caltime |
| | Caltime check.
|
| |
|
TH1F * | h_clusterE = new TH1F("h_clusterE", "ClusterE", 4000, 0, 4000) |
| | Cluster Energy Histogram.
|
| |
|
int | clusterE |
| | Cluster Energy.
|
| |
|
std::vector< int > | cluster |
| | Cluster Energy Vector.
|
| |
|
StoreArray< TRGECLUnpackerStore > | m_TRGECLUnpackerStore |
| | ECL Trigger Unpacker TC output.
|
| |
|
StoreArray< TRGECLUnpackerEvtStore > | m_TRGECLUnpackerEvtStore |
| | ECL Trigger Unpacker Event output.
|
| |
|
StoreObjPtr< TRGSummary > | m_TRGSummary |
| | Trigger Summary.
|
| |
|
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.
|
| |
Definition at line 35 of file TRGECLQAMModule.h.
| bool evalCondition |
( |
| ) |
const |
|
inherited |
If at least one condition was set, it is evaluated and true returned if at least one condition returns true.
If no condition or result value was defined, the method returns false. Otherwise, the condition is evaluated and true returned, if at least one condition returns true. To speed up the evaluation, the condition strings were already parsed in the method if_value().
- Returns
- True if at least one condition and return value exists and at least one condition expression was evaluated to true.
Definition at line 96 of file Module.cc.
| 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.
A simplified version to add a condition to the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
It is equivalent to the if_value() method, using the expression "<1". This method is meant to be used together with the setReturnValue(bool value) method.
- Parameters
-
| path | Shared pointer to the Path which will be executed if the return value is false. |
| afterConditionPath | What to do after executing 'path'. |
Definition at line 85 of file Module.cc.
A simplified version to set the condition of the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
It is equivalent to the if_value() method, using the expression ">=1". This method is meant to be used together with the setReturnValue(bool value) method.
- Parameters
-
| path | Shared pointer to the Path which will be executed if the return value is true. |
| afterConditionPath | What to do after executing 'path'. |
Definition at line 90 of file Module.cc.
Add a condition to the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
See https://confluence.desy.de/display/BI/Software+ModCondTut or ModuleCondition for a description of the syntax.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
- Parameters
-
| expression | The expression of the condition. |
| path | Shared pointer to the Path which will be executed if the condition is evaluated to true. |
| afterConditionPath | What to do after executing 'path'. |
Definition at line 79 of file Module.cc.
| void setParamPython |
( |
const std::string & |
name, |
|
|
const boost::python::object & |
pyObj |
|
) |
| |
|
privateinherited |
Implements a method for setting boost::python objects.
The method supports the following types: list, dict, int, double, string, bool The conversion of the python object to the C++ type and the final storage of the parameter value is done in the ModuleParam class.
- Parameters
-
| name | The unique name of the parameter. |
| pyObj | The object which should be converted and stored as the parameter value. |
Definition at line 234 of file Module.cc.