7 algo_(0.,0.,
false,
false,
false,
false, 0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,
8 conf.getParameter<std::vector<double> >(
"EBGrid"),
9 conf.getParameter<std::vector<double> >(
"EBWeights"),
10 conf.getParameter<std::vector<double> >(
"EEGrid"),
11 conf.getParameter<std::vector<double> >(
"EEWeights"),
12 conf.getParameter<std::vector<double> >(
"HBGrid"),
13 conf.getParameter<std::vector<double> >(
"HBWeights"),
14 conf.getParameter<std::vector<double> >(
"HESGrid"),
15 conf.getParameter<std::vector<double> >(
"HESWeights"),
16 conf.getParameter<std::vector<double> >(
"HEDGrid"),
17 conf.getParameter<std::vector<double> >(
"HEDWeights"),
18 conf.getParameter<std::vector<double> >(
"HOGrid"),
19 conf.getParameter<std::vector<double> >(
"HOWeights"),
20 conf.getParameter<std::vector<double> >(
"HF1Grid"),
21 conf.getParameter<std::vector<double> >(
"HF1Weights"),
22 conf.getParameter<std::vector<double> >(
"HF2Grid"),
23 conf.getParameter<std::vector<double> >(
"HF2Weights"),
24 conf.getParameter<double>(
"EBWeight"),
25 conf.getParameter<double>(
"EEWeight"),
26 conf.getParameter<double>(
"HBWeight"),
27 conf.getParameter<double>(
"HESWeight"),
28 conf.getParameter<double>(
"HEDWeight"),
29 conf.getParameter<double>(
"HOWeight"),
30 conf.getParameter<double>(
"HF1Weight"),
31 conf.getParameter<double>(
"HF2Weight"),
33 conf.getParameter<bool>(
"UseHO"),
35 conf.getParameter<int>(
"MomConstrMethod"),
36 conf.getParameter<double>(
"MomHBDepth"),
37 conf.getParameter<double>(
"MomHEDepth"),
38 conf.getParameter<double>(
"MomEBDepth"),
39 conf.getParameter<double>(
"MomEEDepth")
42 allowMissingInputs_(
false)
T getParameter(std::string const &) const
virtual void produce(edm::Event &e, const edm::EventSetup &c)
algo_(conf.existsAs< bool >("Correct")?conf.getParameter< bool >("Correct"):true, conf.getParameter< double >("e9e25Cut"), conf.getParameter< double >("intercept2DCut"), conf.existsAs< bool >("intercept2DSlope")?conf.getParameter< double >("intercept2DSlope"):defaultSlope2D_, conf.getParameter< std::vector< double > >("e1e9Cut"), conf.getParameter< std::vector< double > >("eCOREe9Cut"), conf.getParameter< std::vector< double > >("eSeLCut"), hfvars_)
CaloTowersReCreator(const edm::ParameterSet &ps)
CaloTowersCreationAlgo algo_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void setHF1EScale(double scale)
void setHF2EScale(double scale)
void setHBEScale(double scale)
void rescaleTowers(const CaloTowerCollection &ctInput, CaloTowerCollection &ctResult)
edm::EDGetTokenT< CaloTowerCollection > tok_calo_
void setHESEScale(double scale)
void setHEDEScale(double scale)
void setEEEScale(double scale)
T const * product() const
void setHOEScale(double scale)
edm::SortedCollection< CaloTower > CaloTowerCollection
volatile std::atomic< bool > shutdown_flag false
void setGeometry(const CaloTowerConstituentsMap *cttopo, const HcalTopology *htopo, const CaloGeometry *geo)
void setEBEScale(double scale)