#include <ActiveFraction.h>
Definition at line 15 of file ActiveFraction.h.
◆ ActiveFraction()
TRTCond::ActiveFraction::ActiveFraction |
( |
| ) |
|
|
inline |
Definition at line 32 of file ActiveFraction.h.
34 m_etaBins.push_back( std::make_pair(-2.1,-1.75) );
35 m_etaBins.push_back( std::make_pair(-1.75,-1.3) );
36 m_etaBins.push_back( std::make_pair(-1.3,-1.07) );
37 m_etaBins.push_back( std::make_pair(-1.07,-0.65) );
38 m_etaBins.push_back( std::make_pair(-0.65,-0.1) );
39 m_etaBins.push_back( std::make_pair(-0.1,0.) );
40 m_etaBins.push_back( std::make_pair(0.,0.1) );
41 m_etaBins.push_back( std::make_pair(0.1,0.65) );
42 m_etaBins.push_back( std::make_pair(0.65,1.07) );
43 m_etaBins.push_back( std::make_pair(1.07,1.3) );
44 m_etaBins.push_back( std::make_pair(1.3,1.75) );
45 m_etaBins.push_back( std::make_pair(1.75,2.1) );
46 float phiEdgeLow = -1. *
M_PI;
52 std::vector<float> dummyPhiVec(
m_phiBins.size(), 1. );
53 std::vector<std::vector<float> > dummyTable(
m_etaBins.size(), dummyPhiVec );
◆ ~ActiveFraction()
virtual TRTCond::ActiveFraction::~ActiveFraction |
( |
| ) |
|
|
inlinevirtual |
◆ findEtaBin()
int TRTCond::ActiveFraction::findEtaBin |
( |
float |
eta | ) |
const |
|
inline |
Definition at line 57 of file ActiveFraction.h.
61 if ( eta > theBin.first && eta <= theBin.second )
break;
◆ findPhiBin()
int TRTCond::ActiveFraction::findPhiBin |
( |
float |
phi | ) |
const |
|
inline |
Definition at line 68 of file ActiveFraction.h.
72 if ( phi > theBin.first && phi <= theBin.second )
break;
◆ getActiveFraction()
float TRTCond::ActiveFraction::getActiveFraction |
( |
float |
eta, |
|
|
float |
phi |
|
) |
| const |
|
inline |
◆ getEtaBins()
const std::vector< std::pair< float, float > > & TRTCond::ActiveFraction::getEtaBins |
( |
| ) |
const |
|
inline |
◆ getPhiBins()
const std::vector< std::pair< float, float > > & TRTCond::ActiveFraction::getPhiBins |
( |
| ) |
const |
|
inline |
◆ setActiveFraction()
void TRTCond::ActiveFraction::setActiveFraction |
( |
unsigned int |
etaBin, |
|
|
unsigned int |
phiBin, |
|
|
float |
value |
|
) |
| |
|
inline |
◆ m_activeFracTable
std::vector<std::vector<float> > TRTCond::ActiveFraction::m_activeFracTable |
|
private |
◆ m_etaBins
std::vector<std::pair<float,float> > TRTCond::ActiveFraction::m_etaBins |
|
private |
◆ m_nBinsPhi
int TRTCond::ActiveFraction::m_nBinsPhi |
|
private |
◆ m_phiBins
std::vector<std::pair<float,float> > TRTCond::ActiveFraction::m_phiBins |
|
private |
The documentation for this class was generated from the following file: