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();
virtual HGCRecHit makeRecHit(const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags=0) const override
Compute parameters.
virtual void setADCToGeVConstant(const float value) override
bool adcToGeVConstantIsSet_
void setFlag(int flag)
set the flags (from Flags or ESFlags)
std::vector< Variable::Flags > flags
uint32_t rawId() const
get the raw id
int depth() const
get the tower depth
virtual ~HGCalRecHitSimpleAlgo()
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< float > weights_
virtual void setLayerWeights(const std::vector< float > &weights) override
make rechits from dataframes
Detector det() const
get the detector field from this detid
int layer() const
get the layer #