ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TrigGlobEffCorr::Efficiencies Class Reference

#include <Efficiencies.h>

Collaboration diagram for TrigGlobEffCorr::Efficiencies:

Public Member Functions

 Efficiencies ()=default
 
 Efficiencies (double e)
 
 Efficiencies (const Efficiencies &)=default
 
 Efficiencies (Efficiencies &&)=default
 
Efficienciesoperator= (const Efficiencies &)=default
 
Efficienciesoperator= (Efficiencies &&)=default
 
 ~Efficiencies ()=default
 
double & data ()
 
double & mc ()
 
double data () const
 
double mc () const
 
Efficiencies operator~ () const
 
Efficiencies operator+ (const Efficiencies &rhs) const
 
Efficiencies operator- (const Efficiencies &rhs) const
 
Efficiencies operator* (const Efficiencies &rhs) const
 
Efficienciesoperator+= (const Efficiencies &rhs)
 
Efficienciesoperator*= (const Efficiencies &rhs)
 

Protected Member Functions

 Efficiencies (double vd, double vm)
 

Protected Attributes

std::pair< double, double > m_effs
 

Detailed Description

Definition at line 15 of file Efficiencies.h.

Constructor & Destructor Documentation

◆ Efficiencies() [1/5]

TrigGlobEffCorr::Efficiencies::Efficiencies ( )
default

◆ Efficiencies() [2/5]

TrigGlobEffCorr::Efficiencies::Efficiencies ( double  e)
inline

Definition at line 19 of file Efficiencies.h.

19 : m_effs(e,e) {}

◆ Efficiencies() [3/5]

TrigGlobEffCorr::Efficiencies::Efficiencies ( const Efficiencies )
default

◆ Efficiencies() [4/5]

TrigGlobEffCorr::Efficiencies::Efficiencies ( Efficiencies &&  )
default

◆ ~Efficiencies()

TrigGlobEffCorr::Efficiencies::~Efficiencies ( )
default

◆ Efficiencies() [5/5]

TrigGlobEffCorr::Efficiencies::Efficiencies ( double  vd,
double  vm 
)
inlineprotected

Definition at line 36 of file Efficiencies.h.

36 : m_effs(vd,vm) {}

Member Function Documentation

◆ data() [1/2]

double& TrigGlobEffCorr::Efficiencies::data ( )
inline

Definition at line 25 of file Efficiencies.h.

25 { return m_effs.first; }

◆ data() [2/2]

double TrigGlobEffCorr::Efficiencies::data ( ) const
inline

Definition at line 27 of file Efficiencies.h.

27 { return m_effs.first; }

◆ mc() [1/2]

double& TrigGlobEffCorr::Efficiencies::mc ( )
inline

Definition at line 26 of file Efficiencies.h.

26 { return m_effs.second; }

◆ mc() [2/2]

double TrigGlobEffCorr::Efficiencies::mc ( ) const
inline

Definition at line 28 of file Efficiencies.h.

28 { return m_effs.second; }

◆ operator*()

Efficiencies TrigGlobEffCorr::Efficiencies::operator* ( const Efficiencies rhs) const
inline

Definition at line 32 of file Efficiencies.h.

32 { return Efficiencies(m_effs.first*rhs.m_effs.first, m_effs.second*rhs.m_effs.second); }

◆ operator*=()

Efficiencies& TrigGlobEffCorr::Efficiencies::operator*= ( const Efficiencies rhs)
inline

Definition at line 34 of file Efficiencies.h.

34 { m_effs.first*=rhs.m_effs.first; m_effs.second*=rhs.m_effs.second; return *this; }

◆ operator+()

Efficiencies TrigGlobEffCorr::Efficiencies::operator+ ( const Efficiencies rhs) const
inline

Definition at line 30 of file Efficiencies.h.

30 { return Efficiencies(m_effs.first+rhs.m_effs.first, m_effs.second+rhs.m_effs.second); }

◆ operator+=()

Efficiencies& TrigGlobEffCorr::Efficiencies::operator+= ( const Efficiencies rhs)
inline

Definition at line 33 of file Efficiencies.h.

33 { m_effs.first+=rhs.m_effs.first; m_effs.second+=rhs.m_effs.second; return *this; }

◆ operator-()

Efficiencies TrigGlobEffCorr::Efficiencies::operator- ( const Efficiencies rhs) const
inline

Definition at line 31 of file Efficiencies.h.

31 { return Efficiencies(m_effs.first-rhs.m_effs.first, m_effs.second-rhs.m_effs.second); }

◆ operator=() [1/2]

Efficiencies& TrigGlobEffCorr::Efficiencies::operator= ( const Efficiencies )
default

◆ operator=() [2/2]

Efficiencies& TrigGlobEffCorr::Efficiencies::operator= ( Efficiencies &&  )
default

◆ operator~()

Efficiencies TrigGlobEffCorr::Efficiencies::operator~ ( ) const
inline

Definition at line 29 of file Efficiencies.h.

29 { return Efficiencies(1. - m_effs.first, 1. - m_effs.second); }

Member Data Documentation

◆ m_effs

std::pair<double,double> TrigGlobEffCorr::Efficiencies::m_effs
protected

Definition at line 37 of file Efficiencies.h.


The documentation for this class was generated from the following file:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
TrigGlobEffCorr::Efficiencies::Efficiencies
Efficiencies()=default
TrigGlobEffCorr::Efficiencies::m_effs
std::pair< double, double > m_effs
Definition: Efficiencies.h:37