#include <EcalPhiSymRecHit.h>
Public Member Functions | |
void | addHit (const std::vector< float > &etValues, const float laserCorr=0) |
EcalPhiSymRecHit () | |
EcalPhiSymRecHit (uint32_t id, unsigned int nMisCalibV, unsigned int status=0) | |
EcalPhiSymRecHit (uint32_t id, std::vector< float > &etValues, unsigned int status=0) | |
int8_t | eeRing () const |
float | lc2Sum () const |
float | lcSum () const |
uint32_t | nHits () const |
unsigned int | nSumEt () const |
EcalPhiSymRecHit & | operator+= (const EcalPhiSymRecHit &rhs) |
uint32_t | rawId () const |
void | reset () |
void | setEERing (const int8_t &eering) |
unsigned int | statusCode () const |
float | sumEt (int i=0) const |
float | sumEt2 () const |
~EcalPhiSymRecHit ()=default | |
Private Attributes | |
unsigned int | chStatus_ |
int8_t | eeRing_ |
float | et2Sum_ |
std::vector< float > | etSum_ |
uint32_t | id_ |
float | lc2Sum_ |
float | lcSum_ |
uint32_t | nHits_ |
Dataformat dedicated to Phi Symmetry ecal calibration
Note: SumEt array ordering: 0 - central value 1<->N/2 - misCalib<1 N/2+1<->N - misCalib>1
Original Author: Simone Pigazzini (2022)
Definition at line 24 of file EcalPhiSymRecHit.h.
EcalPhiSymRecHit::EcalPhiSymRecHit | ( | ) |
EcalPhiSymRecHit::EcalPhiSymRecHit | ( | uint32_t | id, |
unsigned int | nMisCalibV, | ||
unsigned int | status = 0 |
||
) |
EcalPhiSymRecHit::EcalPhiSymRecHit | ( | uint32_t | id, |
std::vector< float > & | etValues, | ||
unsigned int | status = 0 |
||
) |
Definition at line 10 of file EcalPhiSymRecHit.cc.
|
default |
void EcalPhiSymRecHit::addHit | ( | const std::vector< float > & | etValues, |
const float | laserCorr = 0 |
||
) |
Definition at line 21 of file EcalPhiSymRecHit.cc.
References et2Sum_, etSum_, mps_fire::i, lc2Sum_, lcSum_, SiStripPI::min, and nHits_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
EcalPhiSymRecHit & EcalPhiSymRecHit::operator+= | ( | const EcalPhiSymRecHit & | rhs | ) |
Definition at line 42 of file EcalPhiSymRecHit.cc.
References cms::cuda::assert(), et2Sum_, etSum_, mps_fire::i, id_, lc2Sum(), lc2Sum_, lcSum(), lcSum_, nHits(), nHits_, rawId(), sumEt(), and sumEt2().
|
inline |
void EcalPhiSymRecHit::reset | ( | void | ) |
Definition at line 32 of file EcalPhiSymRecHit.cc.
References et2Sum_, etSum_, lc2Sum_, lcSum_, and nHits_.
Referenced by MatrixReader.MatrixReader::__init__(), data_sources.json_list::__next__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 46 of file EcalPhiSymRecHit.h.
References eeRing_.
Referenced by EcalPhiSymRecHitProducerBase::initializePhiSymCache().
|
inline |
|
inline |
Definition at line 40 of file EcalPhiSymRecHit.h.
References etSum_, and mps_fire::i.
Referenced by operator+=().
|
inline |
|
private |
Definition at line 58 of file EcalPhiSymRecHit.h.
Referenced by statusCode().
|
private |
Definition at line 57 of file EcalPhiSymRecHit.h.
Referenced by eeRing(), and setEERing().
|
private |
Definition at line 61 of file EcalPhiSymRecHit.h.
Referenced by addHit(), operator+=(), reset(), and sumEt2().
|
private |
Definition at line 60 of file EcalPhiSymRecHit.h.
Referenced by addHit(), nSumEt(), operator+=(), reset(), and sumEt().
|
private |
Definition at line 56 of file EcalPhiSymRecHit.h.
Referenced by operator+=(), and rawId().
|
private |
Definition at line 63 of file EcalPhiSymRecHit.h.
Referenced by addHit(), lc2Sum(), operator+=(), and reset().
|
private |
Definition at line 62 of file EcalPhiSymRecHit.h.
Referenced by addHit(), lcSum(), operator+=(), and reset().
|
private |
Definition at line 59 of file EcalPhiSymRecHit.h.
Referenced by addHit(), nHits(), operator+=(), and reset().