1 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCalRecHitSimpleAlgo_HH 2 #define RecoLocalCalo_HGCalRecAlgos_HGCalRecHitSimpleAlgo_HH 41 const uint32_t&
flags = 0)
const override {
45 <<
"makeRecHit: adcToGeVConstant_ not set before calling this method!";
58 <<
"HGCalRecHitSimpleAlgo encountered a non-HGCal det id: " << baseid.
det() <<
' ' << baseid.
subdetId() <<
' ' << baseid.
rawId();
bool adcToGeVConstantIsSet_
void setFlag(int flag)
set the flags (from Flags or ESFlags)
std::vector< Variable::Flags > flags
void setADCToGeVConstant(const float value) override
uint32_t rawId() const
get the raw id
void setLayerWeights(const std::vector< float > &weights) override
make rechits from dataframes
int depth() const
get the tower depth
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
HGCRecHit makeRecHit(const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags=0) const override
Compute parameters.
std::vector< float > weights_
~HGCalRecHitSimpleAlgo() override
Detector det() const
get the detector field from this detid
int layer() const
get the layer #