ATLAS Offline Software
|
Objects that can be recorded/read into/from configuration files. More...
#include <RingerIOVarDepObj.h>
Public Member Functions | |
RingerIOVarDepObj () | |
Typedef to CRTP type: More... | |
std::string | name () const |
Retrieve name for this RingerIOVarDepObj. More... | |
void | write (TDirectory *baseDir, const char *idxStr="") const |
Write Ringer procedure to configuration directory. More... | |
bool | isWithinRange (const DepVarStruct &depVar) const |
Check if depVar is within this procedure range. More... | |
bool | isWithinEtaRange (const float eta) const |
Check if eta is within this procedure range. More... | |
EtaDependency | etaDep () const |
Returns whether it is et dependent. More... | |
float | etaMin () const |
Get eta min. More... | |
float | etaMax () const |
Get eta max. More... | |
float | etMin () const |
Get et min. More... | |
float | etMax () const |
Get et max. More... | |
void | setEtaDep (const float etaMin, const float etaMax) |
Set this procedure to be eta dependent: More... | |
bool | isWithinEtRange (const float et) const |
Check if et is within this procedure et range. More... | |
EtDependency | etDep () const |
Returns whether it is et dependent. More... | |
void | setEtDep (const float etMin, const float etMax) |
Set this procedure to be et dependent. More... | |
void | setEtaEtDep (const float etaMin, const float etaMax, const float etMin, const float etMax) |
Set this procedure to be et dependent. More... | |
std::string | type () const |
Return this variable dependency string. More... | |
void | writeDepInfo (TDirectory *configDir) const |
Write variable dependency to directory. More... | |
Static Public Member Functions | |
static CRTP * | read (TDirectory *configDir) |
Read Ringer procedure from configuration dir. More... | |
static void | read (VariableDependency *varDep, TDirectory *configDir, unsigned writtenVersion) |
Read variable dependency from directory. More... | |
Private Attributes | |
EtaDependency | m_etaDependency {EtaDependency::EtaIndependent} |
Whether there is eta dependency. More... | |
EtDependency | m_etDependency {EtDependency::EtIndependent} |
Whether there is et dependency. More... | |
float | m_etaMin {0} |
Eta bounded region where RingerProcedure may be applied. More... | |
float | m_etaMax {0} |
float | m_etMin {0} |
Et bounded region where RingerProcedure may be applied. More... | |
float | m_etMax {0} |
Objects that can be recorded/read into/from configuration files.
Use CRTP mechanism so that we can force static read method to be implemented.
The CRTP class will automatically inherit from BaseProcedure and VariableDependency, the late using etaDependency and etDependency given values.
It also implements the final version of the IRingerProcedure write pure virtual method, which will call both VariableDependency and the BaseProcedure write methods. It also make sure that the configuration directory written to Root will be named as:
"BaseProcedure::type()[VariableDependency::type()]"
Definition at line 194 of file RingerIOVarDepObj.h.
|
inline |
|
inherited |
Returns whether it is et dependent.
|
inherited |
Get eta max.
|
inherited |
Get eta min.
|
inherited |
Returns whether it is et dependent.
|
inherited |
Get et max.
|
inherited |
Get et min.
|
inherited |
Check if eta is within this procedure range.
|
inherited |
Check if et is within this procedure et range.
|
inherited |
Check if depVar is within this procedure range.
std::string Ringer::RingerIOVarDepObj< CRTP >::name | ( | ) | const |
Retrieve name for this RingerIOVarDepObj.
|
static |
Read Ringer procedure from configuration dir.
|
staticinherited |
Read variable dependency from directory.
Set this procedure to be eta dependent:
|
inherited |
Set this procedure to be et dependent.
Set this procedure to be et dependent.
|
inherited |
Return this variable dependency string.
This is not a virtual method.
void Ringer::RingerIOVarDepObj< CRTP >::write | ( | TDirectory * | baseDir, |
const char * | idxStr = "" |
||
) | const |
Write Ringer procedure to configuration directory.
|
inherited |
Write variable dependency to directory.
This is not a virtual method.
|
privateinherited |
Whether there is eta dependency.
Definition at line 225 of file VariableDependency.h.
|
privateinherited |
Definition at line 230 of file VariableDependency.h.
|
privateinherited |
Eta bounded region where RingerProcedure may be applied.
Definition at line 230 of file VariableDependency.h.
|
privateinherited |
Whether there is et dependency.
Definition at line 227 of file VariableDependency.h.
|
privateinherited |
Definition at line 233 of file VariableDependency.h.
|
privateinherited |
Et bounded region where RingerProcedure may be applied.
Definition at line 233 of file VariableDependency.h.