#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... | |
void | setNoseLayerWeights (const std::vector< float > &weights) |
~HGCalRecHitSimpleAlgo () override | |
Public Member Functions inherited from HGCalRecHitAbsAlgo | |
void | set (const CaloGeometry &geom) |
virtual | ~HGCalRecHitAbsAlgo () |
Constructor. More... | |
Private Attributes | |
float | adcToGeVConstant_ |
bool | adcToGeVConstantIsSet_ |
std::vector< float > | weights_ |
std::vector< float > | weightsNose_ |
Additional Inherited Members | |
Protected Attributes inherited from HGCalRecHitAbsAlgo | |
hgcal::RecHitTools | rhtools_ |
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 21 of file HGCalRecHitSimpleAlgo.h.
|
inline |
Definition at line 24 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(), DetId::det(), HCALHighEnergyHPDFilter_cfi::energy, Exception, DetId::Forward, hgcal::RecHitTools::getLayerWithOffset(), HFNose, mixOne_premix_on_sim_cfi::hfnose, HGCUncalibratedRecHit::id(), HGCUncalibratedRecHit::jitter(), HGCRecHit::kGood, HGCalRecHitAbsAlgo::rhtools_, HGCRecHit::setFlag(), DetId::subdetId(), ntuplemaker::time, weights_, and weightsNose_.
|
inlineoverridevirtual |
Implements HGCalRecHitAbsAlgo.
Definition at line 33 of file HGCalRecHitSimpleAlgo.h.
References adcToGeVConstant_, adcToGeVConstantIsSet_, and relativeConstraints::value.
|
inlineoverridevirtual |
make rechits from dataframes
Reimplemented from HGCalRecHitAbsAlgo.
Definition at line 29 of file HGCalRecHitSimpleAlgo.h.
References HLT_FULL_cff::weights, and weights_.
|
inline |
Definition at line 31 of file HGCalRecHitSimpleAlgo.h.
References HLT_FULL_cff::weights, and weightsNose_.
|
private |
Definition at line 69 of file HGCalRecHitSimpleAlgo.h.
Referenced by HGCalRecHitSimpleAlgo(), and setADCToGeVConstant().
|
private |
Definition at line 70 of file HGCalRecHitSimpleAlgo.h.
Referenced by HGCalRecHitSimpleAlgo(), makeRecHit(), and setADCToGeVConstant().
|
private |
Definition at line 71 of file HGCalRecHitSimpleAlgo.h.
Referenced by makeRecHit(), and setLayerWeights().
|
private |
Definition at line 71 of file HGCalRecHitSimpleAlgo.h.
Referenced by makeRecHit(), and setNoseLayerWeights().