#include <L1TBPTX.h>
Public Member Functions | |
void | fill (int ls, bool isAlgo, int bit, double rate) |
double | getLSAlgoRate (int ls, int bit, double rate) |
double | getLSRate (int ls, bool isAlgo, int bit, double rate) |
double | getLSTechRate (int ls, int bit, double rate) |
Private Attributes | |
std::map< std::pair< int, int > , double > | m_lsAlgoRate |
std::map< std::pair< int, int > , double > | m_lsTechRate |
void RateBuffer::fill | ( | int | ls, |
bool | isAlgo, | ||
int | bit, | ||
double | rate | ||
) | [inline] |
Definition at line 45 of file L1TBPTX.h.
References python::rootplot::utilities::ls(), m_lsAlgoRate, and m_lsTechRate.
{ if(isAlgo){m_lsAlgoRate[std::pair<int,int>(ls,bit)]=rate;} else {m_lsTechRate[std::pair<int,int>(ls,bit)]=rate;} }
double RateBuffer::getLSAlgoRate | ( | int | ls, |
int | bit, | ||
double | rate | ||
) | [inline] |
Definition at line 53 of file L1TBPTX.h.
References python::rootplot::utilities::ls(), and m_lsAlgoRate.
{ return m_lsAlgoRate[std::pair<int,int>(ls,bit)]; }
double RateBuffer::getLSRate | ( | int | ls, |
bool | isAlgo, | ||
int | bit, | ||
double | rate | ||
) | [inline] |
Definition at line 49 of file L1TBPTX.h.
References python::rootplot::utilities::ls(), m_lsAlgoRate, and m_lsTechRate.
{ if(isAlgo){return m_lsAlgoRate[std::pair<int,int>(ls,bit)];} else {return m_lsTechRate[std::pair<int,int>(ls,bit)];} }
double RateBuffer::getLSTechRate | ( | int | ls, |
int | bit, | ||
double | rate | ||
) | [inline] |
Definition at line 56 of file L1TBPTX.h.
References python::rootplot::utilities::ls(), and m_lsTechRate.
{ return m_lsTechRate[std::pair<int,int>(ls,bit)]; }
std::map<std::pair<int,int>,double> RateBuffer::m_lsAlgoRate [private] |
Definition at line 62 of file L1TBPTX.h.
Referenced by fill(), getLSAlgoRate(), and getLSRate().
std::map<std::pair<int,int>,double> RateBuffer::m_lsTechRate [private] |
Definition at line 63 of file L1TBPTX.h.
Referenced by fill(), getLSRate(), and getLSTechRate().