58 double theEta,
double weight)
63 if ( theEta <= 1.5 ) theReg =
Central ;
65 if ( theEta <3.2 ) theReg =
EndCap ;
67 if ( fabs(theEta) > 4.5 )
72 m_exReg[theReg] -= weight * theEx;
73 m_eyReg[theReg] -= weight * theEy;
74 m_etReg[theReg] += weight * theEt ;
98 if ( theReg <
Size )
m_exReg[(size_t)theReg] = theEx;
104 if ( theReg <
Size )
m_eyReg[(size_t)theReg] = theEy;
110 if ( theReg <
Size )
m_etReg[(size_t)theReg] = theEtSum;
116 assert (exVec.size() ==
Size);
123 assert (eyVec.size() ==
Size);
130 assert (etSumVec.size() ==
Size);
131 m_etReg = std::move (etSumVec);
153const std::vector<double>&
160const std::vector<double>&
167const std::vector<double>&
void setEyReg(RegionIndex aRegion, double theEy)
double exReg(RegionIndex aRegion) const
const std::vector< double > & etSumRegVec() const
std::vector< double > m_eyReg
const std::vector< double > & exRegVec() const
void setExReg(RegionIndex aRegion, double theEx)
void setExRegVec(std::vector< double > &&exVec)
void setEtSumRegVec(std::vector< double > &&etSumVec)
virtual ~MissingEtRegions()
void setEyRegVec(std::vector< double > &&eyVec)
void setEtSumReg(RegionIndex aRegion, double theEtSum)
std::vector< double > m_exReg
virtual RegionIndex getRegions()
std::vector< double > m_etReg
double eyReg(RegionIndex aRegion) const
const std::vector< double > & eyRegVec() const
double etSumReg(RegionIndex aRegion) const
virtual void addReg(double theEx, double theEy, double theEt, double theEta, double weight)