#include <EcalRecHitSimpleAlgo.h>
Public Member Functions | |
EcalRecHitSimpleAlgo () | |
EcalRecHit | makeRecHit (const EcalUncalibratedRecHit &uncalibRH, const float &intercalibConstant, const float &timeIntercalib=0, const uint32_t &flags=0) const override |
Compute parameters. More... | |
void | setADCToGeVConstant (const float &value) override |
make rechits from dataframes More... | |
~EcalRecHitSimpleAlgo () override | |
Public Member Functions inherited from EcalRecHitAbsAlgo | |
virtual | ~EcalRecHitAbsAlgo () |
Constructor. More... | |
Private Attributes | |
float | adcToGeVConstant_ |
bool | adcToGeVConstantIsSet_ |
Simple algoritm to make rechits from uncalibrated rechits
Definition at line 15 of file EcalRecHitSimpleAlgo.h.
|
inline |
Definition at line 18 of file EcalRecHitSimpleAlgo.h.
References adcToGeVConstant_, and adcToGeVConstantIsSet_.
|
inlineoverride |
Definition at line 30 of file EcalRecHitSimpleAlgo.h.
|
inlineoverridevirtual |
Compute parameters.
Implements EcalRecHitAbsAlgo.
Definition at line 33 of file EcalRecHitSimpleAlgo.h.
References adcToGeVConstant_, adcToGeVConstantIsSet_, EcalUncalibratedRecHit::amplitude(), EcalUncalibratedRecHit::amplitudeError(), EcalUncalibratedRecHit::checkFlag(), EcalUncalibratedRecHit::chi2(), gather_cfg::cout, randomXiThetaGunProducer_cfi::energy, EcalUncalibratedRecHit::id(), EcalUncalibratedRecHit::isSaturated(), EcalUncalibratedRecHit::jitter(), EcalUncalibratedRecHit::jitterErrorBits(), EcalRecHit::kGood, EcalUncalibratedRecHit::kHasSwitchToGain1, EcalRecHit::kHasSwitchToGain1, EcalUncalibratedRecHit::kHasSwitchToGain6, EcalRecHit::kHasSwitchToGain6, EcalUncalibratedRecHit::kLeadingEdgeRecovered, EcalRecHit::kLeadingEdgeRecovered, EcalUncalibratedRecHit::kOutOfTime, EcalRecHit::kOutOfTime, EcalUncalibratedRecHit::kPoorReco, EcalRecHit::kPoorReco, EcalUncalibratedRecHit::kSaturated, EcalRecHit::kSaturated, EcalRecHit::setChi2(), and ntuplemaker::time.
Referenced by EcalRecHitWorkerSimple::run().
|
inlineoverridevirtual |
make rechits from dataframes
Implements EcalRecHitAbsAlgo.
Definition at line 23 of file EcalRecHitSimpleAlgo.h.
References adcToGeVConstant_, adcToGeVConstantIsSet_, and relativeConstraints::value.
Referenced by EcalRecHitWorkerSimple::run().
|
private |
Definition at line 92 of file EcalRecHitSimpleAlgo.h.
Referenced by EcalRecHitSimpleAlgo(), makeRecHit(), and setADCToGeVConstant().
|
private |
Definition at line 93 of file EcalRecHitSimpleAlgo.h.
Referenced by EcalRecHitSimpleAlgo(), makeRecHit(), and setADCToGeVConstant().