CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
AnalyzerMinbias Class Reference
Inheritance diagram for AnalyzerMinbias:
edm::EDAnalyzer edm::EDConsumerBase

Classes

struct  myInfo
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
 AnalyzerMinbias (const edm::ParameterSet &)
 
void beginJob () override
 
void endJob () override
 
 ~AnalyzerMinbias () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyzeHcal (const HcalRespCorrs *myRecalib, const HBHERecHitCollection &HithbheNS, const HBHERecHitCollection &HithbheMB, const HFRecHitCollection &HithfNS, const HFRecHitCollection &HithfMB, int algoBit, bool fill)
 

Private Attributes

int cells
 
int depth
 
float eta
 
std::string fOutputFileName
 
TH1D * h_Noise [4]
 
TH1D * h_Signal [4]
 
std::string hcalfile_
 
TFile * hOutputFile
 
int ieta
 
bool ignoreL1_
 
int iphi
 
float mom0_Diff
 
float mom0_MB
 
float mom0_Noise
 
float mom1_Diff
 
float mom1_MB
 
float mom1_Noise
 
float mom2_Diff
 
float mom2_MB
 
float mom2_Noise
 
float mom3_Diff
 
float mom3_MB
 
float mom3_Noise
 
float mom4_Diff
 
float mom4_MB
 
float mom4_Noise
 
int mydet
 
std::map< std::pair< int, HcalDetId >, myInfomyMap_
 
std::ofstream * myout_hcal
 
int mysubd
 
TTree * myTree
 
float occup
 
float phi
 
double rnnum
 
double rnnumber
 
bool runNZS_
 
bool theRecalib_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbheNormal_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbherecoMB_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbherecoNoise_
 
edm::EDGetTokenT< HFRecHitCollectiontok_hfrecoMB_
 
edm::EDGetTokenT< HFRecHitCollectiontok_hfrecoNoise_
 
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecordtok_hltL1GtMap_
 
edm::EDGetTokenT< HORecHitCollectiontok_horecoMB_
 
edm::EDGetTokenT< HORecHitCollectiontok_horecoNoise_
 
edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcdtok_respCorr_
 
int trigbit
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 59 of file AnalyzerMinbias.cc.

Constructor & Destructor Documentation

◆ AnalyzerMinbias()

AnalyzerMinbias::AnalyzerMinbias ( const edm::ParameterSet iConfig)
explicit

Definition at line 114 of file AnalyzerMinbias.cc.

114  {
115  // get name of output file with histogramms
116  fOutputFileName = iConfig.getUntrackedParameter<std::string>("HistOutFile");
117 
118  // get token names of modules, producing object collections
119  tok_hbherecoMB_ = consumes<HBHERecHitCollection>(iConfig.getParameter<edm::InputTag>("hbheInputMB"));
120  tok_horecoMB_ = consumes<HORecHitCollection>(iConfig.getParameter<edm::InputTag>("hoInputMB"));
121  tok_hfrecoMB_ = consumes<HFRecHitCollection>(iConfig.getParameter<edm::InputTag>("hfInputMB"));
122 
123  tok_hbherecoNoise_ = consumes<HBHERecHitCollection>(iConfig.getParameter<edm::InputTag>("hbheInputNoise"));
124  tok_horecoNoise_ = consumes<HORecHitCollection>(iConfig.getParameter<edm::InputTag>("hoInputNoise"));
125  tok_hfrecoNoise_ = consumes<HFRecHitCollection>(iConfig.getParameter<edm::InputTag>("hfInputNoise"));
126 
127  theRecalib_ = iConfig.getParameter<bool>("Recalib");
128  ignoreL1_ = iConfig.getUntrackedParameter<bool>("IgnoreL1", true);
129  runNZS_ = iConfig.getUntrackedParameter<bool>("RunNZS", true);
130 
131  tok_hbheNormal_ = consumes<HBHERecHitCollection>(edm::InputTag("hbhereco"));
132  tok_hltL1GtMap_ = consumes<L1GlobalTriggerObjectMapRecord>(edm::InputTag("hltL1GtObjectMap"));
133 
134  tok_respCorr_ = esConsumes<HcalRespCorrs, HcalRespCorrsRcd>();
135 }

References fOutputFileName, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ignoreL1_, runNZS_, AlCaHLTBitMon_QueryRunRegistry::string, theRecalib_, tok_hbheNormal_, tok_hbherecoMB_, tok_hbherecoNoise_, tok_hfrecoMB_, tok_hfrecoNoise_, tok_hltL1GtMap_, tok_horecoMB_, tok_horecoNoise_, and tok_respCorr_.

◆ ~AnalyzerMinbias()

AnalyzerMinbias::~AnalyzerMinbias ( )
override

Definition at line 137 of file AnalyzerMinbias.cc.

137 {}

Member Function Documentation

◆ analyze()

void AnalyzerMinbias::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 242 of file AnalyzerMinbias.cc.

242  {
243  rnnum = (float)iEvent.run();
244  const HcalRespCorrs* myRecalib = nullptr;
245  if (theRecalib_) {
246  myRecalib = &iSetup.getData(tok_respCorr_);
247  } // theRecalib
248 
250  iEvent.getByToken(tok_hbheNormal_, hbheNormal);
251  if (!hbheNormal.isValid()) {
252  edm::LogVerbatim("AnalyzerMB") << " hbheNormal failed";
253  } else {
254  edm::LogVerbatim("AnalyzerMB") << " The size of the normal collection " << hbheNormal->size();
255  }
256 
258  iEvent.getByToken(tok_hbherecoNoise_, hbheNS);
259  if (!hbheNS.isValid()) {
260  edm::LogWarning("AnalyzerMB") << "HcalCalibAlgos: Error! can't get hbheNoise product!";
261  return;
262  }
263  const HBHERecHitCollection HithbheNS = *(hbheNS.product());
264  edm::LogVerbatim("AnalyzerMB") << "HBHE NS size of collection " << HithbheNS.size();
265  if (runNZS_ && HithbheNS.size() != 5184) {
266  edm::LogWarning("AnalyzerMB") << "HBHE NS problem " << rnnum << " size " << HithbheNS.size();
267  return;
268  }
269 
271  iEvent.getByToken(tok_hbherecoMB_, hbheMB);
272  if (!hbheMB.isValid()) {
273  edm::LogWarning("AnalyzerMB") << "HcalCalibAlgos: Error! can't get hbhe product!";
274  return;
275  }
276  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
277  edm::LogVerbatim("AnalyzerMB") << "HBHE MB size of collection " << HithbheMB.size();
278  if (runNZS_ && HithbheMB.size() != 5184) {
279  edm::LogWarning("AnalyzerMB") << "HBHE problem " << rnnum << " size " << HithbheMB.size();
280  return;
281  }
282 
284  iEvent.getByToken(tok_hfrecoNoise_, hfNS);
285  if (!hfNS.isValid()) {
286  edm::LogWarning("AnalyzerMB") << "HcalCalibAlgos: Error! can't get hfNoise product!";
287  return;
288  }
289  const HFRecHitCollection HithfNS = *(hfNS.product());
290  edm::LogVerbatim("AnalyzerMB") << "HF NS size of collection " << HithfNS.size();
291  if (runNZS_ && HithfNS.size() != 1728) {
292  edm::LogWarning("AnalyzerMB") << "HF NS problem " << rnnum << " size " << HithfNS.size();
293  return;
294  }
295 
297  iEvent.getByToken(tok_hfrecoMB_, hfMB);
298  if (!hfMB.isValid()) {
299  edm::LogWarning("AnalyzerMB") << "HcalCalibAlgos: Error! can't get hf product!";
300  return;
301  }
302  const HFRecHitCollection HithfMB = *(hfMB.product());
303  edm::LogVerbatim("AnalyzerMB") << "HF MB size of collection " << HithfMB.size();
304  if (runNZS_ && HithfMB.size() != 1728) {
305  edm::LogWarning("AnalyzerMB") << "HF problem " << rnnum << " size " << HithfMB.size();
306  return;
307  }
308 
309  if (ignoreL1_) {
310  analyzeHcal(myRecalib, HithbheNS, HithbheMB, HithfNS, HithfMB, 1, true);
311  } else {
313  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
314  if (gtObjectMapRecord.isValid()) {
315  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
316  int ii(0);
317  bool ok(false), fill(true);
318  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
319  ++itMap, ++ii) {
320  bool resultGt = (*itMap).algoGtlResult();
321  if (resultGt == 1) {
322  ok = true;
323  int algoBit = (*itMap).algoBitNumber();
324  analyzeHcal(myRecalib, HithbheNS, HithbheMB, HithfNS, HithfMB, algoBit, fill);
325  fill = false;
326  std::string algoNameStr = (*itMap).algoName();
327 #ifdef EDM_ML_DEBUG
328  edm::LogVerbatim("AnalyzerMB") << "Trigger[" << ii << "] " << algoNameStr << " bit " << algoBit << " entered";
329 #endif
330  }
331  }
332  if (!ok)
333  edm::LogVerbatim("AnalyzerMB") << "No passed L1 Triggers";
334  }
335  }
336 }

References analyzeHcal(), ntuplemaker::fill, dqmMemoryStats::float, edm::EventSetup::getData(), L1GlobalTriggerObjectMapRecord::gtObjectMap(), iEvent, ignoreL1_, cuy::ii, edm::HandleBase::isValid(), convertSQLiteXML::ok, edm::Handle< T >::product(), rnnum, runNZS_, edm::SortedCollection< T, SORT >::size(), AlCaHLTBitMon_QueryRunRegistry::string, theRecalib_, tok_hbheNormal_, tok_hbherecoMB_, tok_hbherecoNoise_, tok_hfrecoMB_, tok_hfrecoNoise_, tok_hltL1GtMap_, and tok_respCorr_.

◆ analyzeHcal()

void AnalyzerMinbias::analyzeHcal ( const HcalRespCorrs myRecalib,
const HBHERecHitCollection HithbheNS,
const HBHERecHitCollection HithbheMB,
const HFRecHitCollection HithfNS,
const HFRecHitCollection HithfMB,
int  algoBit,
bool  fill 
)
private

Definition at line 338 of file AnalyzerMinbias.cc.

344  {
345  // Noise part for HB HE
346  std::map<std::pair<int, HcalDetId>, myInfo> tmpMap;
347  tmpMap.clear();
348 
349  for (HBHERecHitCollection::const_iterator hbheItr = HithbheNS.begin(); hbheItr != HithbheNS.end(); hbheItr++) {
350  // Recalibration of energy
351  float icalconst = 1.;
352  DetId mydetid = hbheItr->id().rawId();
353  if (theRecalib_)
354  icalconst = myRecalib->getValues(mydetid)->getValue();
355 
356  HBHERecHit aHit(hbheItr->id(), hbheItr->energy() * icalconst, hbheItr->time());
357  double energyhit = aHit.energy();
358 
359  DetId id = (*hbheItr).detid();
360  HcalDetId hid = HcalDetId(id);
361  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
362  if (itr1 == myMap_.end()) {
363  myInfo info;
364  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
365  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
366  }
367  itr1->second.theNS0++;
368  itr1->second.theNS1 += energyhit;
369  itr1->second.theNS2 += (energyhit * energyhit);
370  itr1->second.theNS3 += (energyhit * energyhit * energyhit);
371  itr1->second.theNS4 += (energyhit * energyhit * energyhit * energyhit);
372  itr1->second.runcheck = rnnum;
373  if (fill)
374  h_Noise[hid.subdet() - 1]->Fill(energyhit);
375 
376  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr2 = tmpMap.find(std::pair<int, HcalDetId>(algoBit, hid));
377  if (itr2 == tmpMap.end()) {
378  myInfo info;
379  tmpMap[std::pair<int, HcalDetId>(algoBit, hid)] = info;
380  itr2 = tmpMap.find(std::pair<int, HcalDetId>(algoBit, hid));
381  }
382  itr2->second.theNS0++;
383  itr2->second.theNS1 += energyhit;
384  itr2->second.theNS2 += (energyhit * energyhit);
385  itr2->second.theNS3 += (energyhit * energyhit * energyhit);
386  itr2->second.theNS4 += (energyhit * energyhit * energyhit * energyhit);
387  itr2->second.runcheck = rnnum;
388 
389  } // HBHE_NS
390 
391  // Signal part for HB HE
392 
393  for (HBHERecHitCollection::const_iterator hbheItr = HithbheMB.begin(); hbheItr != HithbheMB.end(); hbheItr++) {
394  // Recalibration of energy
395  float icalconst = 1.;
396  DetId mydetid = hbheItr->id().rawId();
397  if (theRecalib_)
398  icalconst = myRecalib->getValues(mydetid)->getValue();
399 
400  HBHERecHit aHit(hbheItr->id(), hbheItr->energy() * icalconst, hbheItr->time());
401  double energyhit = aHit.energy();
402 
403  DetId id = (*hbheItr).detid();
404  HcalDetId hid = HcalDetId(id);
405 
406  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
407  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr2 = tmpMap.find(std::pair<int, HcalDetId>(algoBit, hid));
408 
409  if (itr1 == myMap_.end()) {
410  myInfo info;
411  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
412  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
413  }
414  itr1->second.theMB0++;
415  itr1->second.theDif0 = 0;
416  itr1->second.theMB1 += energyhit;
417  itr1->second.theMB2 += (energyhit * energyhit);
418  itr1->second.theMB3 += (energyhit * energyhit * energyhit);
419  itr1->second.theMB4 += (energyhit * energyhit * energyhit * energyhit);
420  itr1->second.runcheck = rnnum;
421  float mydiff = 0.0;
422  if (itr2 != tmpMap.end()) {
423  mydiff = energyhit - (itr2->second.theNS1);
424  itr1->second.theDif0++;
425  itr1->second.theDif1 += mydiff;
426  itr1->second.theDif2 += (mydiff * mydiff);
427  if (fill)
428  h_Signal[hid.subdet() - 1]->Fill(mydiff);
429  }
430  } // HBHE_MB
431 
432  // HF
433 
434  for (HFRecHitCollection::const_iterator hbheItr = HithfNS.begin(); hbheItr != HithfNS.end(); hbheItr++) {
435  // Recalibration of energy
436  float icalconst = 1.;
437  DetId mydetid = hbheItr->id().rawId();
438  if (theRecalib_)
439  icalconst = myRecalib->getValues(mydetid)->getValue();
440 
441  HFRecHit aHit(hbheItr->id(), hbheItr->energy() * icalconst, hbheItr->time());
442  double energyhit = aHit.energy();
443  // Remove PMT hits
444  if (fabs(energyhit) > 40.)
445  continue;
446  DetId id = (*hbheItr).detid();
447  HcalDetId hid = HcalDetId(id);
448 
449  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
450 
451  if (itr1 == myMap_.end()) {
452  myInfo info;
453  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
454  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
455  }
456  itr1->second.theNS0++;
457  itr1->second.theNS1 += energyhit;
458  itr1->second.theNS2 += (energyhit * energyhit);
459  itr1->second.theNS3 += (energyhit * energyhit * energyhit);
460  itr1->second.theNS4 += (energyhit * energyhit * energyhit * energyhit);
461  itr1->second.runcheck = rnnum;
462  if (fill)
463  h_Noise[hid.subdet() - 1]->Fill(energyhit);
464 
465  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr2 = tmpMap.find(std::pair<int, HcalDetId>(algoBit, hid));
466  if (itr2 == tmpMap.end()) {
467  myInfo info;
468  tmpMap[std::pair<int, HcalDetId>(algoBit, hid)] = info;
469  itr2 = tmpMap.find(std::pair<int, HcalDetId>(algoBit, hid));
470  }
471  itr2->second.theNS0++;
472  itr2->second.theNS1 += energyhit;
473  itr2->second.theNS2 += (energyhit * energyhit);
474  itr2->second.theNS3 += (energyhit * energyhit * energyhit);
475  itr2->second.theNS4 += (energyhit * energyhit * energyhit * energyhit);
476  itr2->second.runcheck = rnnum;
477 
478  } // HF_NS
479 
480  // Signal part for HF
481 
482  for (HFRecHitCollection::const_iterator hbheItr = HithfMB.begin(); hbheItr != HithfMB.end(); hbheItr++) {
483  // Recalibration of energy
484  float icalconst = 1.;
485  DetId mydetid = hbheItr->id().rawId();
486  if (theRecalib_)
487  icalconst = myRecalib->getValues(mydetid)->getValue();
488  HFRecHit aHit(hbheItr->id(), hbheItr->energy() * icalconst, hbheItr->time());
489 
490  double energyhit = aHit.energy();
491  // Remove PMT hits
492  if (fabs(energyhit) > 40.)
493  continue;
494 
495  DetId id = (*hbheItr).detid();
496  HcalDetId hid = HcalDetId(id);
497 
498  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
499  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr2 = tmpMap.find(std::pair<int, HcalDetId>(algoBit, hid));
500 
501  if (itr1 == myMap_.end()) {
502  myInfo info;
503  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
504  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
505  }
506  itr1->second.theMB0++;
507  itr1->second.theDif0 = 0;
508  itr1->second.theMB1 += energyhit;
509  itr1->second.theMB2 += (energyhit * energyhit);
510  itr1->second.theMB3 += (energyhit * energyhit * energyhit);
511  itr1->second.theMB4 += (energyhit * energyhit * energyhit * energyhit);
512  itr1->second.runcheck = rnnum;
513  float mydiff = 0.0;
514  if (itr2 != tmpMap.end()) {
515  mydiff = energyhit - (itr2->second.theNS1);
516  itr1->second.theDif0++;
517  itr1->second.theDif1 += mydiff;
518  itr1->second.theDif2 += (mydiff * mydiff);
519  if (fill)
520  h_Signal[hid.subdet() - 1]->Fill(mydiff);
521  }
522  }
523 }

References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), CaloRecHit::energy(), ntuplemaker::fill, HcalRespCorr::getValue(), HcalCondObjectContainer< Item >::getValues(), h_Noise, h_Signal, info(), myMap_, DetId::rawId(), rnnum, HcalDetId::subdet(), and theRecalib_.

Referenced by analyze().

◆ beginJob()

void AnalyzerMinbias::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 139 of file AnalyzerMinbias.cc.

139  {
140  std::string det[4] = {"HB", "HE", "HO", "HF"};
141  char name[80], title[80];
142  for (int subd = 0; subd < 4; ++subd) {
143  sprintf(name, "Noise_%s", det[subd].c_str());
144  sprintf(title, "Energy Distribution for Noise in %s", det[subd].c_str());
145  h_Noise[subd] = new TH1D(name, title, 100, -10., 10.);
146  sprintf(name, "Signal_%s", det[subd].c_str());
147  sprintf(title, "Energy Distribution for Signal in %s", det[subd].c_str());
148  h_Signal[subd] = new TH1D(name, title, 100, -10., 10.);
149  }
150 
151  hOutputFile = new TFile(fOutputFileName.c_str(), "RECREATE");
152  myTree = new TTree("RecJet", "RecJet Tree");
153  myTree->Branch("mydet", &mydet, "mydet/I");
154  myTree->Branch("mysubd", &mysubd, "mysubd/I");
155  myTree->Branch("cells", &cells, "cells");
156  myTree->Branch("depth", &depth, "depth/I");
157  myTree->Branch("ieta", &ieta, "ieta/I");
158  myTree->Branch("iphi", &iphi, "iphi/I");
159  myTree->Branch("eta", &eta, "eta/F");
160  myTree->Branch("phi", &phi, "phi/F");
161  myTree->Branch("mom0_MB", &mom0_MB, "mom0_MB/F");
162  myTree->Branch("mom1_MB", &mom1_MB, "mom1_MB/F");
163  myTree->Branch("mom2_MB", &mom2_MB, "mom2_MB/F");
164  myTree->Branch("mom3_MB", &mom3_MB, "mom3_MB/F");
165  myTree->Branch("mom4_MB", &mom4_MB, "mom4_MB/F");
166  myTree->Branch("mom0_Noise", &mom0_Noise, "mom0_Noise/F");
167  myTree->Branch("mom1_Noise", &mom1_Noise, "mom1_Noise/F");
168  myTree->Branch("mom2_Noise", &mom2_Noise, "mom2_Noise/F");
169  myTree->Branch("mom3_Noise", &mom3_Noise, "mom3_Noise/F");
170  myTree->Branch("mom4_Noise", &mom4_Noise, "mom4_Noise/F");
171  myTree->Branch("mom0_Diff", &mom0_Diff, "mom0_Diff/F");
172  myTree->Branch("mom1_Diff", &mom1_Diff, "mom1_Diff/F");
173  myTree->Branch("mom2_Diff", &mom2_Diff, "mom2_Diff/F");
174  myTree->Branch("occup", &occup, "occup/F");
175  myTree->Branch("trigbit", &trigbit, "trigbit/I");
176  myTree->Branch("rnnumber", &rnnumber, "rnnumber/D");
177 
178  myMap_.clear();
179 }

References cells, depth, eta, fOutputFileName, h_Noise, h_Signal, hOutputFile, ieta, iphi, mom0_Diff, mom0_MB, mom0_Noise, mom1_Diff, mom1_MB, mom1_Noise, mom2_Diff, mom2_MB, mom2_Noise, mom3_MB, mom3_Noise, mom4_MB, mom4_Noise, mydet, myMap_, mysubd, myTree, Skims_PA_cff::name, occup, phi, rnnumber, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and trigbit.

◆ endJob()

void AnalyzerMinbias::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 183 of file AnalyzerMinbias.cc.

183  {
184  int ii = 0;
185  for (std::map<std::pair<int, HcalDetId>, myInfo>::const_iterator itr = myMap_.begin(); itr != myMap_.end(); ++itr) {
186 #ifdef EDM_ML_DEBUG
187  edm::LogVerbatim("AnalyzerMB") << "Fired trigger bit number " << itr->first.first;
188 #endif
189  myInfo info = itr->second;
190  if (info.theMB0 > 0) {
191  mom0_MB = info.theMB0;
192  mom1_MB = info.theMB1;
193  mom2_MB = info.theMB2;
194  mom3_MB = info.theMB3;
195  mom4_MB = info.theMB4;
196  mom0_Noise = info.theNS0;
197  mom1_Noise = info.theNS1;
198  mom2_Noise = info.theNS2;
199  mom3_Noise = info.theNS3;
200  mom4_Noise = info.theNS4;
201  mom0_Diff = info.theDif0;
202  mom1_Diff = info.theDif1;
203  mom2_Diff = info.theDif2;
204  rnnumber = info.runcheck;
205  trigbit = itr->first.first;
206  mysubd = itr->first.second.subdet();
207  depth = itr->first.second.depth();
208  ieta = itr->first.second.ieta();
209  iphi = itr->first.second.iphi();
210 #ifdef EDM_ML_DEBUG
211  edm::LogVerbatim("AnalyzerMB") << " Result= " << trigbit << " " << mysubd << " " << ieta << " " << iphi
212  << " mom0 " << mom0_MB << " mom1 " << mom1_MB << " mom2 " << mom2_MB << " mom3 "
213  << mom3_MB << " mom4 " << mom4_MB << " mom0_Noise " << mom0_Noise << " mom1_Noise "
214  << mom1_Noise << " mom2_Noise " << mom2_Noise << " mom3_Noise " << mom3_Noise
215  << " mom4_Noise " << mom4_Noise << " mom0_Diff " << mom0_Diff << " mom1_Diff "
216  << mom1_Diff << " mom2_Diff " << mom2_Diff;
217 #endif
218  myTree->Fill();
219  ii++;
220  }
221  }
222  cells = ii;
223 #ifdef EDM_ML_DEBUG
224  edm::LogVerbatim("AnalyzerMB") << "cells " << cells;
225 #endif
226  hOutputFile->Write();
227  hOutputFile->cd();
228  myTree->Write();
229  for (int i = 0; i < 4; i++) {
230  h_Noise[i]->Write();
231  h_Signal[i]->Write();
232  }
233  hOutputFile->Close();
234 }

References cells, depth, h_Noise, h_Signal, hOutputFile, mps_fire::i, ieta, cuy::ii, info(), iphi, genParticles_cff::map, mom0_Diff, mom0_MB, mom0_Noise, mom1_Diff, mom1_MB, mom1_Noise, mom2_Diff, mom2_MB, mom2_Noise, mom3_MB, mom3_Noise, mom4_MB, mom4_Noise, myMap_, mysubd, myTree, rnnumber, and trigbit.

Referenced by o2olib.O2ORunMgr::executeJob().

Member Data Documentation

◆ cells

int AnalyzerMinbias::cells
private

Definition at line 99 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ depth

int AnalyzerMinbias::depth
private

◆ eta

float AnalyzerMinbias::eta
private

◆ fOutputFileName

std::string AnalyzerMinbias::fOutputFileName
private

Definition at line 89 of file AnalyzerMinbias.cc.

Referenced by AnalyzerMinbias(), and beginJob().

◆ h_Noise

TH1D* AnalyzerMinbias::h_Noise[4]
private

Definition at line 93 of file AnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginJob(), and endJob().

◆ h_Signal

TH1D * AnalyzerMinbias::h_Signal[4]
private

Definition at line 93 of file AnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginJob(), and endJob().

◆ hcalfile_

std::string AnalyzerMinbias::hcalfile_
private

Definition at line 89 of file AnalyzerMinbias.cc.

◆ hOutputFile

TFile* AnalyzerMinbias::hOutputFile
private

Definition at line 91 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ ieta

int AnalyzerMinbias::ieta
private

Definition at line 99 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ ignoreL1_

bool AnalyzerMinbias::ignoreL1_
private

Definition at line 94 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ iphi

int AnalyzerMinbias::iphi
private

Definition at line 99 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom0_Diff

float AnalyzerMinbias::mom0_Diff
private

Definition at line 103 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom0_MB

float AnalyzerMinbias::mom0_MB
private

Definition at line 101 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom0_Noise

float AnalyzerMinbias::mom0_Noise
private

Definition at line 102 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom1_Diff

float AnalyzerMinbias::mom1_Diff
private

Definition at line 103 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom1_MB

float AnalyzerMinbias::mom1_MB
private

Definition at line 101 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom1_Noise

float AnalyzerMinbias::mom1_Noise
private

Definition at line 102 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom2_Diff

float AnalyzerMinbias::mom2_Diff
private

Definition at line 103 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom2_MB

float AnalyzerMinbias::mom2_MB
private

Definition at line 101 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom2_Noise

float AnalyzerMinbias::mom2_Noise
private

Definition at line 102 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom3_Diff

float AnalyzerMinbias::mom3_Diff
private

Definition at line 103 of file AnalyzerMinbias.cc.

◆ mom3_MB

float AnalyzerMinbias::mom3_MB
private

Definition at line 101 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom3_Noise

float AnalyzerMinbias::mom3_Noise
private

Definition at line 102 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom4_Diff

float AnalyzerMinbias::mom4_Diff
private

Definition at line 103 of file AnalyzerMinbias.cc.

◆ mom4_MB

float AnalyzerMinbias::mom4_MB
private

Definition at line 101 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom4_Noise

float AnalyzerMinbias::mom4_Noise
private

Definition at line 102 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mydet

int AnalyzerMinbias::mydet
private

Definition at line 99 of file AnalyzerMinbias.cc.

Referenced by beginJob().

◆ myMap_

std::map<std::pair<int, HcalDetId>, myInfo> AnalyzerMinbias::myMap_
private

Definition at line 105 of file AnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginJob(), and endJob().

◆ myout_hcal

std::ofstream* AnalyzerMinbias::myout_hcal
private

Definition at line 90 of file AnalyzerMinbias.cc.

◆ mysubd

int AnalyzerMinbias::mysubd
private

Definition at line 99 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ myTree

TTree* AnalyzerMinbias::myTree
private

Definition at line 92 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ occup

float AnalyzerMinbias::occup
private

Definition at line 101 of file AnalyzerMinbias.cc.

Referenced by beginJob().

◆ phi

float AnalyzerMinbias::phi
private

◆ rnnum

double AnalyzerMinbias::rnnum
private

Definition at line 95 of file AnalyzerMinbias.cc.

Referenced by analyze(), and analyzeHcal().

◆ rnnumber

double AnalyzerMinbias::rnnumber
private

Definition at line 98 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ runNZS_

bool AnalyzerMinbias::runNZS_
private

Definition at line 94 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ theRecalib_

bool AnalyzerMinbias::theRecalib_
private

Definition at line 94 of file AnalyzerMinbias.cc.

Referenced by analyze(), analyzeHcal(), and AnalyzerMinbias().

◆ tok_hbheNormal_

edm::EDGetTokenT<HBHERecHitCollection> AnalyzerMinbias::tok_hbheNormal_
private

Definition at line 109 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ tok_hbherecoMB_

edm::EDGetTokenT<HBHERecHitCollection> AnalyzerMinbias::tok_hbherecoMB_
private

Definition at line 106 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ tok_hbherecoNoise_

edm::EDGetTokenT<HBHERecHitCollection> AnalyzerMinbias::tok_hbherecoNoise_
private

Definition at line 106 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ tok_hfrecoMB_

edm::EDGetTokenT<HFRecHitCollection> AnalyzerMinbias::tok_hfrecoMB_
private

Definition at line 107 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ tok_hfrecoNoise_

edm::EDGetTokenT<HFRecHitCollection> AnalyzerMinbias::tok_hfrecoNoise_
private

Definition at line 107 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ tok_hltL1GtMap_

edm::EDGetTokenT<L1GlobalTriggerObjectMapRecord> AnalyzerMinbias::tok_hltL1GtMap_
private

Definition at line 110 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ tok_horecoMB_

edm::EDGetTokenT<HORecHitCollection> AnalyzerMinbias::tok_horecoMB_
private

Definition at line 108 of file AnalyzerMinbias.cc.

Referenced by AnalyzerMinbias().

◆ tok_horecoNoise_

edm::EDGetTokenT<HORecHitCollection> AnalyzerMinbias::tok_horecoNoise_
private

Definition at line 108 of file AnalyzerMinbias.cc.

Referenced by AnalyzerMinbias().

◆ tok_respCorr_

edm::ESGetToken<HcalRespCorrs, HcalRespCorrsRcd> AnalyzerMinbias::tok_respCorr_
private

Definition at line 111 of file AnalyzerMinbias.cc.

Referenced by analyze(), and AnalyzerMinbias().

◆ trigbit

int AnalyzerMinbias::trigbit
private

Definition at line 99 of file AnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

AnalyzerMinbias::mom2_Noise
float mom2_Noise
Definition: AnalyzerMinbias.cc:102
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
HcalRespCorrs
Definition: HcalRespCorrs.h:17
mps_fire.i
i
Definition: mps_fire.py:428
AnalyzerMinbias::mom4_Noise
float mom4_Noise
Definition: AnalyzerMinbias.cc:102
AnalyzerMinbias::eta
float eta
Definition: AnalyzerMinbias.cc:100
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
CaloRecHit::energy
constexpr float energy() const
Definition: CaloRecHit.h:29
edm::Handle::product
T const * product() const
Definition: Handle.h:70
AnalyzerMinbias::mom0_Noise
float mom0_Noise
Definition: AnalyzerMinbias.cc:102
HBHERecHit
Definition: HBHERecHit.h:13
AnalyzerMinbias::tok_hbherecoMB_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbherecoMB_
Definition: AnalyzerMinbias.cc:106
AnalyzerMinbias::tok_hbheNormal_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbheNormal_
Definition: AnalyzerMinbias.cc:109
AnalyzerMinbias::theRecalib_
bool theRecalib_
Definition: AnalyzerMinbias.cc:94
edm::SortedCollection
Definition: SortedCollection.h:49
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
AnalyzerMinbias::analyzeHcal
void analyzeHcal(const HcalRespCorrs *myRecalib, const HBHERecHitCollection &HithbheNS, const HBHERecHitCollection &HithbheMB, const HFRecHitCollection &HithfNS, const HFRecHitCollection &HithfMB, int algoBit, bool fill)
Definition: AnalyzerMinbias.cc:338
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle
Definition: AssociativeIterator.h:50
AnalyzerMinbias::tok_hbherecoNoise_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbherecoNoise_
Definition: AnalyzerMinbias.cc:106
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HcalCondObjectContainer::getValues
const Item * getValues(DetId fId, bool throwOnFail=true) const
Definition: HcalCondObjectContainer.h:159
AnalyzerMinbias::tok_hfrecoMB_
edm::EDGetTokenT< HFRecHitCollection > tok_hfrecoMB_
Definition: AnalyzerMinbias.cc:107
AnalyzerMinbias::mom3_MB
float mom3_MB
Definition: AnalyzerMinbias.cc:101
AnalyzerMinbias::trigbit
int trigbit
Definition: AnalyzerMinbias.cc:99
DetId
Definition: DetId.h:17
AnalyzerMinbias::rnnum
double rnnum
Definition: AnalyzerMinbias.cc:95
HFRecHit
Definition: HFRecHit.h:11
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
AnalyzerMinbias::tok_horecoNoise_
edm::EDGetTokenT< HORecHitCollection > tok_horecoNoise_
Definition: AnalyzerMinbias.cc:108
AnalyzerMinbias::h_Noise
TH1D * h_Noise[4]
Definition: AnalyzerMinbias.cc:93
AnalyzerMinbias::h_Signal
TH1D * h_Signal[4]
Definition: AnalyzerMinbias.cc:93
AnalyzerMinbias::ieta
int ieta
Definition: AnalyzerMinbias.cc:99
AnalyzerMinbias::mom0_Diff
float mom0_Diff
Definition: AnalyzerMinbias.cc:103
AnalyzerMinbias::mydet
int mydet
Definition: AnalyzerMinbias.cc:99
AnalyzerMinbias::tok_respCorr_
edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcd > tok_respCorr_
Definition: AnalyzerMinbias.cc:111
AnalyzerMinbias::tok_horecoMB_
edm::EDGetTokenT< HORecHitCollection > tok_horecoMB_
Definition: AnalyzerMinbias.cc:108
ntuplemaker.fill
fill
Definition: ntuplemaker.py:304
AnalyzerMinbias::occup
float occup
Definition: AnalyzerMinbias.cc:101
HcalRespCorr::getValue
float getValue() const
Definition: HcalRespCorr.h:19
AnalyzerMinbias::mysubd
int mysubd
Definition: AnalyzerMinbias.cc:99
AnalyzerMinbias::runNZS_
bool runNZS_
Definition: AnalyzerMinbias.cc:94
AnalyzerMinbias::hOutputFile
TFile * hOutputFile
Definition: AnalyzerMinbias.cc:91
AnalyzerMinbias::iphi
int iphi
Definition: AnalyzerMinbias.cc:99
AnalyzerMinbias::myMap_
std::map< std::pair< int, HcalDetId >, myInfo > myMap_
Definition: AnalyzerMinbias.cc:105
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
AnalyzerMinbias::mom2_MB
float mom2_MB
Definition: AnalyzerMinbias.cc:101
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
AnalyzerMinbias::tok_hltL1GtMap_
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > tok_hltL1GtMap_
Definition: AnalyzerMinbias.cc:110
HcalDetId
Definition: HcalDetId.h:12
iEvent
int iEvent
Definition: GenABIO.cc:224
AnalyzerMinbias::phi
float phi
Definition: AnalyzerMinbias.cc:100
AnalyzerMinbias::fOutputFileName
std::string fOutputFileName
Definition: AnalyzerMinbias.cc:89
AnalyzerMinbias::mom1_Diff
float mom1_Diff
Definition: AnalyzerMinbias.cc:103
AnalyzerMinbias::cells
int cells
Definition: AnalyzerMinbias.cc:99
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
AnalyzerMinbias::mom1_MB
float mom1_MB
Definition: AnalyzerMinbias.cc:101
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
AnalyzerMinbias::mom2_Diff
float mom2_Diff
Definition: AnalyzerMinbias.cc:103
AnalyzerMinbias::myTree
TTree * myTree
Definition: AnalyzerMinbias.cc:92
AnalyzerMinbias::mom1_Noise
float mom1_Noise
Definition: AnalyzerMinbias.cc:102
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
L1GlobalTriggerObjectMapRecord::gtObjectMap
const std::vector< L1GlobalTriggerObjectMap > & gtObjectMap() const
get / set the vector of object maps
Definition: L1GlobalTriggerObjectMapRecord.h:64
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
AnalyzerMinbias::depth
int depth
Definition: AnalyzerMinbias.cc:99
AnalyzerMinbias::rnnumber
double rnnumber
Definition: AnalyzerMinbias.cc:98
AnalyzerMinbias::mom3_Noise
float mom3_Noise
Definition: AnalyzerMinbias.cc:102
genParticles_cff.map
map
Definition: genParticles_cff.py:11
AnalyzerMinbias::mom4_MB
float mom4_MB
Definition: AnalyzerMinbias.cc:101
AnalyzerMinbias::ignoreL1_
bool ignoreL1_
Definition: AnalyzerMinbias.cc:94
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
AnalyzerMinbias::mom0_MB
float mom0_MB
Definition: AnalyzerMinbias.cc:101
cuy.ii
ii
Definition: cuy.py:589
edm::InputTag
Definition: InputTag.h:15
AnalyzerMinbias::tok_hfrecoNoise_
edm::EDGetTokenT< HFRecHitCollection > tok_hfrecoNoise_
Definition: AnalyzerMinbias.cc:107