CMS 3D CMS Logo

BXVectorInputProducer.cc
Go to the documentation of this file.
1 
14 // system include files
15 #include <memory>
16 
17 // user include files
18 
29 
30 //#include <vector>
32 
38 
43 
44 #include "TMath.h"
45 
46 using namespace std;
47 using namespace edm;
48 
49 #ifndef M_PI
50 #define M_PI 3.14159265358979323846
51 #endif
52 
53 namespace l1t {
54 
55  //
56  // class declaration
57  //
58 
60  public:
61  explicit BXVectorInputProducer(const ParameterSet&);
62  ~BXVectorInputProducer() override;
63 
64  static void fillDescriptions(ConfigurationDescriptions& descriptions);
65 
66  private:
67  void produce(Event&, EventSetup const&) override;
68  void beginJob() override;
69  void endJob() override;
70  void beginRun(Run const& iR, EventSetup const& iE) override;
71  void endRun(Run const& iR, EventSetup const& iE) override;
72 
73  int convertPhiToHW(double iphi, int steps);
74  int convertEtaToHW(double ieta, double minEta, double maxEta, int steps);
75  int convertPtToHW(double ipt, int maxPt, double step);
76 
77  // ----------member data ---------------------------
78  unsigned long long m_paramsCacheId; // Cache-ID from current parameters, to check if needs to be updated.
79  //std::shared_ptr<const CaloParams> m_dbpars; // Database parameters for the trigger, to be updated as needed.
80  //std::shared_ptr<const FirmwareVersion> m_fwv;
81  //std::shared_ptr<FirmwareVersion> m_fwv; //not const during testing.
82 
83  // BX parameters
84  int bxFirst_;
85  int bxLast_;
86 
87  unsigned int maxNumMuCands_;
88  unsigned int maxNumJetCands_;
89  unsigned int maxNumEGCands_;
90  unsigned int maxNumTauCands_;
91 
96 
97  // Control how to end the job
101 
102  // Tokens for inputs from other parts of the L1 system
108 
109  int counter_;
110 
111  std::vector<l1t::Muon> muonVec_bxm2;
112  std::vector<l1t::Muon> muonVec_bxm1;
113  std::vector<l1t::Muon> muonVec_bx0;
114  std::vector<l1t::Muon> muonVec_bxp1;
115 
116  std::vector<l1t::EGamma> egammaVec_bxm2;
117  std::vector<l1t::EGamma> egammaVec_bxm1;
118  std::vector<l1t::EGamma> egammaVec_bx0;
119  std::vector<l1t::EGamma> egammaVec_bxp1;
120 
121  std::vector<l1t::Tau> tauVec_bxm2;
122  std::vector<l1t::Tau> tauVec_bxm1;
123  std::vector<l1t::Tau> tauVec_bx0;
124  std::vector<l1t::Tau> tauVec_bxp1;
125 
126  std::vector<l1t::Jet> jetVec_bxm2;
127  std::vector<l1t::Jet> jetVec_bxm1;
128  std::vector<l1t::Jet> jetVec_bx0;
129  std::vector<l1t::Jet> jetVec_bxp1;
130 
131  std::vector<l1t::EtSum> etsumVec_bxm2;
132  std::vector<l1t::EtSum> etsumVec_bxm1;
133  std::vector<l1t::EtSum> etsumVec_bx0;
134  std::vector<l1t::EtSum> etsumVec_bxp1;
135  };
136 
137  //
138  // constructors and destructor
139  //
140  BXVectorInputProducer::BXVectorInputProducer(const ParameterSet& iConfig) {
141  egToken = consumes<BXVector<l1t::EGamma>>(iConfig.getParameter<InputTag>("egInputTag"));
142  muToken = consumes<BXVector<l1t::Muon>>(iConfig.getParameter<InputTag>("muInputTag"));
143  tauToken = consumes<BXVector<l1t::Tau>>(iConfig.getParameter<InputTag>("tauInputTag"));
144  jetToken = consumes<BXVector<l1t::Jet>>(iConfig.getParameter<InputTag>("jetInputTag"));
145  etsumToken = consumes<BXVector<l1t::EtSum>>(iConfig.getParameter<InputTag>("etsumInputTag"));
146 
147  // register what you produce
148  produces<BXVector<l1t::EGamma>>();
149  produces<BXVector<l1t::Muon>>();
150  produces<BXVector<l1t::Tau>>();
151  produces<BXVector<l1t::Jet>>();
152  produces<BXVector<l1t::EtSum>>();
153 
154  // Setup parameters
155  bxFirst_ = iConfig.getParameter<int>("bxFirst");
156  bxLast_ = iConfig.getParameter<int>("bxLast");
157 
158  maxNumMuCands_ = iConfig.getParameter<unsigned int>("maxMuCand");
159  maxNumJetCands_ = iConfig.getParameter<unsigned int>("maxJetCand");
160  maxNumEGCands_ = iConfig.getParameter<unsigned int>("maxEGCand");
161  maxNumTauCands_ = iConfig.getParameter<unsigned int>("maxTauCand");
162 
163  jetEtThreshold_ = iConfig.getParameter<double>("jetEtThreshold");
164  tauEtThreshold_ = iConfig.getParameter<double>("tauEtThreshold");
165  egEtThreshold_ = iConfig.getParameter<double>("egEtThreshold");
166  muEtThreshold_ = iConfig.getParameter<double>("muEtThreshold");
167 
168  emptyBxTrailer_ = iConfig.getParameter<int>("emptyBxTrailer");
169  emptyBxEvt_ = iConfig.getParameter<int>("emptyBxEvt");
170 
171  // set cache id to zero, will be set at first beginRun:
172  m_paramsCacheId = 0;
173  eventCnt_ = 0;
174  }
175 
176  BXVectorInputProducer::~BXVectorInputProducer() {}
177 
178  //
179  // member functions
180  //
181 
182  // ------------ method called to produce the data ------------
183  void BXVectorInputProducer::produce(Event& iEvent, const EventSetup& iSetup) {
184  eventCnt_++;
185 
186  LogDebug("l1t|Global") << "BXVectorInputProducer::produce function called...\n";
187 
188  // Setup vectors
189  std::vector<l1t::Muon> muonVec;
190  std::vector<l1t::EGamma> egammaVec;
191  std::vector<l1t::Tau> tauVec;
192  std::vector<l1t::Jet> jetVec;
193  std::vector<l1t::EtSum> etsumVec;
194 
195  // Set the range of BX....TO DO...move to Params or determine from param set.
196  int bxFirst = bxFirst_;
197  int bxLast = bxLast_;
198 
199  //outputs
200  std::unique_ptr<l1t::EGammaBxCollection> egammas(new l1t::EGammaBxCollection(0, bxFirst, bxLast));
201  std::unique_ptr<l1t::MuonBxCollection> muons(new l1t::MuonBxCollection(0, bxFirst, bxLast));
202  std::unique_ptr<l1t::TauBxCollection> taus(new l1t::TauBxCollection(0, bxFirst, bxLast));
203  std::unique_ptr<l1t::JetBxCollection> jets(new l1t::JetBxCollection(0, bxFirst, bxLast));
204  std::unique_ptr<l1t::EtSumBxCollection> etsums(new l1t::EtSumBxCollection(0, bxFirst, bxLast));
205 
206  std::vector<int> mu_cands_index;
207  std::vector<int> eg_cands_index;
208  std::vector<int> tau_cands_index;
209 
210  // Bx to use...grab only bx=0 for now
211  int bx = 0;
212 
213  // Make sure that you can get input EG
214  Handle<BXVector<l1t::EGamma>> inputEgammas;
215  if (iEvent.getByToken(egToken, inputEgammas)) {
216  for (std::vector<l1t::EGamma>::const_iterator eg = inputEgammas->begin(bx); eg != inputEgammas->end(bx); ++eg) {
217  if (eg->hwPt() > egEtThreshold_ && egammaVec.size() < maxNumEGCands_) {
218  egammaVec.push_back((*eg));
219  }
220  }
221  } else {
222  LogTrace("l1t|Global") << ">>> input EG collection not found!" << std::endl;
223  }
224 
225  // Make sure that you can get input Muons
227  if (iEvent.getByToken(muToken, inputMuons)) {
228  for (std::vector<l1t::Muon>::const_iterator mu = inputMuons->begin(bx); mu != inputMuons->end(bx); ++mu) {
229  if (mu->hwPt() > muEtThreshold_ && muonVec.size() < maxNumMuCands_) {
230  muonVec.push_back((*mu));
231  }
232  }
233  } else {
234  LogTrace("l1t|Global") << ">>> input Mu collection not found!" << std::endl;
235  }
236 
237  // Make sure that you can get input Tau
238  Handle<BXVector<l1t::Tau>> inputTaus;
239  if (iEvent.getByToken(tauToken, inputTaus)) {
240  for (std::vector<l1t::Tau>::const_iterator tau = inputTaus->begin(bx); tau != inputTaus->end(bx); ++tau) {
241  if (tau->hwPt() > tauEtThreshold_ && tauVec.size() < maxNumTauCands_) {
242  tauVec.push_back((*tau));
243  }
244  }
245  } else {
246  LogTrace("l1t|Global") << ">>> input tau collection not found!" << std::endl;
247  }
248 
249  // Make sure that you can get input jet
251  if (iEvent.getByToken(jetToken, inputJets)) {
252  for (std::vector<l1t::Jet>::const_iterator jet = inputJets->begin(bx); jet != inputJets->end(bx); ++jet) {
253  if (jet->hwPt() > jetEtThreshold_ && jetVec.size() < maxNumJetCands_) {
254  jetVec.push_back((*jet));
255  }
256  }
257  } else {
258  LogTrace("l1t|Global") << ">>> input jet collection not found!" << std::endl;
259  }
260 
261  // Make sure that you can get input etsum
262  Handle<BXVector<l1t::EtSum>> inputEtsums;
263  if (iEvent.getByToken(etsumToken, inputEtsums)) {
264  for (std::vector<l1t::EtSum>::const_iterator etsum = inputEtsums->begin(bx); etsum != inputEtsums->end(bx);
265  ++etsum) {
266  etsumVec.push_back((*etsum));
267  }
268  } else {
269  LogTrace("l1t|Global") << ">>> input etsum collection not found!" << std::endl;
270  }
271 
272  // Insert all the bx into the L1 Collections
273  LogTrace("l1t|Global") << "Event " << eventCnt_ << " EmptyBxEvt " << emptyBxEvt_ << " emptyBxTrailer "
274  << emptyBxTrailer_ << " diff " << (emptyBxEvt_ - eventCnt_) << std::endl;
275 
276  // Fill Muons
277  for (int iMu = 0; iMu < int(muonVec_bxm2.size()); iMu++) {
278  muons->push_back(-2, muonVec_bxm2[iMu]);
279  }
280  for (int iMu = 0; iMu < int(muonVec_bxm1.size()); iMu++) {
281  muons->push_back(-1, muonVec_bxm1[iMu]);
282  }
283  for (int iMu = 0; iMu < int(muonVec_bx0.size()); iMu++) {
284  muons->push_back(0, muonVec_bx0[iMu]);
285  }
286  for (int iMu = 0; iMu < int(muonVec_bxp1.size()); iMu++) {
287  muons->push_back(1, muonVec_bxp1[iMu]);
288  }
289  if (emptyBxTrailer_ <= (emptyBxEvt_ - eventCnt_)) {
290  for (int iMu = 0; iMu < int(muonVec.size()); iMu++) {
291  muons->push_back(2, muonVec[iMu]);
292  }
293  } else {
294  // this event is part of empty trailer...clear out data
295  muonVec.clear();
296  }
297 
298  // Fill Egammas
299  for (int iEG = 0; iEG < int(egammaVec_bxm2.size()); iEG++) {
300  egammas->push_back(-2, egammaVec_bxm2[iEG]);
301  }
302  for (int iEG = 0; iEG < int(egammaVec_bxm1.size()); iEG++) {
303  egammas->push_back(-1, egammaVec_bxm1[iEG]);
304  }
305  for (int iEG = 0; iEG < int(egammaVec_bx0.size()); iEG++) {
306  egammas->push_back(0, egammaVec_bx0[iEG]);
307  }
308  for (int iEG = 0; iEG < int(egammaVec_bxp1.size()); iEG++) {
309  egammas->push_back(1, egammaVec_bxp1[iEG]);
310  }
311  if (emptyBxTrailer_ <= (emptyBxEvt_ - eventCnt_)) {
312  for (int iEG = 0; iEG < int(egammaVec.size()); iEG++) {
313  egammas->push_back(2, egammaVec[iEG]);
314  }
315  } else {
316  // this event is part of empty trailer...clear out data
317  egammaVec.clear();
318  }
319 
320  // Fill Taus
321  for (int iTau = 0; iTau < int(tauVec_bxm2.size()); iTau++) {
322  taus->push_back(-2, tauVec_bxm2[iTau]);
323  }
324  for (int iTau = 0; iTau < int(tauVec_bxm1.size()); iTau++) {
325  taus->push_back(-1, tauVec_bxm1[iTau]);
326  }
327  for (int iTau = 0; iTau < int(tauVec_bx0.size()); iTau++) {
328  taus->push_back(0, tauVec_bx0[iTau]);
329  }
330  for (int iTau = 0; iTau < int(tauVec_bxp1.size()); iTau++) {
331  taus->push_back(1, tauVec_bxp1[iTau]);
332  }
333  if (emptyBxTrailer_ <= (emptyBxEvt_ - eventCnt_)) {
334  for (int iTau = 0; iTau < int(tauVec.size()); iTau++) {
335  taus->push_back(2, tauVec[iTau]);
336  }
337  } else {
338  // this event is part of empty trailer...clear out data
339  tauVec.clear();
340  }
341 
342  // Fill Jets
343  for (int iJet = 0; iJet < int(jetVec_bxm2.size()); iJet++) {
344  jets->push_back(-2, jetVec_bxm2[iJet]);
345  }
346  for (int iJet = 0; iJet < int(jetVec_bxm1.size()); iJet++) {
347  jets->push_back(-1, jetVec_bxm1[iJet]);
348  }
349  for (int iJet = 0; iJet < int(jetVec_bx0.size()); iJet++) {
350  jets->push_back(0, jetVec_bx0[iJet]);
351  }
352  for (int iJet = 0; iJet < int(jetVec_bxp1.size()); iJet++) {
353  jets->push_back(1, jetVec_bxp1[iJet]);
354  }
355  if (emptyBxTrailer_ <= (emptyBxEvt_ - eventCnt_)) {
356  for (int iJet = 0; iJet < int(jetVec.size()); iJet++) {
357  jets->push_back(2, jetVec[iJet]);
358  }
359  } else {
360  // this event is part of empty trailer...clear out data
361  jetVec.clear();
362  }
363 
364  // Fill Etsums
365  for (int iETsum = 0; iETsum < int(etsumVec_bxm2.size()); iETsum++) {
366  etsums->push_back(-2, etsumVec_bxm2[iETsum]);
367  }
368  for (int iETsum = 0; iETsum < int(etsumVec_bxm1.size()); iETsum++) {
369  etsums->push_back(-1, etsumVec_bxm1[iETsum]);
370  }
371  for (int iETsum = 0; iETsum < int(etsumVec_bx0.size()); iETsum++) {
372  etsums->push_back(0, etsumVec_bx0[iETsum]);
373  }
374  for (int iETsum = 0; iETsum < int(etsumVec_bxp1.size()); iETsum++) {
375  etsums->push_back(1, etsumVec_bxp1[iETsum]);
376  }
377  if (emptyBxTrailer_ <= (emptyBxEvt_ - eventCnt_)) {
378  for (int iETsum = 0; iETsum < int(etsumVec.size()); iETsum++) {
379  etsums->push_back(2, etsumVec[iETsum]);
380  }
381  } else {
382  // this event is part of empty trailer...clear out data
383  etsumVec.clear();
384  }
385 
386  iEvent.put(std::move(egammas));
387  iEvent.put(std::move(muons));
388  iEvent.put(std::move(taus));
389  iEvent.put(std::move(jets));
390  iEvent.put(std::move(etsums));
391 
392  // Now shift the bx data by one to prepare for next event.
393  muonVec_bxm2 = muonVec_bxm1;
394  egammaVec_bxm2 = egammaVec_bxm1;
395  tauVec_bxm2 = tauVec_bxm1;
396  jetVec_bxm2 = jetVec_bxm1;
397  etsumVec_bxm2 = etsumVec_bxm1;
398 
399  muonVec_bxm1 = muonVec_bx0;
400  egammaVec_bxm1 = egammaVec_bx0;
401  tauVec_bxm1 = tauVec_bx0;
402  jetVec_bxm1 = jetVec_bx0;
403  etsumVec_bxm1 = etsumVec_bx0;
404 
405  muonVec_bx0 = muonVec_bxp1;
406  egammaVec_bx0 = egammaVec_bxp1;
407  tauVec_bx0 = tauVec_bxp1;
408  jetVec_bx0 = jetVec_bxp1;
409  etsumVec_bx0 = etsumVec_bxp1;
410 
411  muonVec_bxp1 = muonVec;
412  egammaVec_bxp1 = egammaVec;
413  tauVec_bxp1 = tauVec;
414  jetVec_bxp1 = jetVec;
415  etsumVec_bxp1 = etsumVec;
416  }
417 
418  // ------------ method called once each job just before starting event loop ------------
420 
421  // ------------ method called once each job just after ending the event loop ------------
422  void BXVectorInputProducer::endJob() {}
423 
424  // ------------ method called when starting to processes a run ------------
425 
426  void BXVectorInputProducer::beginRun(Run const& iR, EventSetup const& iE) {
427  LogDebug("l1t|Global") << "BXVectorInputProducer::beginRun function called...\n";
428 
429  counter_ = 0;
430  }
431 
432  // ------------ method called when ending the processing of a run ------------
433  void BXVectorInputProducer::endRun(Run const& iR, EventSetup const& iE) {}
434 
435  // ------------ methods to convert from physical to HW values ------------
436  int BXVectorInputProducer::convertPhiToHW(double iphi, int steps) {
437  double phiMax = 2 * M_PI;
438  if (iphi < 0)
439  iphi += 2 * M_PI;
440  if (iphi > phiMax)
441  iphi -= phiMax;
442 
443  int hwPhi = int((iphi / phiMax) * steps + 0.00001);
444  return hwPhi;
445  }
446 
447  int BXVectorInputProducer::convertEtaToHW(double ieta, double minEta, double maxEta, int steps) {
448  double binWidth = (maxEta - minEta) / steps;
449 
450  //if we are outside the limits, set error
451  if (ieta < minEta)
452  return 99999; //ieta = minEta+binWidth/2.;
453  if (ieta > maxEta)
454  return 99999; //ieta = maxEta-binWidth/2.;
455 
456  int binNum = (int)(ieta / binWidth);
457  if (ieta < 0.)
458  binNum--;
459 
460  // unsigned int hwEta = binNum & bitMask;
461  // Remove masking for BXVectors...only assume in raw data
462 
463  return binNum;
464  }
465 
466  int BXVectorInputProducer::convertPtToHW(double ipt, int maxPt, double step) {
467  int hwPt = int(ipt / step + 0.0001);
468  // if above max Pt, set to largest value
469  if (hwPt > maxPt)
470  hwPt = maxPt;
471 
472  return hwPt;
473  }
474 
475  // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
477  //The following says we do not know what parameters are allowed so do no validation
478  // Please change this to state exactly what you do use, even if it is no parameters
480  desc.setUnknown();
481  descriptions.addDefault(desc);
482  }
483 
484 } // namespace l1t
485 
486 //define this as a plug-in
l1t::BXVectorInputProducer::emptyBxTrailer_
int emptyBxTrailer_
Definition: BXVectorInputProducer.cc:98
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
Ecal2004TBTDCRanges_v1_cff.endRun
endRun
Definition: Ecal2004TBTDCRanges_v1_cff.py:4
bk::beginJob
void beginJob()
Definition: Breakpoints.cc:14
l1t::BXVectorInputProducer::tauVec_bxm2
std::vector< l1t::Tau > tauVec_bxm2
Definition: BXVectorInputProducer.cc:121
MessageLogger.h
BXVector.h
EDProducer.h
l1t::BXVectorInputProducer::jetVec_bxp1
std::vector< l1t::Jet > jetVec_bxp1
Definition: BXVectorInputProducer.cc:129
l1t::BXVectorInputProducer::tauVec_bxp1
std::vector< l1t::Tau > tauVec_bxp1
Definition: BXVectorInputProducer.cc:124
ESHandle.h
step
step
Definition: StallMonitor.cc:94
metsig::tau
Definition: SignAlgoResolutions.h:49
GenMETCollection.h
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
edm::Run
Definition: Run.h:45
Tau3MuMonitor_cff.taus
taus
Definition: Tau3MuMonitor_cff.py:7
edm
HLT enums.
Definition: AlignableModifier.h:19
l1t::BXVectorInputProducer::muEtThreshold_
double muEtThreshold_
Definition: BXVectorInputProducer.cc:95
Muon.h
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
Jet.h
l1t::BXVectorInputProducer::counter_
int counter_
Definition: BXVectorInputProducer.cc:109
l1t::BXVectorInputProducer::jetVec_bxm2
std::vector< l1t::Jet > jetVec_bxm2
Definition: BXVectorInputProducer.cc:126
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
l1t::BXVectorInputProducer::jetVec_bxm1
std::vector< l1t::Jet > jetVec_bxm1
Definition: BXVectorInputProducer.cc:127
edm::Handle
Definition: AssociativeIterator.h:50
l1t::BXVectorInputProducer::maxNumMuCands_
unsigned int maxNumMuCands_
Definition: BXVectorInputProducer.cc:87
l1t::BXVectorInputProducer::egammaVec_bxp1
std::vector< l1t::EGamma > egammaVec_bxp1
Definition: BXVectorInputProducer.cc:119
GenParticle.h
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
BXVector
Definition: BXVector.h:15
MuonErrorMatrixAnalyzer_cfi.maxPt
maxPt
Definition: MuonErrorMatrixAnalyzer_cfi.py:19
MakerMacros.h
l1t::BXVectorInputProducer::egammaVec_bxm2
std::vector< l1t::EGamma > egammaVec_bxm2
Definition: BXVectorInputProducer.cc:116
l1t::BXVectorInputProducer::muonVec_bx0
std::vector< l1t::Muon > muonVec_bx0
Definition: BXVectorInputProducer.cc:113
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
l1t::BXVectorInputProducer::muToken
edm::EDGetToken muToken
Definition: BXVectorInputProducer.cc:104
EGamma.h
l1t::BXVectorInputProducer::etsumToken
edm::EDGetToken etsumToken
Definition: BXVectorInputProducer.cc:107
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
l1t::BXVectorInputProducer::muonVec_bxm1
std::vector< l1t::Muon > muonVec_bxm1
Definition: BXVectorInputProducer.cc:112
maxEta
double maxEta
Definition: PFJetBenchmarkAnalyzer.cc:76
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
l1t::BXVectorInputProducer::etsumVec_bxm2
std::vector< l1t::EtSum > etsumVec_bxm2
Definition: BXVectorInputProducer.cc:131
EDGetToken.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
GenMET.h
l1t::BXVectorInputProducer::tauVec_bxm1
std::vector< l1t::Tau > tauVec_bxm1
Definition: BXVectorInputProducer.cc:122
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
l1t::BXVectorInputProducer::etsumVec_bxm1
std::vector< l1t::EtSum > etsumVec_bxm1
Definition: BXVectorInputProducer.cc:132
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
edm::ParameterSet
Definition: ParameterSet.h:36
l1t::BXVectorInputProducer::emptyBxEvt_
int emptyBxEvt_
Definition: BXVectorInputProducer.cc:99
l1t::BXVectorInputProducer::etsumVec_bxp1
std::vector< l1t::EtSum > etsumVec_bxp1
Definition: BXVectorInputProducer.cc:134
Event.h
l1t::BXVectorInputProducer::jetVec_bx0
std::vector< l1t::Jet > jetVec_bx0
Definition: BXVectorInputProducer.cc:128
l1t::BXVectorInputProducer::maxNumEGCands_
unsigned int maxNumEGCands_
Definition: BXVectorInputProducer.cc:89
l1t
delete x;
Definition: CaloConfig.h:22
l1t::BXVectorInputProducer::jetToken
edm::EDGetToken jetToken
Definition: BXVectorInputProducer.cc:106
l1t::BXVectorInputProducer::egEtThreshold_
double egEtThreshold_
Definition: BXVectorInputProducer.cc:94
l1t::BXVectorInputProducer::etsumVec_bx0
std::vector< l1t::EtSum > etsumVec_bx0
Definition: BXVectorInputProducer.cc:133
l1t::BXVectorInputProducer::tauVec_bx0
std::vector< l1t::Tau > tauVec_bx0
Definition: BXVectorInputProducer.cc:123
l1t::BXVectorInputProducer::bxLast_
int bxLast_
Definition: BXVectorInputProducer.cc:85
l1t::BXVectorInputProducer::eventCnt_
int eventCnt_
Definition: BXVectorInputProducer.cc:100
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
l1t::BXVectorInputProducer::m_paramsCacheId
unsigned long long m_paramsCacheId
Definition: BXVectorInputProducer.cc:78
l1t::BXVectorInputProducer::egToken
edm::EDGetToken egToken
Definition: BXVectorInputProducer.cc:103
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50
edm::ParameterSetDescription::setUnknown
void setUnknown()
Definition: ParameterSetDescription.cc:39
edm::EventSetup
Definition: EventSetup.h:57
edm::EDGetToken
Definition: EDGetToken.h:35
unpackData-CaloStage1.tauToken
tauToken
Definition: unpackData-CaloStage1.py:164
l1t::BXVectorInputProducer::muonVec_bxm2
std::vector< l1t::Muon > muonVec_bxm2
Definition: BXVectorInputProducer.cc:111
l1t::BXVectorInputProducer::maxNumTauCands_
unsigned int maxNumTauCands_
Definition: BXVectorInputProducer.cc:90
InputTag.h
simCaloStage2Layer1Digis_cfi.bxFirst
bxFirst
Definition: simCaloStage2Layer1Digis_cfi.py:7
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
l1t::BXVectorInputProducer::egammaVec_bxm1
std::vector< l1t::EGamma > egammaVec_bxm1
Definition: BXVectorInputProducer.cc:117
l1t::BXVectorInputProducer::maxNumJetCands_
unsigned int maxNumJetCands_
Definition: BXVectorInputProducer.cc:88
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
simCaloStage2Layer1Digis_cfi.bxLast
bxLast
Definition: simCaloStage2Layer1Digis_cfi.py:8
l1t::BXVectorInputProducer::tauEtThreshold_
double tauEtThreshold_
Definition: BXVectorInputProducer.cc:93
l1t::BXVectorInputProducer::muonVec_bxp1
std::vector< l1t::Muon > muonVec_bxp1
Definition: BXVectorInputProducer.cc:114
Frameworkfwd.h
l1t::BXVectorInputProducer::tauToken
edm::EDGetToken tauToken
Definition: BXVectorInputProducer.cc:105
metsig::jet
Definition: SignAlgoResolutions.h:47
HLT_2018_cff.inputJets
inputJets
Definition: HLT_2018_cff.py:86469
l1t::BXVectorInputProducer::jetEtThreshold_
double jetEtThreshold_
Definition: BXVectorInputProducer.cc:92
EventSetup.h
edm::EDProducer
Definition: EDProducer.h:36
customisers.steps
steps
Definition: customisers.py:41
GenJet.h
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:671
ParameterSet.h
EtSum.h
l1t::BXVectorInputProducer::egammaVec_bx0
std::vector< l1t::EGamma > egammaVec_bx0
Definition: BXVectorInputProducer.cc:118
edm::Event
Definition: Event.h:73
EgHLTOffEleSelection_cfi.minEta
minEta
Definition: EgHLTOffEleSelection_cfi.py:11
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
l1t::BXVectorInputProducer
Definition: BXVectorInputProducer.cc:59
l1t::BXVectorInputProducer::bxFirst_
int bxFirst_
Definition: BXVectorInputProducer.cc:84
calomuons_cfi.inputMuons
inputMuons
Definition: calomuons_cfi.py:12
edm::InputTag
Definition: InputTag.h:15
unpackData-CaloStage1.egToken
egToken
Definition: unpackData-CaloStage1.py:162
unpackData-CaloStage1.jetToken
jetToken
Definition: unpackData-CaloStage1.py:163
Tau.h