#include <EcalUncalibratedRecHit.h>
Public Types | |
enum | Flags { kGood =-1, kPoorReco, kSaturated, kOutOfTime, kLeadingEdgeRecovered, kHasSwitchToGain6, kHasSwitchToGain1 } |
typedef DetId | key_type |
Public Member Functions | |
float | amplitude () const |
bool | checkFlag (Flags flag) const |
float | chi2 () const |
EcalUncalibratedRecHit () | |
EcalUncalibratedRecHit (const DetId &detId, float ampl, float ped, float jit, float chi2, uint32_t flags=0, uint32_t aux=0) | |
uint32_t | flags () const |
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 | ~EcalUncalibratedRecHit () |
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 EcalUncalibratedRecHit.h.
Definition at line 11 of file EcalUncalibratedRecHit.h.
Enumerator | |
---|---|
kGood | |
kPoorReco | |
kSaturated | |
kOutOfTime | |
kLeadingEdgeRecovered | |
kHasSwitchToGain6 | |
kHasSwitchToGain1 |
Definition at line 13 of file EcalUncalibratedRecHit.h.
EcalUncalibratedRecHit::EcalUncalibratedRecHit | ( | ) |
Definition at line 5 of file EcalUncalibratedRecHit.cc.
EcalUncalibratedRecHit::EcalUncalibratedRecHit | ( | const DetId & | detId, |
float | ampl, | ||
float | ped, | ||
float | jit, | ||
float | chi2, | ||
uint32_t | flags = 0 , |
||
uint32_t | aux = 0 |
||
) |
Definition at line 8 of file EcalUncalibratedRecHit.cc.
|
virtual |
Definition at line 12 of file EcalUncalibratedRecHit.cc.
|
inline |
Definition at line 29 of file EcalUncalibratedRecHit.h.
References amplitude_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), EcalSimpleUncalibRecHitFilter::hltFilter(), CosmicClusterAlgo::makeCluster(), CosmicClusterAlgo::makeClusters(), EcalRecHitSimpleAlgo::makeRecHit(), EcalTBWeightUncalibRecHitProducer::produce(), EcalUncalibRecHitWorkerAnalFit::run(), EcalUncalibRecHitWorkerGlobal::run(), and setAmplitude().
bool EcalUncalibratedRecHit::checkFlag | ( | EcalUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 110 of file EcalUncalibratedRecHit.cc.
Referenced by isSaturated(), and EcalRecHitSimpleAlgo::makeRecHit().
|
inline |
Definition at line 32 of file EcalUncalibratedRecHit.h.
References chi2_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit(), setChi2(), and setOutOfTimeChi2().
|
inline |
Definition at line 36 of file EcalUncalibratedRecHit.h.
References flags_.
Referenced by EcalRecHitWorkerRecover::run(), and setFlags().
|
inline |
Definition at line 39 of file EcalUncalibratedRecHit.h.
References id_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), EcalSimpleUncalibRecHitFilter::hltFilter(), CosmicClusterAlgo::makeCluster(), EcalRecHitSimpleAlgo::makeRecHit(), EcalRecHitWorkerSimple::run(), EcalRecHitWorkerRecover::run(), and setId().
bool EcalUncalibratedRecHit::isJitterErrorValid | ( | ) | const |
Definition at line 81 of file EcalUncalibratedRecHit.cc.
References isJitterValid(), and jitterError().
bool EcalUncalibratedRecHit::isJitterValid | ( | ) | const |
Definition at line 73 of file EcalUncalibratedRecHit.cc.
References jitterError().
Referenced by isJitterErrorValid().
bool EcalUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 15 of file EcalUncalibratedRecHit.cc.
References checkFlag(), and kSaturated.
Referenced by EcalRecHitSimpleAlgo::makeRecHit().
|
inline |
Definition at line 31 of file EcalUncalibratedRecHit.h.
References jitter_.
Referenced by EcalURecHitHists::analyze(), EcalRecHitSimpleAlgo::makeRecHit(), EcalUncalibRecHitWorkerGlobal::run(), and setJitter().
float EcalUncalibratedRecHit::jitterError | ( | ) | const |
Definition at line 20 of file EcalUncalibratedRecHit.cc.
References aux_, jitterErrorBits(), and funct::pow().
Referenced by isJitterErrorValid(), and isJitterValid().
uint8_t EcalUncalibratedRecHit::jitterErrorBits | ( | ) | const |
Definition at line 91 of file EcalUncalibratedRecHit.cc.
References aux_.
Referenced by jitterError(), EcalRecHitSimpleAlgo::makeRecHit(), and setJitterError().
|
inline |
Definition at line 34 of file EcalUncalibratedRecHit.h.
References OOTchi2_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit().
|
inline |
Definition at line 33 of file EcalUncalibratedRecHit.h.
References OOTamplitude_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit(), and EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 30 of file EcalUncalibratedRecHit.h.
References pedestal_.
Referenced by setPedestal().
|
inline |
Definition at line 41 of file EcalUncalibratedRecHit.h.
References amplitude(), and amplitude_.
Referenced by EcalUncalibRecHitWorkerRatio::run().
|
inline |
Definition at line 51 of file EcalUncalibratedRecHit.h.
References printConversionInfo::aux, and aux_.
|
inline |
Definition at line 44 of file EcalUncalibratedRecHit.h.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
void EcalUncalibratedRecHit::setFlagBit | ( | EcalUncalibratedRecHit::Flags | flag | ) |
Definition at line 98 of file EcalUncalibratedRecHit.cc.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 49 of file EcalUncalibratedRecHit.h.
References flags(), and flags_.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
inline |
Definition at line 50 of file EcalUncalibratedRecHit.h.
|
inline |
Definition at line 43 of file EcalUncalibratedRecHit.h.
References jitter(), and jitter_.
Referenced by EcalUncalibRecHitWorkerRatio::run(), and EcalUncalibRecHitWorkerGlobal::run().
void EcalUncalibratedRecHit::setJitterError | ( | float | jitterErr | ) |
Definition at line 37 of file EcalUncalibratedRecHit.cc.
References aux_, jitterErrorBits(), and funct::pow().
Referenced by EcalUncalibRecHitWorkerRatio::run(), and EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 46 of file EcalUncalibratedRecHit.h.
References chi2(), and OOTchi2_.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 45 of file EcalUncalibratedRecHit.h.
References relval_parameters_module::energy, and OOTamplitude_.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
|
inline |
|
private |
Definition at line 60 of file EcalUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 67 of file EcalUncalibratedRecHit.h.
Referenced by jitterError(), jitterErrorBits(), setAux(), and setJitterError().
|
private |
Definition at line 63 of file EcalUncalibratedRecHit.h.
|
private |
Definition at line 66 of file EcalUncalibratedRecHit.h.
Referenced by checkFlag(), flags(), setFlagBit(), and setFlags().
|
private |
Definition at line 68 of file EcalUncalibratedRecHit.h.
|
private |
Definition at line 62 of file EcalUncalibratedRecHit.h.
Referenced by jitter(), and setJitter().
|
private |
Definition at line 64 of file EcalUncalibratedRecHit.h.
Referenced by outOfTimeEnergy(), and setOutOfTimeEnergy().
|
private |
Definition at line 65 of file EcalUncalibratedRecHit.h.
Referenced by outOfTimeChi2(), and setOutOfTimeChi2().
|
private |
Definition at line 61 of file EcalUncalibratedRecHit.h.
Referenced by pedestal(), and setPedestal().