![]() |
ATLAS Offline Software
|
Interface for possible Eta and Et variable dependency. More...
#include <VariableDependency.h>
Inherited by Ringer::Discrimination::IDiscriminatorVarDep [virtual]
, Ringer::Discrimination::IThresholdVarDep [virtual]
, Ringer::PreProcessing::IPreProcessorVarDep [virtual]
, Ringer::RingerIOVarDepObj< CRTP > [virtual]
, Ringer::RingerIOVarDepObj< ConstantValueVarDep > [virtual]
, Ringer::RingerIOVarDepObj< ExtraPatternsNorm > [virtual]
, Ringer::RingerIOVarDepObj< ExtraPatternsNormVarDep > [virtual]
, Ringer::RingerIOVarDepObj< MevToGevVarDep > [virtual]
, Ringer::RingerIOVarDepObj< MinMaxVarDep > [virtual]
, Ringer::RingerIOVarDepObj< Norm1VarDep > [virtual]
, Ringer::RingerIOVarDepObj< Norm2VarDep > [virtual]
, Ringer::RingerIOVarDepObj< SequentialVarDep > [virtual]
, Ringer::RingerIOVarDepObj< SpherizationVarDep > [virtual]
, and Ringer::RingerIOVarDepObj< SqrtVarDep > [virtual]
.
Public Member Functions | |
VariableDependency ()=default | |
Ctor for independent. More... | |
VariableDependency (const float etaMin, const float etaMax, EtaDependency etaDependency) | |
Ctor for eta dependent case. More... | |
VariableDependency (const float etMin, const float etMax, EtDependency etDependency) | |
Ctor for et dependent case. More... | |
VariableDependency (const float etaMin, const float etaMax, const float etMin, const float etMax) | |
Ctor for et/eta dependent case. 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... | |
virtual | ~VariableDependency () |
Ensure virtual destruction (needed if creating dictionary from this class) More... | |
Static Public Member Functions | |
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} |
Interface for possible Eta and Et variable dependency.
Definition at line 88 of file VariableDependency.h.
|
default |
Ctor for independent.
|
inline |
Ctor for eta dependent case.
Definition at line 100 of file VariableDependency.h.
|
inline |
Ctor for et dependent case.
Definition at line 110 of file VariableDependency.h.
|
inlinevirtual |
Ensure virtual destruction (needed if creating dictionary from this class)
Definition at line 220 of file VariableDependency.h.
EtaDependency Ringer::VariableDependency::etaDep | ( | ) | const |
Returns whether it is et dependent.
float Ringer::VariableDependency::etaMax | ( | ) | const |
Get eta max.
float Ringer::VariableDependency::etaMin | ( | ) | const |
Get eta min.
EtDependency Ringer::VariableDependency::etDep | ( | ) | const |
Returns whether it is et dependent.
float Ringer::VariableDependency::etMax | ( | ) | const |
Get et max.
float Ringer::VariableDependency::etMin | ( | ) | const |
Get et min.
bool Ringer::VariableDependency::isWithinEtaRange | ( | const float | eta | ) | const |
Check if eta is within this procedure range.
bool Ringer::VariableDependency::isWithinEtRange | ( | const float | et | ) | const |
Check if et is within this procedure et range.
bool Ringer::VariableDependency::isWithinRange | ( | const DepVarStruct & | depVar | ) | const |
Check if depVar is within this procedure range.
|
static |
Read variable dependency from directory.
Set this procedure to be eta dependent:
void Ringer::VariableDependency::setEtaEtDep | ( | const float | etaMin, |
const float | etaMax, | ||
const float | etMin, | ||
const float | etMax | ||
) |
Set this procedure to be et dependent.
Set this procedure to be et dependent.
std::string Ringer::VariableDependency::type | ( | ) | const |
Return this variable dependency string.
This is not a virtual method.
void Ringer::VariableDependency::writeDepInfo | ( | TDirectory * | configDir | ) | const |
Write variable dependency to directory.
This is not a virtual method.
|
private |
Whether there is eta dependency.
Definition at line 225 of file VariableDependency.h.
|
private |
Definition at line 230 of file VariableDependency.h.
|
private |
Eta bounded region where RingerProcedure may be applied.
Definition at line 230 of file VariableDependency.h.
|
private |
Whether there is et dependency.
Definition at line 227 of file VariableDependency.h.
|
private |
Definition at line 233 of file VariableDependency.h.
|
private |
Et bounded region where RingerProcedure may be applied.
Definition at line 233 of file VariableDependency.h.