#include <HGCUncalibratedRecHit.h>
Public Types | |
enum | Flags { kGood = -1, kPoorReco, kSaturated, kOutOfTime } |
typedef DetId | key_type |
Public Member Functions | |
float | amplitude () const |
bool | checkFlag (Flags flag) const |
float | chi2 () const |
uint32_t | flags () const |
HGCUncalibratedRecHit () | |
HGCUncalibratedRecHit (const DetId &detId, float ampl, float ped, float jit, float chi2, uint32_t flags=0, uint32_t aux=0) | |
DetId | id () const |
bool | isJitterErrorValid () const |
bool | isJitterValid () const |
bool | isSaturated () const |
float | jitter () const |
float | jitterError () const |
uint8_t | jitterErrorBits () const |
float | outOfTimeChi2 () const |
float | outOfTimeEnergy () const |
float | pedestal () const |
void | setAmplitude (float amplitude) |
void | setAux (uint32_t aux) |
void | setChi2 (float chi2) |
void | setFlagBit (Flags flag) |
void | setFlags (uint32_t flags) |
void | setId (DetId id) |
void | setJitter (float jitter) |
void | setJitterError (float jitterErr) |
void | setOutOfTimeChi2 (float chi2) |
void | setOutOfTimeEnergy (float energy) |
void | setPedestal (float pedestal) |
virtual | ~HGCUncalibratedRecHit () |
Private Attributes | |
float | amplitude_ |
uint32_t | aux_ |
float | chi2_ |
uint32_t | flags_ |
DetId | id_ |
float | jitter_ |
float | OOTamplitude_ |
float | OOTchi2_ |
float | pedestal_ |
Definition at line 7 of file HGCUncalibratedRecHit.h.
typedef DetId HGCUncalibratedRecHit::key_type |
Definition at line 9 of file HGCUncalibratedRecHit.h.
Enumerator | |
---|---|
kGood | |
kPoorReco | |
kSaturated | |
kOutOfTime |
Definition at line 11 of file HGCUncalibratedRecHit.h.
HGCUncalibratedRecHit::HGCUncalibratedRecHit | ( | ) |
Definition at line 4 of file HGCUncalibratedRecHit.cc.
HGCUncalibratedRecHit::HGCUncalibratedRecHit | ( | const DetId & | detId, |
float | ampl, | ||
float | ped, | ||
float | jit, | ||
float | chi2, | ||
uint32_t | flags = 0 , |
||
uint32_t | aux = 0 |
||
) |
Definition at line 14 of file HGCUncalibratedRecHit.cc.
|
virtual |
Definition at line 26 of file HGCUncalibratedRecHit.cc.
|
inline |
Definition at line 23 of file HGCUncalibratedRecHit.h.
References amplitude_.
Referenced by HGCalRecHitSimpleAlgo::makeRecHit(), and setAmplitude().
bool HGCUncalibratedRecHit::checkFlag | ( | HGCUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 110 of file HGCUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
Referenced by isSaturated().
|
inline |
Definition at line 26 of file HGCUncalibratedRecHit.h.
References chi2_.
Referenced by setChi2(), and setOutOfTimeChi2().
|
inline |
|
inline |
Definition at line 33 of file HGCUncalibratedRecHit.h.
References id_.
Referenced by HGCalRecHitSimpleAlgo::makeRecHit(), HGCalRecHitWorkerSimple::run(), and setId().
bool HGCUncalibratedRecHit::isJitterErrorValid | ( | ) | const |
Definition at line 86 of file HGCUncalibratedRecHit.cc.
References isJitterValid(), and jitterError().
bool HGCUncalibratedRecHit::isJitterValid | ( | ) | const |
Definition at line 79 of file HGCUncalibratedRecHit.cc.
References jitterError().
Referenced by isJitterErrorValid().
bool HGCUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 28 of file HGCUncalibratedRecHit.cc.
References checkFlag(), and kSaturated.
|
inline |
Definition at line 25 of file HGCUncalibratedRecHit.h.
References jitter_.
Referenced by HGCalRecHitSimpleAlgo::makeRecHit(), and setJitter().
float HGCUncalibratedRecHit::jitterError | ( | ) | const |
Definition at line 30 of file HGCUncalibratedRecHit.cc.
References aux_, HLT_2023v12_cff::exponent, jitterErrorBits(), and funct::pow().
Referenced by isJitterErrorValid(), and isJitterValid().
uint8_t HGCUncalibratedRecHit::jitterErrorBits | ( | ) | const |
Definition at line 95 of file HGCUncalibratedRecHit.cc.
References aux_.
Referenced by jitterError(), and setJitterError().
|
inline |
|
inline |
|
inline |
Definition at line 24 of file HGCUncalibratedRecHit.h.
References pedestal_.
Referenced by setPedestal().
|
inline |
|
inline |
Definition at line 45 of file HGCUncalibratedRecHit.h.
References printConversionInfo::aux, and aux_.
|
inline |
Definition at line 38 of file HGCUncalibratedRecHit.h.
void HGCUncalibratedRecHit::setFlagBit | ( | HGCUncalibratedRecHit::Flags | flag | ) |
Definition at line 100 of file HGCUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
|
inline |
|
inline |
Definition at line 44 of file HGCUncalibratedRecHit.h.
|
inline |
void HGCUncalibratedRecHit::setJitterError | ( | float | jitterErr | ) |
Definition at line 46 of file HGCUncalibratedRecHit.cc.
References aux_, HLT_2023v12_cff::exponent, createfilelist::int, jitterErrorBits(), and funct::pow().
|
inline |
|
inline |
Definition at line 39 of file HGCUncalibratedRecHit.h.
References hcalRecHitTable_cff::energy, and OOTamplitude_.
|
inline |
|
private |
Definition at line 54 of file HGCUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 61 of file HGCUncalibratedRecHit.h.
Referenced by jitterError(), jitterErrorBits(), setAux(), and setJitterError().
|
private |
Definition at line 57 of file HGCUncalibratedRecHit.h.
|
private |
Definition at line 60 of file HGCUncalibratedRecHit.h.
Referenced by checkFlag(), flags(), setFlagBit(), and setFlags().
|
private |
Definition at line 62 of file HGCUncalibratedRecHit.h.
|
private |
Definition at line 56 of file HGCUncalibratedRecHit.h.
Referenced by jitter(), and setJitter().
|
private |
Definition at line 58 of file HGCUncalibratedRecHit.h.
Referenced by outOfTimeEnergy(), and setOutOfTimeEnergy().
|
private |
Definition at line 59 of file HGCUncalibratedRecHit.h.
Referenced by outOfTimeChi2(), and setOutOfTimeChi2().
|
private |
Definition at line 55 of file HGCUncalibratedRecHit.h.
Referenced by pedestal(), and setPedestal().