#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 &id, 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) |
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.
|
inline |
Definition at line 24 of file EcalUncalibratedRecHit.h.
|
inline |
Definition at line 27 of file EcalUncalibratedRecHit.h.
|
inline |
Definition at line 32 of file EcalUncalibratedRecHit.h.
References amplitude_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), CosmicClusterAlgo::makeCluster(), CosmicClusterAlgo::makeClusters(), EcalRecHitSimpleAlgo::makeRecHit(), EcalTBWeightUncalibRecHitProducer::produce(), EcalUncalibRecHitWorkerAnalFit::run(), EcalUncalibRecHitWorkerGlobal::run(), and setAmplitude().
bool EcalUncalibratedRecHit::checkFlag | ( | EcalUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 101 of file EcalUncalibratedRecHit.cc.
References archive::flag, flags_, and kGood.
Referenced by isSaturated(), and EcalRecHitSimpleAlgo::makeRecHit().
|
inline |
Definition at line 35 of file EcalUncalibratedRecHit.h.
References chi2_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit(), setChi2(), and setOutOfTimeChi2().
|
inline |
Definition at line 39 of file EcalUncalibratedRecHit.h.
References flags_.
Referenced by EcalRecHitWorkerRecover::run(), and setFlags().
|
inline |
Definition at line 42 of file EcalUncalibratedRecHit.h.
References id_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), CosmicClusterAlgo::makeCluster(), EcalRecHitSimpleAlgo::makeRecHit(), EcalRecHitWorkerSimple::run(), EcalRecHitWorkerRecover::run(), and setId().
bool EcalUncalibratedRecHit::isJitterErrorValid | ( | ) | const |
Definition at line 73 of file EcalUncalibratedRecHit.cc.
References isJitterValid(), and jitterError().
bool EcalUncalibratedRecHit::isJitterValid | ( | ) | const |
Definition at line 65 of file EcalUncalibratedRecHit.cc.
References jitterError().
Referenced by isJitterErrorValid().
bool EcalUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 7 of file EcalUncalibratedRecHit.cc.
References checkFlag(), and kSaturated.
Referenced by EcalRecHitSimpleAlgo::makeRecHit().
|
inline |
Definition at line 34 of file EcalUncalibratedRecHit.h.
References jitter_.
Referenced by EcalURecHitHists::analyze(), EcalRecHitSimpleAlgo::makeRecHit(), EcalUncalibRecHitWorkerGlobal::run(), and setJitter().
float EcalUncalibratedRecHit::jitterError | ( | ) | const |
Definition at line 12 of file EcalUncalibratedRecHit.cc.
References aux_, jitterErrorBits(), and funct::pow().
Referenced by isJitterErrorValid(), and isJitterValid().
uint8_t EcalUncalibratedRecHit::jitterErrorBits | ( | ) | const |
Definition at line 83 of file EcalUncalibratedRecHit.cc.
References aux_.
Referenced by jitterError(), EcalRecHitSimpleAlgo::makeRecHit(), and setJitterError().
|
inline |
|
inline |
Definition at line 36 of file EcalUncalibratedRecHit.h.
References OOTamplitude_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit(), and EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 33 of file EcalUncalibratedRecHit.h.
References pedestal_.
Referenced by setPedestal().
|
inline |
Definition at line 44 of file EcalUncalibratedRecHit.h.
References amplitude(), and amplitude_.
Referenced by EcalUncalibRecHitWorkerRatio::run().
|
inline |
Definition at line 54 of file EcalUncalibratedRecHit.h.
References printConversionInfo::aux, and aux_.
|
inline |
Definition at line 47 of file EcalUncalibratedRecHit.h.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
void EcalUncalibratedRecHit::setFlagBit | ( | EcalUncalibratedRecHit::Flags | flag | ) |
Definition at line 90 of file EcalUncalibratedRecHit.cc.
References archive::flag, flags_, and kGood.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 52 of file EcalUncalibratedRecHit.h.
References flags(), and flags_.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
inline |
Definition at line 53 of file EcalUncalibratedRecHit.h.
|
inline |
Definition at line 46 of file EcalUncalibratedRecHit.h.
References jitter(), and jitter_.
Referenced by EcalUncalibRecHitWorkerRatio::run(), and EcalUncalibRecHitWorkerGlobal::run().
void EcalUncalibratedRecHit::setJitterError | ( | float | jitterErr | ) |
Definition at line 29 of file EcalUncalibratedRecHit.cc.
References aux_, jitterErrorBits(), and funct::pow().
Referenced by EcalUncalibRecHitWorkerRatio::run(), and EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 49 of file EcalUncalibratedRecHit.h.
References chi2(), and OOTchi2_.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
|
inline |
Definition at line 48 of file EcalUncalibratedRecHit.h.
References relval_parameters_module::energy, and OOTamplitude_.
Referenced by EcalUncalibRecHitWorkerGlobal::run().
|
inline |
|
private |
Definition at line 63 of file EcalUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 70 of file EcalUncalibratedRecHit.h.
Referenced by jitterError(), jitterErrorBits(), setAux(), and setJitterError().
|
private |
Definition at line 66 of file EcalUncalibratedRecHit.h.
|
private |
Definition at line 69 of file EcalUncalibratedRecHit.h.
Referenced by checkFlag(), flags(), setFlagBit(), and setFlags().
|
private |
Definition at line 71 of file EcalUncalibratedRecHit.h.
|
private |
Definition at line 65 of file EcalUncalibratedRecHit.h.
Referenced by jitter(), and setJitter().
|
private |
Definition at line 67 of file EcalUncalibratedRecHit.h.
Referenced by outOfTimeEnergy(), and setOutOfTimeEnergy().
|
private |
Definition at line 68 of file EcalUncalibratedRecHit.h.
Referenced by outOfTimeChi2(), and setOutOfTimeChi2().
|
private |
Definition at line 64 of file EcalUncalibratedRecHit.h.
Referenced by pedestal(), and setPedestal().