CMS 3D CMS Logo

L1TCaloParamsESProducer.cc
Go to the documentation of this file.
1 
12 //
13 //
14 
15 
16 
17 
18 // system include files
19 #include <memory>
20 #include <iostream>
21 #include <fstream>
22 
23 // user include files
29 
31 
35 
36 using namespace std;
37 
38 //
39 // class declaration
40 //
41 
42 using namespace l1t;
43 
45 public:
48 
49  typedef std::shared_ptr<CaloParams> ReturnType;
50 
51  ReturnType produce(const L1TCaloParamsRcd&);
52 
53 private:
56 };
57 
58 //
59 // constants, enums and typedefs
60 //
61 
62 //
63 // static data member definitions
64 //
65 
66 //
67 // constructors and destructor
68 //
70 {
71 
72  //the following line is needed to tell the framework what
73  // data is being produced
74  setWhatProduced(this);
75  //setWhatProduced(this, conf.getParameter<std::string>("label"));
76 
77  CaloParamsHelper m_params_helper;
78 
79  // towers
80  m_params_helper.setTowerLsbH(conf.getParameter<double>("towerLsbH"));
81  m_params_helper.setTowerLsbE(conf.getParameter<double>("towerLsbE"));
82  m_params_helper.setTowerLsbSum(conf.getParameter<double>("towerLsbSum"));
83  m_params_helper.setTowerNBitsH(conf.getParameter<int>("towerNBitsH"));
84  m_params_helper.setTowerNBitsE(conf.getParameter<int>("towerNBitsE"));
85  m_params_helper.setTowerNBitsSum(conf.getParameter<int>("towerNBitsSum"));
86  m_params_helper.setTowerNBitsRatio(conf.getParameter<int>("towerNBitsRatio"));
87  m_params_helper.setTowerEncoding(conf.getParameter<bool>("towerEncoding"));
88 
89  // regions
90  m_params_helper.setRegionLsb(conf.getParameter<double>("regionLsb"));
91  m_params_helper.setRegionPUSType(conf.getParameter<std::string>("regionPUSType"));
92  m_params_helper.setRegionPUSParams(conf.getParameter<std::vector<double> >("regionPUSParams"));
93 
94  // EG
95  m_params_helper.setEgEtaCut(conf.getParameter<int>("egEtaCut"));
96 
97  m_params_helper.setEgLsb(conf.getParameter<double>("egLsb"));
98  m_params_helper.setEgSeedThreshold(conf.getParameter<double>("egSeedThreshold"));
99  m_params_helper.setEgNeighbourThreshold(conf.getParameter<double>("egNeighbourThreshold"));
100  m_params_helper.setEgHcalThreshold(conf.getParameter<double>("egHcalThreshold"));
101 
102  edm::FileInPath egTrimmingLUTFile = conf.getParameter<edm::FileInPath>("egTrimmingLUTFile");
103  std::ifstream egTrimmingLUTStream(egTrimmingLUTFile.fullPath());
104  auto egTrimmingLUT = std::make_shared<LUT>(egTrimmingLUTStream);
105  m_params_helper.setEgTrimmingLUT(*egTrimmingLUT);
106 
107  m_params_helper.setEgMaxHcalEt(conf.getParameter<double>("egMaxHcalEt"));
108  m_params_helper.setEgMaxPtHOverE(conf.getParameter<double>("egMaxPtHOverE"));
109  m_params_helper.setEgHOverEcutBarrel(conf.getParameter<int>("egHOverEcutBarrel"));
110  m_params_helper.setEgHOverEcutEndcap(conf.getParameter<int>("egHOverEcutEndcap"));
111  m_params_helper.setEgMinPtJetIsolation(conf.getParameter<int>("egMinPtJetIsolation"));
112  m_params_helper.setEgMaxPtJetIsolation(conf.getParameter<int>("egMaxPtJetIsolation"));
113  m_params_helper.setEgMinPtHOverEIsolation(conf.getParameter<int>("egMinPtHOverEIsolation"));
114  m_params_helper.setEgMaxPtHOverEIsolation(conf.getParameter<int>("egMaxPtHOverEIsolation"));
115  m_params_helper.setEgBypassEGVetos(conf.getParameter<unsigned>("egBypassEGVetos"));
116 
117 
118  edm::FileInPath egMaxHOverELUTFile = conf.getParameter<edm::FileInPath>("egMaxHOverELUTFile");
119  std::ifstream egMaxHOverELUTStream(egMaxHOverELUTFile.fullPath());
120  auto egMaxHOverELUT = std::make_shared<LUT>(egMaxHOverELUTStream);
121  m_params_helper.setEgMaxHOverELUT(*egMaxHOverELUT);
122 
123  edm::FileInPath egCompressShapesLUTFile = conf.getParameter<edm::FileInPath>("egCompressShapesLUTFile");
124  std::ifstream egCompressShapesLUTStream(egCompressShapesLUTFile.fullPath());
125  auto egCompressShapesLUT = std::make_shared<LUT>(egCompressShapesLUTStream);
126  m_params_helper.setEgCompressShapesLUT(*egCompressShapesLUT);
127 
128  m_params_helper.setEgShapeIdType(conf.getParameter<std::string>("egShapeIdType"));
129  m_params_helper.setEgShapeIdVersion(conf.getParameter<unsigned>("egShapeIdVersion"));
130  edm::FileInPath egShapeIdLUTFile = conf.getParameter<edm::FileInPath>("egShapeIdLUTFile");
131  std::ifstream egShapeIdLUTStream(egShapeIdLUTFile.fullPath());
132  auto egShapeIdLUT = std::make_shared<LUT>(egShapeIdLUTStream);
133  m_params_helper.setEgShapeIdLUT(*egShapeIdLUT);
134 
135  m_params_helper.setEgPUSType(conf.getParameter<std::string>("egPUSType"));
136 
137  m_params_helper.setEgIsolationType(conf.getParameter<std::string>("egIsolationType"));
138  edm::FileInPath egIsoLUTFile = conf.getParameter<edm::FileInPath>("egIsoLUTFile");
139  std::ifstream egIsoLUTStream(egIsoLUTFile.fullPath());
140  auto egIsoLUT = std::make_shared<LUT>(egIsoLUTStream);
141  m_params_helper.setEgIsolationLUT(*egIsoLUT);
142 
143  //edm::FileInPath egIsoLUTFileBarrel = conf.getParameter<edm::FileInPath>("egIsoLUTFileBarrel");
144  //std::ifstream egIsoLUTBarrelStream(egIsoLUTFileBarrel.fullPath());
145  //auto egIsoLUTBarrel = std::make_shared<LUT>(egIsoLUTBarrelStream);
146  //m_params_helper.setEgIsolationLUTBarrel(egIsoLUTBarrel);
147 
148  //edm::FileInPath egIsoLUTFileEndcaps = conf.getParameter<edm::FileInPath>("egIsoLUTFileEndcaps");
149  //std::ifstream egIsoLUTEndcapsStream(egIsoLUTFileEndcaps.fullPath());
150  //auto egIsoLUTEndcaps = std::make_shared<LUT>(egIsoLUTEndcapsStream);
151  //m_params_helper.setEgIsolationLUTEndcaps(egIsoLUTEndcaps);
152 
153 
154  m_params_helper.setEgIsoAreaNrTowersEta(conf.getParameter<unsigned int>("egIsoAreaNrTowersEta"));
155  m_params_helper.setEgIsoAreaNrTowersPhi(conf.getParameter<unsigned int>("egIsoAreaNrTowersPhi"));
156  m_params_helper.setEgIsoVetoNrTowersPhi(conf.getParameter<unsigned int>("egIsoVetoNrTowersPhi"));
157  //m_params_helper.setEgIsoPUEstTowerGranularity(conf.getParameter<unsigned int>("egIsoPUEstTowerGranularity"));
158  //m_params_helper.setEgIsoMaxEtaAbsForTowerSum(conf.getParameter<unsigned int>("egIsoMaxEtaAbsForTowerSum"));
159  //m_params_helper.setEgIsoMaxEtaAbsForIsoSum(conf.getParameter<unsigned int>("egIsoMaxEtaAbsForIsoSum"));
160  m_params_helper.setEgPUSParams(conf.getParameter<std::vector<double>>("egPUSParams"));
161 
162  m_params_helper.setEgCalibrationType(conf.getParameter<std::string>("egCalibrationType"));
163  m_params_helper.setEgCalibrationVersion(conf.getParameter<unsigned>("egCalibrationVersion"));
164  edm::FileInPath egCalibrationLUTFile = conf.getParameter<edm::FileInPath>("egCalibrationLUTFile");
165  std::ifstream egCalibrationLUTStream(egCalibrationLUTFile.fullPath());
166  auto egCalibrationLUT = std::make_shared<LUT>(egCalibrationLUTStream);
167  m_params_helper.setEgCalibrationLUT(*egCalibrationLUT);
168 
169  // tau
170  m_params_helper.setTauRegionMask(conf.getParameter<int>("tauRegionMask"));
171  m_params_helper.setTauLsb(conf.getParameter<double>("tauLsb"));
172  m_params_helper.setTauSeedThreshold(conf.getParameter<double>("tauSeedThreshold"));
173  m_params_helper.setTauNeighbourThreshold(conf.getParameter<double>("tauNeighbourThreshold"));
174  m_params_helper.setTauMaxPtTauVeto(conf.getParameter<double>("tauMaxPtTauVeto"));
175  m_params_helper.setTauMinPtJetIsolationB(conf.getParameter<double>("tauMinPtJetIsolationB"));
176  m_params_helper.setTauPUSType(conf.getParameter<std::string>("tauPUSType"));
177  m_params_helper.setTauMaxJetIsolationB(conf.getParameter<double>("tauMaxJetIsolationB"));
178  m_params_helper.setTauMaxJetIsolationA(conf.getParameter<double>("tauMaxJetIsolationA"));
179  m_params_helper.setTauIsoAreaNrTowersEta(conf.getParameter<unsigned int>("tauIsoAreaNrTowersEta"));
180  m_params_helper.setTauIsoAreaNrTowersPhi(conf.getParameter<unsigned int>("tauIsoAreaNrTowersPhi"));
181  m_params_helper.setTauIsoVetoNrTowersPhi(conf.getParameter<unsigned int>("tauIsoVetoNrTowersPhi"));
182 
183  edm::FileInPath tauIsoLUTFile = conf.getParameter<edm::FileInPath>("tauIsoLUTFile");
184  std::ifstream tauIsoLUTStream(tauIsoLUTFile.fullPath());
185  auto tauIsoLUT = std::make_shared<LUT>(tauIsoLUTStream);
186  m_params_helper.setTauIsolationLUT(*tauIsoLUT);
187 
188  edm::FileInPath tauIsoLUTFile2 = conf.getParameter<edm::FileInPath>("tauIsoLUTFile2");
189  std::ifstream tauIsoLUTStream2(tauIsoLUTFile2.fullPath());
190  std::shared_ptr<LUT> tauIsoLUT2( new LUT(tauIsoLUTStream2) );
191  m_params_helper.setTauIsolationLUT2(*tauIsoLUT2);
192 
193  edm::FileInPath tauCalibrationLUTFile = conf.getParameter<edm::FileInPath>("tauCalibrationLUTFile");
194  std::ifstream tauCalibrationLUTStream(tauCalibrationLUTFile.fullPath());
195  auto tauCalibrationLUT = std::make_shared<LUT>(tauCalibrationLUTStream);
196  m_params_helper.setTauCalibrationLUT(*tauCalibrationLUT);
197 
198  edm::FileInPath tauCompressLUTFile = conf.getParameter<edm::FileInPath>("tauCompressLUTFile");
199  std::ifstream tauCompressLUTStream(tauCompressLUTFile.fullPath());
200  auto tauCompressLUT = std::make_shared<LUT>(tauCompressLUTStream);
201  m_params_helper.setTauCompressLUT(*tauCompressLUT);
202 
203  edm::FileInPath tauEtToHFRingEtLUTFile = conf.getParameter<edm::FileInPath>("tauEtToHFRingEtLUTFile");
204  std::ifstream tauEtToHFRingEtLUTStream(tauEtToHFRingEtLUTFile.fullPath());
205  auto tauEtToHFRingEtLUT = std::make_shared<LUT>(tauEtToHFRingEtLUTStream);
206  m_params_helper.setTauEtToHFRingEtLUT(*tauEtToHFRingEtLUT);
207 
208  m_params_helper.setIsoTauEtaMin(conf.getParameter<int> ("isoTauEtaMin"));
209  m_params_helper.setIsoTauEtaMax(conf.getParameter<int> ("isoTauEtaMax"));
210 
211  m_params_helper.setTauPUSParams(conf.getParameter<std::vector<double>>("tauPUSParams"));
212 
213  // jets
214  m_params_helper.setJetLsb(conf.getParameter<double>("jetLsb"));
215  m_params_helper.setJetSeedThreshold(conf.getParameter<double>("jetSeedThreshold"));
216  m_params_helper.setJetNeighbourThreshold(conf.getParameter<double>("jetNeighbourThreshold"));
217  m_params_helper.setJetRegionMask(conf.getParameter<int>("jetRegionMask"));
218  m_params_helper.setJetPUSType(conf.getParameter<std::string>("jetPUSType"));
219  m_params_helper.setJetBypassPUS(conf.getParameter<unsigned>("jetBypassPUS"));
220  m_params_helper.setJetCalibrationType(conf.getParameter<std::string>("jetCalibrationType"));
221  m_params_helper.setJetCalibrationParams(conf.getParameter<std::vector<double> >("jetCalibrationParams"));
222  edm::FileInPath jetCalibrationLUTFile = conf.getParameter<edm::FileInPath>("jetCalibrationLUTFile");
223  std::ifstream jetCalibrationLUTStream(jetCalibrationLUTFile.fullPath());
224  auto jetCalibrationLUT = std::make_shared<LUT>(jetCalibrationLUTStream);
225  m_params_helper.setJetCalibrationLUT(*jetCalibrationLUT);
226  edm::FileInPath jetCompressEtaLUTFile = conf.getParameter<edm::FileInPath>("jetCompressEtaLUTFile");
227  std::ifstream jetCompressEtaLUTStream(jetCompressEtaLUTFile.fullPath());
228  std::shared_ptr<LUT> jetCompressEtaLUT( new LUT(jetCompressEtaLUTStream) );
229  m_params_helper.setJetCompressEtaLUT(*jetCompressEtaLUT);
230  edm::FileInPath jetCompressPtLUTFile = conf.getParameter<edm::FileInPath>("jetCompressPtLUTFile");
231  std::ifstream jetCompressPtLUTStream(jetCompressPtLUTFile.fullPath());
232  std::shared_ptr<LUT> jetCompressPtLUT( new LUT(jetCompressPtLUTStream) );
233  m_params_helper.setJetCompressPtLUT(*jetCompressPtLUT);
234 
235  // sums
236  m_params_helper.setEtSumLsb(conf.getParameter<double>("etSumLsb"));
237 
238  std::vector<int> etSumEtaMin = conf.getParameter<std::vector<int> >("etSumEtaMin");
239  std::vector<int> etSumEtaMax = conf.getParameter<std::vector<int> >("etSumEtaMax");
240  std::vector<double> etSumEtThreshold = conf.getParameter<std::vector<double> >("etSumEtThreshold");
241  m_params_helper.setEtSumBypassPUS(conf.getParameter<unsigned>("etSumBypassPUS"));
242  m_params_helper.setEtSumPUSType(conf.getParameter<std::string>("etSumPUSType"));
243  m_params_helper.setEtSumXCalibrationType(conf.getParameter<std::string>("etSumXCalibrationType"));
244  m_params_helper.setEtSumYCalibrationType(conf.getParameter<std::string>("etSumYCalibrationType"));
245  m_params_helper.setEtSumEttCalibrationType(conf.getParameter<std::string>("etSumEttCalibrationType"));
246  m_params_helper.setEtSumEcalSumCalibrationType(conf.getParameter<std::string>("etSumEcalSumCalibrationType"));
247 
248  if ((etSumEtaMin.size() == etSumEtaMax.size()) && (etSumEtaMin.size() == etSumEtThreshold.size())) {
249  for (unsigned i=0; i<etSumEtaMin.size(); ++i) {
250  m_params_helper.setEtSumEtaMin(i, etSumEtaMin.at(i));
251  m_params_helper.setEtSumEtaMax(i, etSumEtaMax.at(i));
252  m_params_helper.setEtSumEtThreshold(i, etSumEtThreshold.at(i));
253  }
254  }
255  else {
256  edm::LogError("l1t|calo") << "Inconsistent number of EtSum parameters" << std::endl;
257  }
258 
259  edm::FileInPath etSumPUSLUTFile = conf.getParameter<edm::FileInPath>("etSumPUSLUTFile");
260  std::ifstream etSumPUSLUTStream(etSumPUSLUTFile.fullPath());
261  std::shared_ptr<LUT> etSumPUSLUT( new LUT(etSumPUSLUTStream) );
262  m_params_helper.setEtSumPUSLUT(*etSumPUSLUT);
263 
264  edm::FileInPath etSumXCalibrationLUTFile = conf.getParameter<edm::FileInPath>("etSumXCalibrationLUTFile");
265  std::ifstream etSumXCalibrationLUTStream(etSumXCalibrationLUTFile.fullPath());
266  std::shared_ptr<LUT> etSumXCalibrationLUT( new LUT(etSumXCalibrationLUTStream) );
267  m_params_helper.setEtSumXCalibrationLUT(*etSumXCalibrationLUT);
268 
269  edm::FileInPath etSumYCalibrationLUTFile = conf.getParameter<edm::FileInPath>("etSumYCalibrationLUTFile");
270  std::ifstream etSumYCalibrationLUTStream(etSumYCalibrationLUTFile.fullPath());
271  std::shared_ptr<LUT> etSumYCalibrationLUT( new LUT(etSumYCalibrationLUTStream) );
272  m_params_helper.setEtSumYCalibrationLUT(*etSumYCalibrationLUT);
273 
274  edm::FileInPath etSumEttCalibrationLUTFile = conf.getParameter<edm::FileInPath>("etSumEttCalibrationLUTFile");
275  std::ifstream etSumEttCalibrationLUTStream(etSumEttCalibrationLUTFile.fullPath());
276  std::shared_ptr<LUT> etSumEttCalibrationLUT( new LUT(etSumEttCalibrationLUTStream) );
277  m_params_helper.setEtSumEttCalibrationLUT(*etSumEttCalibrationLUT);
278 
279  edm::FileInPath etSumEcalSumCalibrationLUTFile = conf.getParameter<edm::FileInPath>("etSumEcalSumCalibrationLUTFile");
280  std::ifstream etSumEcalSumCalibrationLUTStream(etSumEcalSumCalibrationLUTFile.fullPath());
281  std::shared_ptr<LUT> etSumEcalSumCalibrationLUT( new LUT(etSumEcalSumCalibrationLUTStream) );
282  m_params_helper.setEtSumEcalSumCalibrationLUT(*etSumEcalSumCalibrationLUT);
283 
284  // HI centrality trigger
285  edm::FileInPath centralityLUTFile = conf.getParameter<edm::FileInPath>("centralityLUTFile");
286  std::ifstream centralityLUTStream(centralityLUTFile.fullPath());
287  auto centralityLUT = std::make_shared<LUT>(centralityLUTStream);
288  m_params_helper.setCentralityLUT(*centralityLUT);
289  m_params_helper.setCentralityRegionMask(conf.getParameter<int>("centralityRegionMask"));
290  std::vector<int> minbiasThresholds = conf.getParameter<std::vector<int> >("minimumBiasThresholds");
291  if(minbiasThresholds.size() == 4) {
292  m_params_helper.setMinimumBiasThresholds(minbiasThresholds);
293  } else {
294  edm::LogError("l1t|calo") << "Incorrect number of minimum bias thresholds set.";
295  }
296 
297  // HI Q2 trigger
298  edm::FileInPath q2LUTFile = conf.getParameter<edm::FileInPath>("q2LUTFile");
299  std::ifstream q2LUTStream(q2LUTFile.fullPath());
300  auto q2LUT = std::make_shared<LUT>(q2LUTStream);
301  m_params_helper.setQ2LUT(*q2LUT);
302 
303  // Layer 1 LUT specification
304  m_params_helper.setLayer1ECalScaleFactors(conf.getParameter<std::vector<double>>("layer1ECalScaleFactors"));
305  m_params_helper.setLayer1HCalScaleFactors(conf.getParameter<std::vector<double>>("layer1HCalScaleFactors"));
306  m_params_helper.setLayer1HFScaleFactors (conf.getParameter<std::vector<double>>("layer1HFScaleFactors"));
307 
308  m_params_helper.setLayer1ECalScaleETBins(conf.getParameter<std::vector<int>>("layer1ECalScaleETBins"));
309  m_params_helper.setLayer1HCalScaleETBins(conf.getParameter<std::vector<int>>("layer1HCalScaleETBins"));
310  m_params_helper.setLayer1HFScaleETBins (conf.getParameter<std::vector<int>>("layer1HFScaleETBins"));
311 
312  m_params_helper.setLayer1ECalScalePhiBins(conf.getParameter<std::vector<unsigned>>("layer1ECalScalePhiBins"));
313  m_params_helper.setLayer1HCalScalePhiBins(conf.getParameter<std::vector<unsigned>>("layer1HCalScalePhiBins"));
314  m_params_helper.setLayer1HFScalePhiBins (conf.getParameter<std::vector<unsigned>>("layer1HFScalePhiBins"));
315 
316  m_params = (CaloParams)m_params_helper;
317 }
318 
319 
321 {
322 
323  // do anything here that needs to be done at desctruction time
324  // (e.g. close files, deallocate resources etc.)
325 
326 }
327 
328 
329 //
330 // member functions
331 //
332 
333 // ------------ method called to produce the data ------------
336 {
337  using namespace edm::es;
338  return std::make_shared<CaloParams>(m_params);
339 }
340 
341 
342 
343 //define this as a plug-in
void setEtSumEtaMax(unsigned isum, int eta)
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
T getParameter(std::string const &) const
void setTauMaxJetIsolationA(double cutValue)
void setEgCalibrationVersion(unsigned version)
void setCentralityLUT(const l1t::LUT &lut)
void setLayer1HCalScaleETBins(const std::vector< int > params)
void setIsoTauEtaMax(int value)
void setTauMinPtJetIsolationB(double limit)
void setRegionPUSType(std::string type)
void setEgNeighbourThreshold(double thresh)
void setEgMinPtHOverEIsolation(int cutValue)
void setEgLsb(double lsb)
void setJetCalibrationParams(std::vector< double > params)
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
void setTauCalibrationLUT(const l1t::LUT &lut)
void setTauLsb(double lsb)
void setEtSumBypassPUS(unsigned flag)
void setTauIsolationLUT(const l1t::LUT &lut)
void setJetCalibrationLUT(const l1t::LUT &lut)
void setTauNeighbourThreshold(double thresh)
void setEgMaxPtJetIsolation(int cutValue)
void setEgHOverEcutEndcap(int cut)
void setEgHcalThreshold(double thresh)
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
void setCentralityRegionMask(int mask)
delete x;
Definition: CaloConfig.h:22
L1TCaloParamsESProducer(const edm::ParameterSet &)
void setJetCompressEtaLUT(const l1t::LUT &lut)
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
void setEgCalibrationLUT(const l1t::LUT &lut)
void setLayer1ECalScalePhiBins(const std::vector< unsigned > params)
void setEgShapeIdLUT(const l1t::LUT &lut)
void setEtSumYCalibrationType(std::string type)
void setJetCompressPtLUT(const l1t::LUT &lut)
void setEgHOverEcutBarrel(int cut)
void setEtSumEcalSumCalibrationType(std::string type)
ReturnType produce(const L1TCaloParamsRcd &)
void setEtSumEtaMin(unsigned isum, int eta)
void setTauMaxPtTauVeto(double limit)
void setEtSumXCalibrationLUT(const l1t::LUT &lut)
void setRegionLsb(double lsb)
void setJetCalibrationType(std::string type)
void setTowerLsbH(double lsb)
void setEgMinPtJetIsolation(int cutValue)
void setEgBypassEGVetos(unsigned flag)
void setTauCompressLUT(const l1t::LUT &lut)
void setLayer1HFScaleETBins(const std::vector< int > params)
void setEtSumEtThreshold(unsigned isum, double thresh)
void setTauPUSType(std::string type)
void setEgPUSType(std::string type)
void setLayer1ECalScaleETBins(const std::vector< int > params)
void setTauSeedThreshold(double thresh)
void setTowerEncoding(bool doit)
void setTauMaxJetIsolationB(double limit)
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
void setTowerNBitsSum(int n)
void setJetNeighbourThreshold(double thresh)
void setEgShapeIdVersion(unsigned version)
void setTauRegionMask(int mask)
void setJetRegionMask(int mask)
void setEgEtaCut(int mask)
void setEgMaxHcalEt(double cut)
void setEtSumPUSType(std::string type)
std::shared_ptr< CaloParams > ReturnType
void setJetLsb(double lsb)
void setTauPUSParams(const std::vector< double > &params)
void setEtSumEttCalibrationType(std::string type)
void setQ2LUT(const l1t::LUT &lut)
void setLayer1HCalScaleFactors(const std::vector< double > params)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
void setEgMaxHOverELUT(const l1t::LUT &lut)
void setLayer1HFScaleFactors(const std::vector< double > params)
void setMinimumBiasThresholds(std::vector< int > thresholds)
void setJetSeedThreshold(double thresh)
void setEtSumPUSLUT(const l1t::LUT &lut)
void setEtSumYCalibrationLUT(const l1t::LUT &lut)
void setEgMaxPtHOverE(double thresh)
void setEgTrimmingLUT(const l1t::LUT &lut)
void setRegionPUSParams(const std::vector< double > &params)
void setEtSumXCalibrationType(std::string type)
void setEgIsolationLUT(const l1t::LUT &lut)
void setEgMaxPtHOverEIsolation(int cutValue)
void setTauIsolationLUT2(const l1t::LUT &lut)
void setJetBypassPUS(unsigned flag)
void setEgSeedThreshold(double thresh)
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
void setLayer1ECalScaleFactors(const std::vector< double > params)
void setLayer1HCalScalePhiBins(const std::vector< unsigned > params)
void setJetPUSType(std::string type)
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
void setEtSumLsb(double lsb)
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
std::string fullPath() const
Definition: FileInPath.cc:184
std::vector< unsigned short int > LUT
Definition: DTTracoLUTs.h:32
void setEgShapeIdType(std::string type)
void setIsoTauEtaMin(int value)
void setTowerLsbSum(double lsb)
void setLayer1HFScalePhiBins(const std::vector< unsigned > params)
void setEgPUSParams(const std::vector< double > &params)
void setTowerLsbE(double lsb)
void setEgCalibrationType(std::string type)
void setEgCompressShapesLUT(const l1t::LUT &lut)
void setTowerNBitsRatio(int n)
void setEgIsolationType(std::string type)