20 if( conf.
exists(isSiFE) ) {
26 if( conf.
exists(adcNbits) ) {
29 float adcLSB = saturation/
pow(2.,nBits);
35 if( conf.
exists(tdcNbits) ) {
39 float tdcLSB = saturation/
pow(2.,nBits);
47 if( conf.
exists(toaLSB_ns) ) {
53 if( conf.
exists(fCPerMIP) ) {
T getParameter(std::string const &) const
void set_ADCLSB(const double adclsb)
bool run3(const edm::Event &evt, const HGCalDigiCollection::const_iterator &digi, HGChebUncalibratedRecHitCollection &result) override
void set_isSiFESim(const bool isSiFE)
bool run2(const edm::Event &evt, const HGCalDigiCollection::const_iterator &digi, HGChefUncalibratedRecHitCollection &result) override
std::vector< T >::const_iterator const_iterator
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void push_back(T const &t)
HGCalUncalibRecHitRecWeightsAlgo< HGCalDataFrame > uncalibMaker_hef_
bool run1(const edm::Event &evt, const HGCalDigiCollection::const_iterator &digi, HGCeeUncalibratedRecHitCollection &result) override
void configureIt(const edm::ParameterSet &conf, HGCalUncalibRecHitRecWeightsAlgo< HGCalDataFrame > &maker)
void set_toaLSBToNS(const double lsb2ns)
void set_tdcOnsetfC(const double tdcOnset)
ParameterSet const & getParameterSet(std::string const &) const
HGCalUncalibRecHitWorkerWeights(const edm::ParameterSet &)
void set(const edm::EventSetup &es) override
HGCalUncalibRecHitRecWeightsAlgo< HGCalDataFrame > uncalibMaker_ee_
void set_fCPerMIP(const std::vector< double > &fCPerMIP)
HGCalUncalibRecHitRecWeightsAlgo< HGCalDataFrame > uncalibMaker_heb_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void set_TDCLSB(const double tdclsb)
T const * product() const
Power< A, B >::type pow(const A &a, const B &b)