ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Ringer::VariableDependency Class Reference

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].

Collaboration diagram for Ringer::VariableDependency:

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}
 

Detailed Description

Interface for possible Eta and Et variable dependency.

Definition at line 88 of file VariableDependency.h.

Constructor & Destructor Documentation

◆ VariableDependency() [1/4]

Ringer::VariableDependency::VariableDependency ( )
default

Ctor for independent.

◆ VariableDependency() [2/4]

Ringer::VariableDependency::VariableDependency ( const float  etaMin,
const float  etaMax,
EtaDependency  etaDependency 
)
inline

Ctor for eta dependent case.

Definition at line 100 of file VariableDependency.h.

102  : m_etaDependency(etaDependency),
103  m_etaMin(etaMin),
105  {}

◆ VariableDependency() [3/4]

Ringer::VariableDependency::VariableDependency ( const float  etMin,
const float  etMax,
EtDependency  etDependency 
)
inline

Ctor for et dependent case.

Definition at line 110 of file VariableDependency.h.

112  : m_etDependency(etDependency),
113  m_etMin(etMin),
114  m_etMax(etMax)
115  {}

◆ VariableDependency() [4/4]

Ringer::VariableDependency::VariableDependency ( const float  etaMin,
const float  etaMax,
const float  etMin,
const float  etMax 
)
inline

Ctor for et/eta dependent case.

Definition at line 120 of file VariableDependency.h.

122  : m_etaMin(etaMin),
123  m_etaMax(etaMax),
124  m_etMin(etMin),
125  m_etMax(etMax)
126  {}

◆ ~VariableDependency()

virtual Ringer::VariableDependency::~VariableDependency ( )
inlinevirtual

Ensure virtual destruction (needed if creating dictionary from this class)

Definition at line 220 of file VariableDependency.h.

220 {;}

Member Function Documentation

◆ etaDep()

EtaDependency Ringer::VariableDependency::etaDep ( ) const

Returns whether it is et dependent.

◆ etaMax()

float Ringer::VariableDependency::etaMax ( ) const

Get eta max.

◆ etaMin()

float Ringer::VariableDependency::etaMin ( ) const

Get eta min.

◆ etDep()

EtDependency Ringer::VariableDependency::etDep ( ) const

Returns whether it is et dependent.

◆ etMax()

float Ringer::VariableDependency::etMax ( ) const

Get et max.

◆ etMin()

float Ringer::VariableDependency::etMin ( ) const

Get et min.

◆ isWithinEtaRange()

bool Ringer::VariableDependency::isWithinEtaRange ( const float  eta) const

Check if eta is within this procedure range.

◆ isWithinEtRange()

bool Ringer::VariableDependency::isWithinEtRange ( const float  et) const

Check if et is within this procedure et range.

◆ isWithinRange()

bool Ringer::VariableDependency::isWithinRange ( const DepVarStruct depVar) const

Check if depVar is within this procedure range.

◆ read()

static void Ringer::VariableDependency::read ( VariableDependency varDep,
TDirectory *  configDir,
unsigned  writtenVersion 
)
static

Read variable dependency from directory.

◆ setEtaDep()

void Ringer::VariableDependency::setEtaDep ( const float  etaMin,
const float  etaMax 
)

Set this procedure to be eta dependent:

◆ setEtaEtDep()

void Ringer::VariableDependency::setEtaEtDep ( const float  etaMin,
const float  etaMax,
const float  etMin,
const float  etMax 
)

Set this procedure to be et dependent.

◆ setEtDep()

void Ringer::VariableDependency::setEtDep ( const float  etMin,
const float  etMax 
)

Set this procedure to be et dependent.

◆ type()

std::string Ringer::VariableDependency::type ( ) const

Return this variable dependency string.

This is not a virtual method.

◆ writeDepInfo()

void Ringer::VariableDependency::writeDepInfo ( TDirectory *  configDir) const

Write variable dependency to directory.

This is not a virtual method.

Member Data Documentation

◆ m_etaDependency

EtaDependency Ringer::VariableDependency::m_etaDependency {EtaDependency::EtaIndependent}
private

Whether there is eta dependency.

Definition at line 225 of file VariableDependency.h.

◆ m_etaMax

float Ringer::VariableDependency::m_etaMax {0}
private

Definition at line 230 of file VariableDependency.h.

◆ m_etaMin

float Ringer::VariableDependency::m_etaMin {0}
private

Eta bounded region where RingerProcedure may be applied.

Definition at line 230 of file VariableDependency.h.

◆ m_etDependency

EtDependency Ringer::VariableDependency::m_etDependency {EtDependency::EtIndependent}
private

Whether there is et dependency.

Definition at line 227 of file VariableDependency.h.

◆ m_etMax

float Ringer::VariableDependency::m_etMax {0}
private

Definition at line 233 of file VariableDependency.h.

◆ m_etMin

float Ringer::VariableDependency::m_etMin {0}
private

Et bounded region where RingerProcedure may be applied.

Definition at line 233 of file VariableDependency.h.


The documentation for this class was generated from the following file:
Ringer::VariableDependency::m_etMax
float m_etMax
Definition: VariableDependency.h:233
Ringer::VariableDependency::m_etaDependency
EtaDependency m_etaDependency
Whether there is eta dependency.
Definition: VariableDependency.h:225
Ringer::VariableDependency::etMin
float etMin() const
Get et min.
Ringer::VariableDependency::m_etaMax
float m_etaMax
Definition: VariableDependency.h:230
Ringer::VariableDependency::m_etDependency
EtDependency m_etDependency
Whether there is et dependency.
Definition: VariableDependency.h:227
Ringer::VariableDependency::etMax
float etMax() const
Get et max.
Ringer::VariableDependency::m_etaMin
float m_etaMin
Eta bounded region where RingerProcedure may be applied.
Definition: VariableDependency.h:230
Ringer::VariableDependency::etaMin
float etaMin() const
Get eta min.
Ringer::VariableDependency::etaMax
float etaMax() const
Get eta max.
Ringer::VariableDependency::m_etMin
float m_etMin
Et bounded region where RingerProcedure may be applied.
Definition: VariableDependency.h:233