#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 |
float | amplitudeError () 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 | outOfTimeAmplitude (int bx) const |
float | pedestal () const |
void | setAmplitude (float amplitude) |
void | setAmplitudeError (float amplitudeerror) |
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 | setOutOfTimeAmplitude (int bx, float amplitude) |
void | setPedestal (float pedestal) |
Private Attributes | |
float | amplitude_ |
float | amplitudeError_ |
uint32_t | aux_ |
float | chi2_ |
uint32_t | flags_ |
DetId | id_ |
float | jitter_ |
float | OOTamplitudes_ [EcalDataFrame::MAXSAMPLES] |
float | OOTchi2_ |
float | pedestal_ |
Definition at line 8 of file EcalUncalibratedRecHit.h.
Definition at line 12 of file EcalUncalibratedRecHit.h.
Enumerator | |
---|---|
kGood | |
kPoorReco | |
kSaturated | |
kOutOfTime | |
kLeadingEdgeRecovered | |
kHasSwitchToGain6 | |
kHasSwitchToGain1 |
Definition at line 14 of file EcalUncalibratedRecHit.h.
EcalUncalibratedRecHit::EcalUncalibratedRecHit | ( | ) |
Definition at line 6 of file EcalUncalibratedRecHit.cc.
References EcalDataFrame::MAXSAMPLES, and OOTamplitudes_.
EcalUncalibratedRecHit::EcalUncalibratedRecHit | ( | const DetId & | id, |
float | ampl, | ||
float | ped, | ||
float | jit, | ||
float | chi2, | ||
uint32_t | flags = 0 , |
||
uint32_t | aux = 0 |
||
) |
Definition at line 12 of file EcalUncalibratedRecHit.cc.
References EcalDataFrame::MAXSAMPLES, and OOTamplitudes_.
|
inline |
Definition at line 31 of file EcalUncalibratedRecHit.h.
References amplitude_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), HLTEcalPhiSymFilter::filter(), CosmicClusterAlgo::makeCluster(), CosmicClusterAlgo::makeClusters(), EcalRecHitSimpleAlgo::makeRecHit(), EcalTBWeightUncalibRecHitProducer::produce(), EcalUncalibRecHitWorkerAnalFit::run(), EcalUncalibRecHitWorkerGlobal::run(), EcalUncalibRecHitWorkerMultiFit::run(), setAmplitude(), and setOutOfTimeAmplitude().
|
inline |
Definition at line 32 of file EcalUncalibratedRecHit.h.
References amplitudeError_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit().
bool EcalUncalibratedRecHit::checkFlag | ( | EcalUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 113 of file EcalUncalibratedRecHit.cc.
Referenced by isSaturated(), and EcalRecHitSimpleAlgo::makeRecHit().
|
inline |
Definition at line 35 of file EcalUncalibratedRecHit.h.
References chi2_.
Referenced by EcalRecHitSimpleAlgo::makeRecHit(), and setChi2().
|
inline |
Definition at line 38 of file EcalUncalibratedRecHit.h.
References flags_.
Referenced by EcalRecHitWorkerRecover::run(), and setFlags().
|
inline |
Definition at line 41 of file EcalUncalibratedRecHit.h.
References id_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), HLTEcalPhiSymFilter::filter(), CosmicClusterAlgo::makeCluster(), EcalRecHitSimpleAlgo::makeRecHit(), EcalRecHitWorkerSimple::run(), EcalRecHitWorkerRecover::run(), and setId().
bool EcalUncalibratedRecHit::isJitterErrorValid | ( | ) | const |
Definition at line 85 of file EcalUncalibratedRecHit.cc.
References isJitterValid(), and jitterError().
bool EcalUncalibratedRecHit::isJitterValid | ( | ) | const |
Definition at line 77 of file EcalUncalibratedRecHit.cc.
References jitterError().
Referenced by isJitterErrorValid().
bool EcalUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 19 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 24 of file EcalUncalibratedRecHit.cc.
References aux_, HLT_25ns10e33_v2_cff::exponent, jitterErrorBits(), and funct::pow().
Referenced by isJitterErrorValid(), and isJitterValid().
uint8_t EcalUncalibratedRecHit::jitterErrorBits | ( | ) | const |
Definition at line 95 of file EcalUncalibratedRecHit.cc.
References aux_.
Referenced by jitterError(), EcalRecHitSimpleAlgo::makeRecHit(), and setJitterError().
|
inline |
Definition at line 36 of file EcalUncalibratedRecHit.h.
References OOTamplitudes_.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 33 of file EcalUncalibratedRecHit.h.
References pedestal_.
Referenced by setPedestal().
|
inline |
Definition at line 43 of file EcalUncalibratedRecHit.h.
References amplitude(), and amplitude_.
Referenced by EcalUncalibRecHitWorkerRatio::run().
|
inline |
Definition at line 44 of file EcalUncalibratedRecHit.h.
References amplitudeError_.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
inline |
Definition at line 53 of file EcalUncalibratedRecHit.h.
References printConversionInfo::aux, and aux_.
|
inline |
Definition at line 47 of file EcalUncalibratedRecHit.h.
Referenced by EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
void EcalUncalibratedRecHit::setFlagBit | ( | EcalUncalibratedRecHit::Flags | flag | ) |
Definition at line 102 of file EcalUncalibratedRecHit.cc.
Referenced by EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 51 of file EcalUncalibratedRecHit.h.
References flags(), and flags_.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
inline |
Definition at line 52 of file EcalUncalibratedRecHit.h.
|
inline |
Definition at line 46 of file EcalUncalibratedRecHit.h.
References jitter(), and jitter_.
Referenced by EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
void EcalUncalibratedRecHit::setJitterError | ( | float | jitterErr | ) |
Definition at line 41 of file EcalUncalibratedRecHit.cc.
References aux_, HLT_25ns10e33_v2_cff::exponent, jitterErrorBits(), and funct::pow().
Referenced by EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 48 of file EcalUncalibratedRecHit.h.
References amplitude(), and OOTamplitudes_.
|
inline |
|
private |
Definition at line 62 of file EcalUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 63 of file EcalUncalibratedRecHit.h.
Referenced by amplitudeError(), and setAmplitudeError().
|
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 EcalUncalibratedRecHit(), outOfTimeAmplitude(), and setOutOfTimeAmplitude().
|
private |
Definition at line 68 of file EcalUncalibratedRecHit.h.
|
private |
Definition at line 64 of file EcalUncalibratedRecHit.h.
Referenced by pedestal(), and setPedestal().