#include <HGCalRecHitSimpleAlgo.h>
Public Member Functions | |
HGCalRecHitSimpleAlgo () | |
HGCRecHit | makeRecHit (const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags=0) const override |
Compute parameters. More... | |
void | setADCToGeVConstant (const float value) override |
void | setLayerWeights (const std::vector< float > &weights) override |
make rechits from dataframes More... | |
~HGCalRecHitSimpleAlgo () override | |
Public Member Functions inherited from HGCalRecHitAbsAlgo | |
virtual | ~HGCalRecHitAbsAlgo () |
Constructor. More... | |
Private Attributes | |
float | adcToGeVConstant_ |
bool | adcToGeVConstantIsSet_ |
std::vector< float > | weights_ |
Simple algoritm to make HGCAL rechits from HGCAL uncalibrated rechits , following Ecal sceleton
Simple algoritm to make HGCAL rechits from HGCAL uncalibrated rechits
Definition at line 20 of file HGCalRecHitSimpleAlgo.h.
|
inline |
Definition at line 23 of file HGCalRecHitSimpleAlgo.h.
References adcToGeVConstant_, and adcToGeVConstantIsSet_.
|
inlineoverride |
Definition at line 39 of file HGCalRecHitSimpleAlgo.h.
|
inlineoverridevirtual |
Compute parameters.
Implements HGCalRecHitAbsAlgo.
Definition at line 42 of file HGCalRecHitSimpleAlgo.h.
References adcToGeVConstantIsSet_, HGCUncalibratedRecHit::amplitude(), HcalDetId::depth(), DetId::det(), Exception, DetId::Forward, DetId::Hcal, HcalEndcap, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, HGCEE, HGCHEF, HGCUncalibratedRecHit::id(), HGCUncalibratedRecHit::jitter(), HGCRecHit::kGood, HGCalDetId::layer(), HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), DetId::rawId(), HGCRecHit::setFlag(), DetId::subdetId(), ntuplemaker::time, and weights_.
|
inlineoverridevirtual |
Implements HGCalRecHitAbsAlgo.
Definition at line 32 of file HGCalRecHitSimpleAlgo.h.
References adcToGeVConstant_, adcToGeVConstantIsSet_, and relativeConstraints::value.
|
inlineoverridevirtual |
make rechits from dataframes
Reimplemented from HGCalRecHitAbsAlgo.
Definition at line 28 of file HGCalRecHitSimpleAlgo.h.
References HGCalRecHit_cfi::weights, and weights_.
|
private |
Definition at line 85 of file HGCalRecHitSimpleAlgo.h.
Referenced by HGCalRecHitSimpleAlgo(), and setADCToGeVConstant().
|
private |
Definition at line 86 of file HGCalRecHitSimpleAlgo.h.
Referenced by HGCalRecHitSimpleAlgo(), makeRecHit(), and setADCToGeVConstant().
|
private |
Definition at line 87 of file HGCalRecHitSimpleAlgo.h.
Referenced by makeRecHit(), and setLayerWeights().