|
| ECLShowerCorrectorModule () |
| Constructor.
|
|
| ~ECLShowerCorrectorModule () |
| Destructor.
|
|
virtual void | initialize () override |
| Initialize.
|
|
virtual void | beginRun () override |
| Begin run.
|
|
virtual void | event () override |
| Event.
|
|
virtual void | endRun () override |
| End run.
|
|
virtual void | terminate () override |
| Terminate.
|
|
void | prepareLeakageCorrections () |
| Prepare correction.
|
|
double | getLeakageCorrection (const double theta, const double phi, const double energy, const double background) const |
| Get correction for BGx0.
|
|
double | getLeakageCorrectionTemporary (const double theta, const double phi, const double energy, const double background) |
| Get correction for BGx1 (temporary)
|
|
virtual const char * | eclShowerArrayName () const |
| We need names for the data objects to differentiate between PureCsI and default. More...
|
|
virtual const char * | eventLevelClusteringInfoName () const |
| Name to be used for default option: EventLevelClusteringInfo.
|
|
virtual std::vector< std::string > | getFileNames (__attribute__((unused)) 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 | 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.
|
|
|
DBObjPtr< ECLShowerCorrectorLeakageCorrection > | m_leakageCorrectionPtr_bgx0 |
| Leakage corrections from DB for BGx0.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_thetaGeo_phase2bgx1 |
| Leakage corrections from DB for Phase2 BG15x1.0, geometry correction as a function of theta.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_thetaGeo_phase3bgx1 |
| Leakage corrections from DB for Phase3 BG15x1.0, geometry correction as a function of theta.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_phiGeo_phase2bgx1 |
| Leakage corrections from DB for Phase2 BG15x1.0, geometry correction as a function of phi.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_phiGeo_phase3bgx1 |
| Leakage corrections from DB for Phase3 BG15x1.0, geometry correction as a function of phi.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_thetaEn_phase2bgx1 |
| Leakage corrections from DB for Phase2 BG15x1.0, energy correction as a function of theta.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_thetaEn_phase3bgx1 |
| Leakage corrections from DB for Phase3 BG15x1.0, energy correction as a function of theta.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_phiEn_phase2bgx1 |
| Leakage corrections from DB for Phase2 BG15x1.0, energy correction as a function of phi.
|
|
DBObjPtr< ECLShowerEnergyCorrectionTemporary > | m_leakageCorrectionPtr_phiEn_phase3bgx1 |
| Leakage corrections from DB for Phase3 BG15x1.0, energy correction as a function of phi.
|
|
const double | m_fullBkgdCount = 183.0 |
| Nominal Background at BGx1.0 (MC12)
|
|
TGraph2D | m_leakage_bgx1 [8] |
| the leakage in BGx1
|
|
std::vector< double > | m_leakage_bgx1_limits [8] |
| limits for the leakage in BGx1
|
|
int | m_numOfBfBins = 0 |
| number of background fraction bins; currently only two
|
|
int | m_numOfEnergyBins = 0 |
| number of energy bins
|
|
int | m_numOfPhiBins = 0 |
| number of phi bins
|
|
int | m_numOfReg1ThetaBins = 0 |
| number of region 1 theta bins
|
|
int | m_numOfReg2ThetaBins = 0 |
| number of region 2 theta bins
|
|
int | m_numOfReg3ThetaBins = 0 |
| number of region 3 theta bins
|
|
int | m_phiPeriodicity = 0 |
| repeating pattern in phi direction, for barrel it is 72
|
|
float | m_lReg1Theta = 0 |
| lower boundary of the region 1 theta
|
|
float | m_hReg1Theta = 0 |
| upper boundary of the region 1 theta
|
|
float | m_lReg2Theta = 0 |
| lower boundary of the region 2 theta
|
|
float | m_hReg2Theta = 0 |
| upper boundary of the region 2 theta
|
|
float | m_lReg3Theta = 0 |
| lower boundary of the region 3 theta
|
|
float | m_hReg3Theta = 0 |
| upper boundary of the region 3 theta
|
|
std::vector< float > | m_avgRecEn |
| averages of the energy bins
|
|
std::vector< int > | m_bgFractionBinNum |
| BG fraction bin.
|
|
std::vector< int > | m_regNum |
| region bin
|
|
std::vector< int > | m_phiBinNum |
| phi bin
|
|
std::vector< int > | m_thetaBinNum |
| theta bin
|
|
std::vector< int > | m_energyBinNum |
| energu bin
|
|
std::vector< float > | m_correctionFactor |
| correction value
|
|
std::vector< std::vector< std::vector< std::vector< float > > > > | m_reg1CorrFactorArrays |
| region 1 corrections
|
|
std::vector< std::vector< std::vector< std::vector< float > > > > | m_reg2CorrFactorArrays |
| region 2 corrections
|
|
std::vector< std::vector< std::vector< std::vector< float > > > > | m_reg3CorrFactorArrays |
| region 3 corrections
|
|
StoreArray< ECLShower > | m_eclShowers |
| Store array: ECLShower.
|
|
StoreObjPtr< EventLevelClusteringInfo > | m_eventLevelClusteringInfo |
| Store object pointer: EventLevelClusteringInfo.
|
|
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.
|
|
Class to perform the shower correction.
Definition at line 57 of file ECLShowerCorrectorModule.h.
virtual std::vector<std::string> getFileNames |
( |
__attribute__((unused)) 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.
Definition at line 136 of file Module.h.