#include <MuonAcceptor.h>
Public Member Functions | |
muEffdata () | |
virtual | ~muEffdata () |
muEffdata (double &pt, double &etamin, double &etamax, vector< pair< int, int > > &VecPaire) | |
void | Print (std::ostream *out) |
void | SetPt (double pt) |
void | SetEtaMin (double etamin) |
void | SetEtaMax (double etamax) |
void | SetPtEtaNum (vector< int > ptEtaNum) |
void | SetPtEtaNumeDeno (vector< pair< int, int > > VecPaire) |
double | GetPt () |
double | GetEtaMin () |
double | GetEtaMax () |
int | GetPtEtaNum (vector< int > &ptEtaNum) |
void | GetPtEtaNumeDeno (double &pt, double &etamin, double &etamax, vector< pair< int, int > > &VecPaire) |
Private Attributes | |
double | m_pt |
double | m_etamin |
double | m_etamax |
vector< int > | m_ptEtaNum |
vector< pair< int, int > > | m_VecPaire |
The muEffdata class is filled with muon efficiency data from an input file and interrogated by MuonAcceptor
Definition at line 47 of file MuonAcceptor.h.
Atlfast::muEffdata::muEffdata | ( | ) |
Atlfast::muEffdata::~muEffdata | ( | ) | [virtual] |
Atlfast::muEffdata::muEffdata | ( | double & | pt, | |
double & | etamin, | |||
double & | etamax, | |||
vector< pair< int, int > > & | VecPaire | |||
) |
Constructor to initialise all contained quantities
void Atlfast::muEffdata::Print | ( | std::ostream * | out | ) |
Print out muon efficiency data
Definition at line 42 of file MuonAcceptor.cxx.
00042 { 00043 *out <<std::setw(12)<<std::setprecision(3)<<GetPt() 00044 <<std::setw(12)<<std::setprecision(3)<<GetEtaMin() 00045 <<std::setw(12)<<std::setprecision(3)<<GetEtaMax() 00046 << std::endl; 00047 }
void Atlfast::muEffdata::SetPt | ( | double | pt | ) |
void Atlfast::muEffdata::SetEtaMin | ( | double | etamin | ) |
void Atlfast::muEffdata::SetEtaMax | ( | double | etamax | ) |
void Atlfast::muEffdata::SetPtEtaNum | ( | vector< int > | ptEtaNum | ) |
Set vector of pt and eta values
void Atlfast::muEffdata::SetPtEtaNumeDeno | ( | vector< pair< int, int > > | VecPaire | ) |
Set vector of efficiency/error pairs
double Atlfast::muEffdata::GetPt | ( | ) |
double Atlfast::muEffdata::GetEtaMin | ( | ) |
double Atlfast::muEffdata::GetEtaMax | ( | ) |
int Atlfast::muEffdata::GetPtEtaNum | ( | vector< int > & | ptEtaNum | ) |
Get number of efficiency/error pairs
void Atlfast::muEffdata::GetPtEtaNumeDeno | ( | double & | pt, | |
double & | etamin, | |||
double & | etamax, | |||
vector< pair< int, int > > & | VecPaire | |||
) |
Get vector of efficiency/error pairs
double Atlfast::muEffdata::m_pt [private] |
pT value
Definition at line 91 of file MuonAcceptor.h.
double Atlfast::muEffdata::m_etamin [private] |
minimum eta value
Definition at line 93 of file MuonAcceptor.h.
double Atlfast::muEffdata::m_etamax [private] |
maximum eta value
Definition at line 95 of file MuonAcceptor.h.
vector<int> Atlfast::muEffdata::m_ptEtaNum [private] |
vector of pt and eta values
Definition at line 97 of file MuonAcceptor.h.
vector<pair<int,int> > Atlfast::muEffdata::m_VecPaire [private] |
vector of efficiency/error pairs
Definition at line 99 of file MuonAcceptor.h.