CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
RecAnalyzerMinbias Class Reference

#include <Calibration/HcalCalibAlgos/test/RecAnalyzerMinbias.cc>

Inheritance diagram for RecAnalyzerMinbias:
edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Classes

struct  myInfo
 

Public Member Functions

 RecAnalyzerMinbias (const edm::ParameterSet &)
 
 ~RecAnalyzerMinbias () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () 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)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void analyzeHcal (const HBHERecHitCollection &, const HFRecHitCollection &, int, bool, double)
 
void beginJob () override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endJob () override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

int cells
 
std::map< DetId, double > corrFactor_
 
int depth
 
double eHighHB_
 
double eHighHE_
 
double eHighHF_
 
double eLowHB_
 
double eLowHE_
 
double eLowHF_
 
double eMin_
 
bool extraHist_
 
bool fillHist_
 
edm::Service< TFileServicefs_
 
TH1D * h_ [4]
 
TH1D * h_AmplitudeHB_
 
TH1D * h_AmplitudeHBtest_
 
TH1D * h_AmplitudeHE_
 
TH1D * h_AmplitudeHEtest_
 
TH1D * h_AmplitudeHF_
 
TH1D * h_AmplitudeHFtest_
 
TH2D * hb_
 
TH2D * hbhe_
 
TProfile * hbherun_
 
int HBHEsize
 
TProfile * hbrun_
 
std::vector< unsigned int > hcalID_
 
TH2D * he_
 
TProfile * herun_
 
TH2D * hf_
 
TProfile * hfrun_
 
int HFsize
 
std::map< HcalDetId, TH1D * > histHC_
 
std::vector< TH1D * > histo_
 
int ieta
 
bool ignoreL1_
 
bool init_
 
int iphi
 
float mom0_MB
 
float mom1_MB
 
float mom2_MB
 
float mom3_MB
 
float mom4_MB
 
std::map< std::pair< int, HcalDetId >, myInfomyMap_
 
int mysubd
 
TTree * myTree1_
 
TTree * myTree_
 
bool Noise_
 
double rnnum_
 
double rnnumber
 
int runMax_
 
int runMin_
 
bool runNZS_
 
bool theRecalib_
 
edm::EDGetTokenT< GenEventInfoProducttok_ew_
 
edm::EDGetTokenT< L1GlobalTriggerReadoutRecordtok_gtRec_
 
edm::EDGetTokenT< HBHEDigiCollectiontok_hbhedigi_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbherecoMB_
 
edm::EDGetTokenT< HFDigiCollectiontok_hfdigi_
 
edm::EDGetTokenT< HFRecHitCollectiontok_hfrecoMB_
 
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecordtok_hltL1GtMap_
 
edm::EDGetTokenT< HODigiCollectiontok_hodigi_
 
edm::ESGetToken< HcalTopology, HcalRecNumberingRecordtok_htopo_
 
edm::EDGetTokenT< QIE10DigiCollectiontok_qie10digi_
 
edm::EDGetTokenT< QIE11DigiCollectiontok_qie11digi_
 
int trigbit
 
std::vector< int > trigbit_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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

Description: Performs phi-symmetry studies of HB/HE/HF channels

Implementation: <Notes on="" implementation>="">

Definition at line 67 of file RecAnalyzerMinbias.cc.

Constructor & Destructor Documentation

◆ RecAnalyzerMinbias()

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

Definition at line 128 of file RecAnalyzerMinbias.cc.

128  : init_(false) {
129  usesResource("TFileService");
130 
131  // get name of output file with histogramms
132  runNZS_ = iConfig.getParameter<bool>("runNZS");
133  Noise_ = iConfig.getParameter<bool>("noise");
134  eLowHB_ = iConfig.getParameter<double>("eLowHB");
135  eHighHB_ = iConfig.getParameter<double>("eHighHB");
136  eLowHE_ = iConfig.getParameter<double>("eLowHE");
137  eHighHE_ = iConfig.getParameter<double>("eHighHE");
138  eLowHF_ = iConfig.getParameter<double>("eLowHF");
139  eHighHF_ = iConfig.getParameter<double>("eHighHF");
140  eMin_ = iConfig.getUntrackedParameter<double>("eMin", 2.0);
141  // The following run range is suited to study 2017 commissioning period
142  runMin_ = iConfig.getUntrackedParameter<int>("RunMin", 308327);
143  runMax_ = iConfig.getUntrackedParameter<int>("RunMax", 315250);
144  trigbit_ = iConfig.getUntrackedParameter<std::vector<int>>("triggerBits");
145  ignoreL1_ = iConfig.getUntrackedParameter<bool>("ignoreL1", false);
146  std::string cfile = iConfig.getUntrackedParameter<std::string>("corrFile");
147  fillHist_ = iConfig.getUntrackedParameter<bool>("fillHisto", false);
148  extraHist_ = iConfig.getUntrackedParameter<bool>("extraHisto", false);
149  std::vector<int> ieta = iConfig.getUntrackedParameter<std::vector<int>>("hcalIeta");
150  std::vector<int> iphi = iConfig.getUntrackedParameter<std::vector<int>>("hcalIphi");
151  std::vector<int> depth = iConfig.getUntrackedParameter<std::vector<int>>("hcalDepth");
152 
153  // get token names of modules, producing object collections
154  tok_hbherecoMB_ = consumes<HBHERecHitCollection>(iConfig.getParameter<edm::InputTag>("hbheInputMB"));
155  tok_hfrecoMB_ = consumes<HFRecHitCollection>(iConfig.getParameter<edm::InputTag>("hfInputMB"));
156  tok_hltL1GtMap_ = consumes<L1GlobalTriggerObjectMapRecord>(edm::InputTag("hltL1GtObjectMap"));
157  tok_ew_ = consumes<GenEventInfoProduct>(edm::InputTag("generator"));
158  tok_hbhedigi_ = consumes<HBHEDigiCollection>(iConfig.getParameter<edm::InputTag>("hcalDigiCollectionTag"));
159  tok_qie11digi_ = consumes<QIE11DigiCollection>(iConfig.getParameter<edm::InputTag>("hcalDigiCollectionTag"));
160  tok_hodigi_ = consumes<HODigiCollection>(iConfig.getParameter<edm::InputTag>("hcalDigiCollectionTag"));
161  tok_hfdigi_ = consumes<HFDigiCollection>(iConfig.getParameter<edm::InputTag>("hcalDigiCollectionTag"));
162  tok_qie10digi_ = consumes<QIE10DigiCollection>(iConfig.getParameter<edm::InputTag>("hcalDigiCollectionTag"));
163  tok_gtRec_ = consumes<L1GlobalTriggerReadoutRecord>(edm::InputTag("gtDigisAlCaMB"));
164 
165  tok_htopo_ = esConsumes<HcalTopology, HcalRecNumberingRecord, edm::Transition::BeginRun>();
166 
167  // Read correction factors
168  std::ifstream infile(cfile.c_str());
169  if (!infile.is_open()) {
170  theRecalib_ = false;
171  edm::LogWarning("RecAnalyzer") << "Cannot open '" << cfile << "' for the correction file";
172  } else {
173  unsigned int ndets(0), nrec(0);
174  while (true) {
175  unsigned int id;
176  double cfac;
177  infile >> id >> cfac;
178  if (!infile.good())
179  break;
180  HcalDetId detId(id);
181  nrec++;
182  std::map<DetId, double>::iterator itr = corrFactor_.find(detId);
183  if (itr == corrFactor_.end()) {
184  corrFactor_[detId] = cfac;
185  ndets++;
186  }
187  }
188  infile.close();
189  edm::LogVerbatim("RecAnalyzer") << "Reads " << nrec << " correction factors for " << ndets << " detIds";
190  theRecalib_ = (ndets > 0);
191  }
192 
193  edm::LogVerbatim("RecAnalyzer") << " Flags (ReCalib): " << theRecalib_ << " (IgnoreL1): " << ignoreL1_ << " (NZS) "
194  << runNZS_ << " and with " << ieta.size() << " detId for full histogram";
195  edm::LogVerbatim("RecAnalyzer") << "Thresholds for HB " << eLowHB_ << ":" << eHighHB_ << " for HE " << eLowHE_ << ":"
196  << eHighHE_ << " for HF " << eLowHF_ << ":" << eHighHF_;
197  for (unsigned int k = 0; k < ieta.size(); ++k) {
198  HcalSubdetector subd = ((std::abs(ieta[k]) > 29) ? HcalForward
199  : (std::abs(ieta[k]) > 16) ? HcalEndcap
200  : ((std::abs(ieta[k]) == 16) && (depth[k] == 3)) ? HcalEndcap
201  : (depth[k] == 4) ? HcalOuter
202  : HcalBarrel);
203  unsigned int id = (HcalDetId(subd, ieta[k], iphi[k], depth[k])).rawId();
204  hcalID_.push_back(id);
205  edm::LogVerbatim("RecAnalyzer") << "DetId[" << k << "] " << HcalDetId(id);
206  }
207  edm::LogVerbatim("RecAnalyzer") << "Select on " << trigbit_.size() << " L1 Trigger selection";
208  for (unsigned int k = 0; k < trigbit_.size(); ++k)
209  edm::LogVerbatim("RecAnalyzer") << "Bit[" << k << "] " << trigbit_[k];
210 }

References funct::abs(), corrFactor_, depth, eHighHB_, eHighHE_, eHighHF_, eLowHB_, eLowHE_, eLowHF_, eMin_, extraHist_, fillHist_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HcalBarrel, HcalEndcap, HcalForward, hcalID_, HcalOuter, triggerObjects_cff::id, ieta, ignoreL1_, timingPdfMaker::infile, iphi, dqmdumpme::k, Noise_, runMax_, runMin_, runNZS_, AlCaHLTBitMon_QueryRunRegistry::string, theRecalib_, tok_ew_, tok_gtRec_, tok_hbhedigi_, tok_hbherecoMB_, tok_hfdigi_, tok_hfrecoMB_, tok_hltL1GtMap_, tok_hodigi_, tok_htopo_, tok_qie10digi_, tok_qie11digi_, and trigbit_.

◆ ~RecAnalyzerMinbias()

RecAnalyzerMinbias::~RecAnalyzerMinbias ( )
override

Definition at line 212 of file RecAnalyzerMinbias.cc.

212 {}

Member Function Documentation

◆ analyze()

void RecAnalyzerMinbias::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 420 of file RecAnalyzerMinbias.cc.

420  {
421  rnnum_ = (double)iEvent.run();
422 
423  if (extraHist_) {
424  double amplitudefullHB(0), amplitudefullHE(0), amplitudefullHF(0);
426  iEvent.getByToken(tok_hbhedigi_, hbhedigi);
427  if (hbhedigi.isValid()) {
428  for (auto const& digi : *(hbhedigi.product())) {
429  int nTS = digi.size();
430  double amplitudefullTSs = 0.;
431  if (digi.id().subdet() == HcalBarrel) {
432  if (nTS <= 10) {
433  for (int i = 0; i < nTS; i++)
434  amplitudefullTSs += digi.sample(i).adc();
435  h_AmplitudeHBtest_->Fill(amplitudefullTSs);
436  amplitudefullHB += amplitudefullTSs;
437  }
438  }
439  if (digi.id().subdet() == HcalEndcap) {
440  if (nTS <= 10) {
441  for (int i = 0; i < nTS; i++)
442  amplitudefullTSs += digi.sample(i).adc();
443  h_AmplitudeHEtest_->Fill(amplitudefullTSs);
444  amplitudefullHE += amplitudefullTSs;
445  }
446  }
447  }
448  }
449 
451  iEvent.getByToken(tok_qie11digi_, qie11digi);
452  if (qie11digi.isValid()) {
453  for (QIE11DataFrame const digi : *(qie11digi.product())) {
454  double amplitudefullTSs = 0.;
455  if (HcalDetId(digi.id()).subdet() == HcalBarrel) {
456  for (int i = 0; i < digi.samples(); i++)
457  amplitudefullTSs += digi[i].adc();
458  h_AmplitudeHBtest_->Fill(amplitudefullTSs);
459  amplitudefullHB += amplitudefullTSs;
460  }
461  if (HcalDetId(digi.id()).subdet() == HcalEndcap) {
462  for (int i = 0; i < digi.samples(); i++)
463  amplitudefullTSs += digi[i].adc();
464  h_AmplitudeHEtest_->Fill(amplitudefullTSs);
465  amplitudefullHE += amplitudefullTSs;
466  }
467  }
468  }
469 
471  iEvent.getByToken(tok_hfdigi_, hfdigi);
472  if (hfdigi.isValid()) {
473  for (auto const& digi : *(hfdigi.product())) {
474  int nTS = digi.size();
475  double amplitudefullTSs = 0.;
476  if (digi.id().subdet() == HcalForward) {
477  if (nTS <= 10) {
478  for (int i = 0; i < nTS; i++)
479  amplitudefullTSs += digi.sample(i).adc();
480  h_AmplitudeHFtest_->Fill(amplitudefullTSs);
481  amplitudefullHF += amplitudefullTSs;
482  }
483  }
484  }
485  }
486 
488  iEvent.getByToken(tok_qie10digi_, qie10digi);
489  if (qie10digi.isValid()) {
490  for (QIE10DataFrame const digi : *(qie10digi.product())) {
491  double amplitudefullTSs = 0.;
492  if (HcalDetId(digi.id()).subdet() == HcalForward) {
493  for (int i = 0; i < digi.samples(); i++)
494  amplitudefullTSs += digi[i].adc();
495  h_AmplitudeHFtest_->Fill(amplitudefullTSs);
496  amplitudefullHF += amplitudefullTSs;
497  }
498  }
499  }
500 
501  h_AmplitudeHB_->Fill(amplitudefullHB);
502  h_AmplitudeHE_->Fill(amplitudefullHE);
503  h_AmplitudeHF_->Fill(amplitudefullHF);
504  }
505 
507  iEvent.getByToken(tok_hbherecoMB_, hbheMB);
508  if (!hbheMB.isValid()) {
509  edm::LogWarning("RecAnalyzer") << "HcalCalibAlgos: Error! can't get hbhe product!";
510  return;
511  }
512  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
513  HBHEsize = HithbheMB.size();
514  edm::LogVerbatim("RecAnalyzer") << "HBHE MB size of collection " << HithbheMB.size();
515  if (HithbheMB.size() < 5100 && runNZS_) {
516  edm::LogWarning("RecAnalyzer") << "HBHE problem " << rnnum_ << " size " << HBHEsize;
517  }
518 
520  iEvent.getByToken(tok_hfrecoMB_, hfMB);
521  if (!hfMB.isValid()) {
522  edm::LogWarning("RecAnalyzer") << "HcalCalibAlgos: Error! can't get hf product!";
523  return;
524  }
525  const HFRecHitCollection HithfMB = *(hfMB.product());
526  edm::LogVerbatim("RecAnalyzer") << "HF MB size of collection " << HithfMB.size();
527  HFsize = HithfMB.size();
528  if (HithfMB.size() < 1700 && runNZS_) {
529  edm::LogWarning("RecAnalyzer") << "HF problem " << rnnum_ << " size " << HFsize;
530  }
531 
532  bool select(false);
533  if (!trigbit_.empty()) {
535  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
536  if (gtObjectMapRecord.isValid()) {
537  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
538  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
539  ++itMap) {
540  bool resultGt = (*itMap).algoGtlResult();
541  if (resultGt) {
542  int algoBit = (*itMap).algoBitNumber();
543  if (std::find(trigbit_.begin(), trigbit_.end(), algoBit) != trigbit_.end()) {
544  select = true;
545  break;
546  }
547  }
548  }
549  }
550  }
551 
552  if (!trigbit_.empty() || select)
553  myTree1_->Fill();
554 
555  //event weight for FLAT sample and PU information
556  double eventWeight = 1.0;
558  iEvent.getByToken(tok_ew_, genEventInfo);
559  if (genEventInfo.isValid())
560  eventWeight = genEventInfo->weight();
561 #ifdef EDM_ML_DEBUG
562  edm::LogVerbatim("RecAnalyzer") << "Test HB " << HBHEsize << " HF " << HFsize << " Trigger " << trigbit_.size() << ":"
563  << select << ":" << ignoreL1_ << " Wt " << eventWeight;
564 #endif
565  if (ignoreL1_ || (!trigbit_.empty() && select)) {
566  analyzeHcal(HithbheMB, HithfMB, 1, true, eventWeight);
567  } else if ((!ignoreL1_) && (trigbit_.empty())) {
569  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
570  if (gtObjectMapRecord.isValid()) {
571  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
572  bool ok(false);
573  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
574  ++itMap) {
575  bool resultGt = (*itMap).algoGtlResult();
576  if (resultGt) {
577  int algoBit = (*itMap).algoBitNumber();
578  analyzeHcal(HithbheMB, HithfMB, algoBit, (!ok), eventWeight);
579  ok = true;
580  }
581  }
582  if (!ok) {
583  edm::LogVerbatim("RecAnalyzer") << "No passed L1 Trigger found";
584  }
585  }
586  }
587 }

References gpuClustering::adc, analyzeHcal(), extraHist_, spr::find(), genParticles2HepMC_cfi::genEventInfo, L1GlobalTriggerObjectMapRecord::gtObjectMap(), h_AmplitudeHB_, h_AmplitudeHBtest_, h_AmplitudeHE_, h_AmplitudeHEtest_, h_AmplitudeHF_, h_AmplitudeHFtest_, HBHEsize, HcalBarrel, HcalEndcap, HcalForward, HFsize, mps_fire::i, iEvent, ignoreL1_, edm::HandleBase::isValid(), myTree1_, convertSQLiteXML::ok, edm::Handle< T >::product(), rnnum_, runNZS_, singleTopDQM_cfi::select, edm::SortedCollection< T, SORT >::size(), tok_ew_, tok_hbhedigi_, tok_hbherecoMB_, tok_hfdigi_, tok_hfrecoMB_, tok_hltL1GtMap_, tok_qie10digi_, tok_qie11digi_, and trigbit_.

◆ analyzeHcal()

void RecAnalyzerMinbias::analyzeHcal ( const HBHERecHitCollection HithbheMB,
const HFRecHitCollection HithfMB,
int  algoBit,
bool  fill,
double  weight 
)
private

Definition at line 589 of file RecAnalyzerMinbias.cc.

590  {
591  // Signal part for HB HE
592  int count(0), countHB(0), countHE(0), count2(0), count2HB(0), count2HE(0);
593  for (HBHERecHitCollection::const_iterator hbheItr = HithbheMB.begin(); hbheItr != HithbheMB.end(); hbheItr++) {
594  // Recalibration of energy
595  DetId mydetid = hbheItr->id().rawId();
596  double icalconst(1.);
597  if (theRecalib_) {
598  std::map<DetId, double>::iterator itr = corrFactor_.find(mydetid);
599  if (itr != corrFactor_.end())
600  icalconst = itr->second;
601  }
602  HBHERecHit aHit(hbheItr->id(), hbheItr->energy() * icalconst, hbheItr->time());
603  double energyhit = aHit.energy();
604  DetId id = (*hbheItr).detid();
605  HcalDetId hid = HcalDetId(id);
606  double eLow = (hid.subdet() == HcalEndcap) ? eLowHE_ : eLowHB_;
607  double eHigh = (hid.subdet() == HcalEndcap) ? eHighHE_ : eHighHB_;
608  ++count;
609  if (id.subdetId() == HcalBarrel)
610  ++countHB;
611  else
612  ++countHE;
613  if (fill) {
614  for (unsigned int i = 0; i < hcalID_.size(); i++) {
615  if (hcalID_[i] == id.rawId()) {
616  histo_[i]->Fill(energyhit);
617  break;
618  }
619  }
620  if (fillHist_) {
621  std::map<HcalDetId, TH1D*>::iterator itr1 = histHC_.find(hid);
622  if (itr1 != histHC_.end())
623  itr1->second->Fill(energyhit);
624  }
625  h_[hid.subdet() - 1]->Fill(energyhit);
626  if (energyhit > eMin_) {
627  hbhe_->Fill(hid.ieta(), hid.iphi());
628  ++count2;
629  if (id.subdetId() == HcalBarrel) {
630  ++count2HB;
631  hb_->Fill(hid.ieta(), hid.iphi());
632  } else {
633  ++count2HE;
634  he_->Fill(hid.ieta(), hid.iphi());
635  }
636  }
637  }
638  if (!fillHist_) {
639  if (Noise_ || runNZS_ || (energyhit >= eLow && energyhit <= eHigh)) {
640  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 =
641  myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
642  if (itr1 == myMap_.end()) {
643  myInfo info;
644  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
645  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
646  }
647  itr1->second.theMB0 += weight;
648  itr1->second.theMB1 += (weight * energyhit);
649  itr1->second.theMB2 += (weight * energyhit * energyhit);
650  itr1->second.theMB3 += (weight * energyhit * energyhit * energyhit);
651  itr1->second.theMB4 += (weight * energyhit * energyhit * energyhit * energyhit);
652  itr1->second.runcheck = rnnum_;
653  }
654  }
655  } // HBHE_MB
656  if (fill) {
657  if (count > 0)
658  hbherun_->Fill(rnnum_, (double)(count2) / count);
659  if (countHB > 0)
660  hbrun_->Fill(rnnum_, (double)(count2HB) / countHB);
661  if (countHE > 0)
662  herun_->Fill(rnnum_, (double)(count2HE) / countHE);
663  }
664 #ifdef EDM_ML_DEBUG
665  edm::LogVerbatim("RecAnalyzer") << "HBHE " << count2 << ":" << count << ":" << (double)(count2) / count << "\t HB "
666  << count2HB << ":" << countHB << ":" << (double)(count2HB) / countHB << "\t HE "
667  << count2HE << ":" << countHE << ":" << (double)(count2HE) / countHE;
668 #endif
669  int countHF(0), count2HF(0);
670  // Signal part for HF
671  for (HFRecHitCollection::const_iterator hfItr = HithfMB.begin(); hfItr != HithfMB.end(); hfItr++) {
672  // Recalibration of energy
673  DetId mydetid = hfItr->id().rawId();
674  double icalconst(1.);
675  if (theRecalib_) {
676  std::map<DetId, double>::iterator itr = corrFactor_.find(mydetid);
677  if (itr != corrFactor_.end())
678  icalconst = itr->second;
679  }
680  HFRecHit aHit(hfItr->id(), hfItr->energy() * icalconst, hfItr->time());
681 
682  double energyhit = aHit.energy();
683  DetId id = (*hfItr).detid();
684  HcalDetId hid = HcalDetId(id);
685  ++countHF;
686  if (fill) {
687  for (unsigned int i = 0; i < hcalID_.size(); i++) {
688  if (hcalID_[i] == id.rawId()) {
689  histo_[i]->Fill(energyhit);
690  break;
691  }
692  }
693  if (fillHist_) {
694  std::map<HcalDetId, TH1D*>::iterator itr1 = histHC_.find(hid);
695  if (itr1 != histHC_.end())
696  itr1->second->Fill(energyhit);
697  }
698  h_[hid.subdet() - 1]->Fill(energyhit);
699  if (energyhit > eMin_) {
700  hf_->Fill(hid.ieta(), hid.iphi());
701  ++count2HF;
702  }
703  }
704 
705  //
706  // Remove PMT hits
707  //
708  if (!fillHist_) {
709  if (((Noise_ || runNZS_) && fabs(energyhit) <= 40.) || (energyhit >= eLowHF_ && energyhit <= eHighHF_)) {
710  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 =
711  myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
712  if (itr1 == myMap_.end()) {
713  myInfo info;
714  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
715  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
716  }
717  itr1->second.theMB0 += weight;
718  itr1->second.theMB1 += (weight * energyhit);
719  itr1->second.theMB2 += (weight * energyhit * energyhit);
720  itr1->second.theMB3 += (weight * energyhit * energyhit * energyhit);
721  itr1->second.theMB4 += (weight * energyhit * energyhit * energyhit * energyhit);
722  itr1->second.runcheck = rnnum_;
723  }
724  }
725  }
726  if (fill && countHF > 0)
727  hfrun_->Fill(rnnum_, (double)(count2HF) / countHF);
728 #ifdef EDM_ML_DEBUG
729  if (count)
730  edm::LogVerbatim("RecAnalyzer") << "HF " << count2HF << ":" << countHF << ":" << (double)(count2HF) / countHF;
731 #endif
732 }

References edm::SortedCollection< T, SORT >::begin(), corrFactor_, submitPVResolutionJobs::count, eHighHB_, eHighHE_, eHighHF_, eLowHB_, eLowHE_, eLowHF_, eMin_, edm::SortedCollection< T, SORT >::end(), CaloRecHit::energy(), ntuplemaker::fill, fillHist_, h_, hb_, hbhe_, hbherun_, hbrun_, HcalBarrel, HcalEndcap, hcalID_, he_, herun_, hf_, hfrun_, histHC_, histo_, mps_fire::i, HcalDetId::ieta(), info(), HcalDetId::iphi(), myMap_, Noise_, DetId::rawId(), rnnum_, runNZS_, HcalDetId::subdet(), theRecalib_, and mps_merge::weight.

Referenced by analyze().

◆ beginJob()

void RecAnalyzerMinbias::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 245 of file RecAnalyzerMinbias.cc.

245  {
246  std::string hc[5] = {"Empty", "HB", "HE", "HO", "HF"};
247  char name[700], title[700];
248  hbhe_ = fs_->make<TH2D>("hbhe", "Noise in HB/HE", 61, -30.5, 30.5, 72, 0.5, 72.5);
249  hb_ = fs_->make<TH2D>("hb", "Noise in HB", 61, -16.5, 16.5, 72, 0.5, 72.5);
250  he_ = fs_->make<TH2D>("he", "Noise in HE", 61, -30.5, 30.5, 72, 0.5, 72.5);
251  hf_ = fs_->make<TH2D>("hf", "Noise in HF", 82, -41.5, 41.5, 72, 0.5, 72.5);
252  int nbin = (runMax_ - runMin_ + 1);
253  sprintf(title, "Fraction of channels in HB/HE with E > %4.1f GeV vs Run number", eMin_);
254  hbherun_ = fs_->make<TProfile>("hbherun", title, nbin, runMin_ - 0.5, runMax_ + 0.5, 0.0, 1.0);
255  sprintf(title, "Fraction of channels in HB with E > %4.1f GeV vs Run number", eMin_);
256  hbrun_ = fs_->make<TProfile>("hbrun", title, nbin, runMin_ - 0.5, runMax_ + 0.5, 0.0, 1.0);
257  sprintf(title, "Fraction of channels in HE with E > %4.1f GeV vs Run number", eMin_);
258  herun_ = fs_->make<TProfile>("herun", title, nbin, runMin_ - 0.5, runMax_ + 0.5, 0.0, 1.0);
259  sprintf(title, "Fraction of channels in HF with E > %4.1f GeV vs Run number", eMin_);
260  hfrun_ = fs_->make<TProfile>("hfrun", title, nbin, runMin_ - 0.5, runMax_ + 0.5, 0.0, 1.0);
261  for (int idet = 1; idet <= 4; idet++) {
262  sprintf(name, "%s", hc[idet].c_str());
263  sprintf(title, "Noise distribution for %s", hc[idet].c_str());
264  h_[idet - 1] = fs_->make<TH1D>(name, title, 48, -6., 6.);
265  }
266 
267  for (const auto& hcalid : hcalID_) {
268  HcalDetId id = HcalDetId(hcalid);
269  int subdet = id.subdetId();
270  sprintf(name, "%s%d_%d_%d", hc[subdet].c_str(), id.ieta(), id.iphi(), id.depth());
271  sprintf(title,
272  "Energy Distribution for %s ieta %d iphi %d depth %d",
273  hc[subdet].c_str(),
274  id.ieta(),
275  id.iphi(),
276  id.depth());
277  double xmin = (subdet == 4) ? -10 : -1;
278  double xmax = (subdet == 4) ? 90 : 9;
279  TH1D* hh = fs_->make<TH1D>(name, title, 50, xmin, xmax);
280  histo_.push_back(hh);
281  };
282 
283  if (extraHist_) {
284  h_AmplitudeHBtest_ = fs_->make<TH1D>("h_AmplitudeHBtest", "", 5000, 0., 5000.);
285  h_AmplitudeHEtest_ = fs_->make<TH1D>("h_AmplitudeHEtest", "", 3000, 0., 3000.);
286  h_AmplitudeHFtest_ = fs_->make<TH1D>("h_AmplitudeHFtest", "", 10000, 0., 10000.);
287  h_AmplitudeHB_ = fs_->make<TH1D>("h_AmplitudeHB", "", 100000, 0., 100000.);
288  h_AmplitudeHE_ = fs_->make<TH1D>("h_AmplitudeHE", "", 300000, 0., 300000.);
289  h_AmplitudeHF_ = fs_->make<TH1D>("h_AmplitudeHF", "", 100000, 0., 1000000.);
290  }
291 
292  if (!fillHist_) {
293  myTree_ = fs_->make<TTree>("RecJet", "RecJet Tree");
294  myTree_->Branch("cells", &cells, "cells/I");
295  myTree_->Branch("mysubd", &mysubd, "mysubd/I");
296  myTree_->Branch("depth", &depth, "depth/I");
297  myTree_->Branch("ieta", &ieta, "ieta/I");
298  myTree_->Branch("iphi", &iphi, "iphi/I");
299  myTree_->Branch("mom0_MB", &mom0_MB, "mom0_MB/F");
300  myTree_->Branch("mom1_MB", &mom1_MB, "mom1_MB/F");
301  myTree_->Branch("mom2_MB", &mom2_MB, "mom2_MB/F");
302  myTree_->Branch("mom3_MB", &mom3_MB, "mom3_MB/F");
303  myTree_->Branch("mom4_MB", &mom4_MB, "mom4_MB/F");
304  myTree_->Branch("trigbit", &trigbit, "trigbit/I");
305  myTree_->Branch("rnnumber", &rnnumber, "rnnumber/D");
306  }
307  myTree1_ = fs_->make<TTree>("RecJet1", "RecJet1 Tree");
308  myTree1_->Branch("rnnum_", &rnnum_, "rnnum_/D");
309  myTree1_->Branch("HBHEsize", &HBHEsize, "HBHEsize/I");
310  myTree1_->Branch("HFsize", &HFsize, "HFsize/I");
311 
312  myMap_.clear();
313 }

References cells, depth, eMin_, extraHist_, fillHist_, fs_, h_, h_AmplitudeHB_, h_AmplitudeHBtest_, h_AmplitudeHE_, h_AmplitudeHEtest_, h_AmplitudeHF_, h_AmplitudeHFtest_, hb_, hbhe_, hbherun_, HBHEsize, hbrun_, hcalID_, he_, herun_, hf_, hfrun_, HFsize, hh, histo_, ieta, iphi, TFileService::make(), mom0_MB, mom1_MB, mom2_MB, mom3_MB, mom4_MB, myMap_, mysubd, myTree1_, myTree_, Skims_PA_cff::name, rnnum_, rnnumber, runMax_, runMin_, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, trigbit, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.

◆ beginRun()

void RecAnalyzerMinbias::beginRun ( edm::Run const &  ,
edm::EventSetup const &  iS 
)
overrideprivate

Definition at line 350 of file RecAnalyzerMinbias.cc.

350  {
351  if (!init_) {
352  init_ = true;
353  if (fillHist_) {
354  const HcalTopology* hcaltopology = &iS.getData(tok_htopo_);
355 
356  char name[700], title[700];
357  // For HB
358  int maxDepthHB = hcaltopology->maxDepthHB();
359  int nbinHB = (Noise_) ? 18 : int(2000 * eHighHB_);
360  double x_min = (Noise_) ? -3. : 0.;
361  double x_max = (Noise_) ? 3. : 2. * eHighHB_;
362  for (int eta = -50; eta < 50; eta++) {
363  for (int phi = 0; phi < 100; phi++) {
364  for (int depth = 1; depth <= maxDepthHB; depth++) {
365  HcalDetId cell(HcalBarrel, eta, phi, depth);
366  if (hcaltopology->valid(cell)) {
367  sprintf(name, "HBeta%dphi%ddep%d", eta, phi, depth);
368  sprintf(title, "HB #eta %d #phi %d depth %d", eta, phi, depth);
369  TH1D* h = fs_->make<TH1D>(name, title, nbinHB, x_min, x_max);
370  histHC_[cell] = h;
371  }
372  }
373  }
374  }
375  // For HE
376  int maxDepthHE = hcaltopology->maxDepthHE();
377  int nbinHE = (Noise_) ? 18 : int(2000 * eHighHE_);
378  x_min = (Noise_) ? -3. : 0.;
379  x_max = (Noise_) ? 3. : 2. * eHighHE_;
380  for (int eta = -50; eta < 50; eta++) {
381  for (int phi = 0; phi < 100; phi++) {
382  for (int depth = 1; depth <= maxDepthHE; depth++) {
383  HcalDetId cell(HcalEndcap, eta, phi, depth);
384  if (hcaltopology->valid(cell)) {
385  sprintf(name, "HEeta%dphi%ddep%d", eta, phi, depth);
386  sprintf(title, "HE #eta %d #phi %d depth %d", eta, phi, depth);
387  TH1D* h = fs_->make<TH1D>(name, title, nbinHE, x_min, x_max);
388  histHC_[cell] = h;
389  }
390  }
391  }
392  }
393  // For HF
394  int maxDepthHF = 4;
395  int nbinHF = (Noise_) ? 200 : int(2000 * eHighHF_);
396  x_min = (Noise_) ? -10. : 0.;
397  x_max = (Noise_) ? 10. : 2. * eHighHF_;
398  for (int eta = -50; eta < 50; eta++) {
399  for (int phi = 0; phi < 100; phi++) {
400  for (int depth = 1; depth <= maxDepthHF; depth++) {
401  HcalDetId cell(HcalForward, eta, phi, depth);
402  if (hcaltopology->valid(cell)) {
403  sprintf(name, "HFeta%dphi%ddep%d", eta, phi, depth);
404  sprintf(title, "Energy (HF #eta %d #phi %d depth %d)", eta, phi, depth);
405  TH1D* h = fs_->make<TH1D>(name, title, nbinHF, x_min, x_max);
406  histHC_[cell] = h;
407  }
408  }
409  }
410  }
411  }
412  }
413 }

References depth, eHighHB_, eHighHE_, eHighHF_, PVValHelper::eta, fillHist_, fs_, edm::EventSetup::getData(), h, HcalBarrel, HcalEndcap, HcalForward, histHC_, init_, TFileService::make(), hcalSLHCTopologyConstants_cfi::maxDepthHB, HcalTopology::maxDepthHB(), hcalSLHCTopologyConstants_cfi::maxDepthHE, HcalTopology::maxDepthHE(), Skims_PA_cff::name, Noise_, phi, runGCPTkAlMap::title, tok_htopo_, and HcalTopology::valid().

◆ endJob()

void RecAnalyzerMinbias::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 317 of file RecAnalyzerMinbias.cc.

317  {
318  if (!fillHist_) {
319  cells = 0;
320  for (const auto& itr : myMap_) {
321  edm::LogVerbatim("RecAnalyzer") << "Fired trigger bit number " << itr.first.first;
322  myInfo info = itr.second;
323  if (info.theMB0 > 0) {
324  mom0_MB = info.theMB0;
325  mom1_MB = info.theMB1;
326  mom2_MB = info.theMB2;
327  mom3_MB = info.theMB3;
328  mom4_MB = info.theMB4;
329  rnnumber = info.runcheck;
330  trigbit = itr.first.first;
331  mysubd = itr.first.second.subdet();
332  depth = itr.first.second.depth();
333  iphi = itr.first.second.iphi();
334  ieta = itr.first.second.ieta();
335  edm::LogVerbatim("RecAnalyzer") << " Result= " << trigbit << " " << mysubd << " " << ieta << " " << iphi
336  << " mom0 " << mom0_MB << " mom1 " << mom1_MB << " mom2 " << mom2_MB
337  << " mom3 " << mom3_MB << " mom4 " << mom4_MB;
338  myTree_->Fill();
339  cells++;
340  }
341  }
342  edm::LogVerbatim("RecAnalyzer") << "cells"
343  << " " << cells;
344  }
345 #ifdef EDM_ML_DEBUG
346  edm::LogVerbatim("RecAnalyzer") << "Exiting from RecAnalyzerMinbias::endjob";
347 #endif
348 }

References cells, depth, fillHist_, ieta, info(), iphi, mom0_MB, mom1_MB, mom2_MB, mom3_MB, mom4_MB, myMap_, mysubd, myTree_, rnnumber, and trigbit.

Referenced by o2olib.O2ORunMgr::executeJob().

◆ endRun()

void RecAnalyzerMinbias::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 79 of file RecAnalyzerMinbias.cc.

79 {}

◆ fillDescriptions()

void RecAnalyzerMinbias::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 214 of file RecAnalyzerMinbias.cc.

214  {
215  std::vector<int> iarray;
217  desc.add<bool>("runNZS", true);
218  desc.add<bool>("noise", false);
219  desc.add<double>("eLowHB", 4);
220  desc.add<double>("eHighHB", 100);
221  desc.add<double>("eLowHE", 4);
222  desc.add<double>("eHighHE", 150);
223  desc.add<double>("eLowHF", 10);
224  desc.add<double>("eHighHF", 150);
225  // Suitable cutoff to remove fluctuation of pedestal
226  desc.addUntracked<double>("eMin", 2.0);
227  // The following run range is suited to study 2017 commissioning period
228  desc.addUntracked<int>("runMin", 308327);
229  desc.addUntracked<int>("runMax", 308347);
230  desc.addUntracked<std::vector<int>>("triggerBits", iarray);
231  desc.addUntracked<bool>("ignoreL1", false);
232  desc.addUntracked<std::string>("corrFile", "CorFactor.txt");
233  desc.addUntracked<bool>("fillHisto", false);
234  desc.addUntracked<bool>("extraHisto", false);
235  desc.addUntracked<std::vector<int>>("hcalIeta", iarray);
236  desc.addUntracked<std::vector<int>>("hcalIphi", iarray);
237  desc.addUntracked<std::vector<int>>("hcalDepth", iarray);
238  desc.add<edm::InputTag>("hbheInputMB", edm::InputTag("hbherecoMB"));
239  desc.add<edm::InputTag>("hfInputMB", edm::InputTag("hfrecoMB"));
240  desc.add<edm::InputTag>("gtDigisAlCaMB", edm::InputTag("gtDigisAlCaMB"));
241  desc.add<edm::InputTag>("hcalDigiCollectionTag", edm::InputTag("hcalDigis"));
242  descriptions.add("recAnalyzerMinbias", desc);
243 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Data Documentation

◆ cells

int RecAnalyzerMinbias::cells
private

Definition at line 110 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ corrFactor_

std::map<DetId, double> RecAnalyzerMinbias::corrFactor_
private

Definition at line 91 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and RecAnalyzerMinbias().

◆ depth

int RecAnalyzerMinbias::depth
private

◆ eHighHB_

double RecAnalyzerMinbias::eHighHB_
private

Definition at line 88 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginRun(), and RecAnalyzerMinbias().

◆ eHighHE_

double RecAnalyzerMinbias::eHighHE_
private

Definition at line 88 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginRun(), and RecAnalyzerMinbias().

◆ eHighHF_

double RecAnalyzerMinbias::eHighHF_
private

Definition at line 89 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginRun(), and RecAnalyzerMinbias().

◆ eLowHB_

double RecAnalyzerMinbias::eLowHB_
private

Definition at line 88 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and RecAnalyzerMinbias().

◆ eLowHE_

double RecAnalyzerMinbias::eLowHE_
private

Definition at line 88 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and RecAnalyzerMinbias().

◆ eLowHF_

double RecAnalyzerMinbias::eLowHF_
private

Definition at line 89 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and RecAnalyzerMinbias().

◆ eMin_

double RecAnalyzerMinbias::eMin_
private

Definition at line 89 of file RecAnalyzerMinbias.cc.

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

◆ extraHist_

bool RecAnalyzerMinbias::extraHist_
private

Definition at line 87 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), beginJob(), and RecAnalyzerMinbias().

◆ fillHist_

bool RecAnalyzerMinbias::fillHist_
private

Definition at line 87 of file RecAnalyzerMinbias.cc.

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

◆ fs_

edm::Service<TFileService> RecAnalyzerMinbias::fs_
private

Definition at line 85 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and beginRun().

◆ h_

TH1D* RecAnalyzerMinbias::h_[4]
private

Definition at line 94 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ h_AmplitudeHB_

TH1D* RecAnalyzerMinbias::h_AmplitudeHB_
private

Definition at line 98 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ h_AmplitudeHBtest_

TH1D* RecAnalyzerMinbias::h_AmplitudeHBtest_
private

Definition at line 96 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ h_AmplitudeHE_

TH1D * RecAnalyzerMinbias::h_AmplitudeHE_
private

Definition at line 98 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ h_AmplitudeHEtest_

TH1D * RecAnalyzerMinbias::h_AmplitudeHEtest_
private

Definition at line 96 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ h_AmplitudeHF_

TH1D * RecAnalyzerMinbias::h_AmplitudeHF_
private

Definition at line 98 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ h_AmplitudeHFtest_

TH1D* RecAnalyzerMinbias::h_AmplitudeHFtest_
private

Definition at line 97 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ hb_

TH2D * RecAnalyzerMinbias::hb_
private

Definition at line 95 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ hbhe_

TH2D* RecAnalyzerMinbias::hbhe_
private

Definition at line 95 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ hbherun_

TProfile* RecAnalyzerMinbias::hbherun_
private

Definition at line 99 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ HBHEsize

int RecAnalyzerMinbias::HBHEsize
private

Definition at line 112 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ hbrun_

TProfile * RecAnalyzerMinbias::hbrun_
private

Definition at line 99 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ hcalID_

std::vector<unsigned int> RecAnalyzerMinbias::hcalID_
private

Definition at line 92 of file RecAnalyzerMinbias.cc.

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

◆ he_

TH2D * RecAnalyzerMinbias::he_
private

Definition at line 95 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ herun_

TProfile * RecAnalyzerMinbias::herun_
private

Definition at line 99 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ hf_

TH2D * RecAnalyzerMinbias::hf_
private

Definition at line 95 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ hfrun_

TProfile * RecAnalyzerMinbias::hfrun_
private

Definition at line 99 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ HFsize

int RecAnalyzerMinbias::HFsize
private

Definition at line 112 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ histHC_

std::map<HcalDetId, TH1D*> RecAnalyzerMinbias::histHC_
private

Definition at line 101 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginRun().

◆ histo_

std::vector<TH1D*> RecAnalyzerMinbias::histo_
private

Definition at line 100 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and beginJob().

◆ ieta

int RecAnalyzerMinbias::ieta
private

Definition at line 110 of file RecAnalyzerMinbias.cc.

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

◆ ignoreL1_

bool RecAnalyzerMinbias::ignoreL1_
private

Definition at line 86 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ init_

bool RecAnalyzerMinbias::init_
private

Definition at line 87 of file RecAnalyzerMinbias.cc.

Referenced by beginRun().

◆ iphi

int RecAnalyzerMinbias::iphi
private

Definition at line 110 of file RecAnalyzerMinbias.cc.

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

◆ mom0_MB

float RecAnalyzerMinbias::mom0_MB
private

Definition at line 111 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom1_MB

float RecAnalyzerMinbias::mom1_MB
private

Definition at line 111 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom2_MB

float RecAnalyzerMinbias::mom2_MB
private

Definition at line 111 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom3_MB

float RecAnalyzerMinbias::mom3_MB
private

Definition at line 111 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ mom4_MB

float RecAnalyzerMinbias::mom4_MB
private

Definition at line 111 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ myMap_

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

Definition at line 113 of file RecAnalyzerMinbias.cc.

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

◆ mysubd

int RecAnalyzerMinbias::mysubd
private

Definition at line 110 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ myTree1_

TTree * RecAnalyzerMinbias::myTree1_
private

Definition at line 93 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and beginJob().

◆ myTree_

TTree* RecAnalyzerMinbias::myTree_
private

Definition at line 93 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ Noise_

bool RecAnalyzerMinbias::Noise_
private

Definition at line 86 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), beginRun(), and RecAnalyzerMinbias().

◆ rnnum_

double RecAnalyzerMinbias::rnnum_
private

Definition at line 103 of file RecAnalyzerMinbias.cc.

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

◆ rnnumber

double RecAnalyzerMinbias::rnnumber
private

Definition at line 109 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ runMax_

int RecAnalyzerMinbias::runMax_
private

Definition at line 90 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and RecAnalyzerMinbias().

◆ runMin_

int RecAnalyzerMinbias::runMin_
private

Definition at line 90 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and RecAnalyzerMinbias().

◆ runNZS_

bool RecAnalyzerMinbias::runNZS_
private

Definition at line 86 of file RecAnalyzerMinbias.cc.

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

◆ theRecalib_

bool RecAnalyzerMinbias::theRecalib_
private

Definition at line 86 of file RecAnalyzerMinbias.cc.

Referenced by analyzeHcal(), and RecAnalyzerMinbias().

◆ tok_ew_

edm::EDGetTokenT<GenEventInfoProduct> RecAnalyzerMinbias::tok_ew_
private

Definition at line 117 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_gtRec_

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> RecAnalyzerMinbias::tok_gtRec_
private

Definition at line 123 of file RecAnalyzerMinbias.cc.

Referenced by RecAnalyzerMinbias().

◆ tok_hbhedigi_

edm::EDGetTokenT<HBHEDigiCollection> RecAnalyzerMinbias::tok_hbhedigi_
private

Definition at line 118 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_hbherecoMB_

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

Definition at line 114 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_hfdigi_

edm::EDGetTokenT<HFDigiCollection> RecAnalyzerMinbias::tok_hfdigi_
private

Definition at line 121 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_hfrecoMB_

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

Definition at line 115 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_hltL1GtMap_

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

Definition at line 116 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_hodigi_

edm::EDGetTokenT<HODigiCollection> RecAnalyzerMinbias::tok_hodigi_
private

Definition at line 120 of file RecAnalyzerMinbias.cc.

Referenced by RecAnalyzerMinbias().

◆ tok_htopo_

edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> RecAnalyzerMinbias::tok_htopo_
private

Definition at line 124 of file RecAnalyzerMinbias.cc.

Referenced by beginRun(), and RecAnalyzerMinbias().

◆ tok_qie10digi_

edm::EDGetTokenT<QIE10DigiCollection> RecAnalyzerMinbias::tok_qie10digi_
private

Definition at line 122 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ tok_qie11digi_

edm::EDGetTokenT<QIE11DigiCollection> RecAnalyzerMinbias::tok_qie11digi_
private

Definition at line 119 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

◆ trigbit

int RecAnalyzerMinbias::trigbit
private

Definition at line 110 of file RecAnalyzerMinbias.cc.

Referenced by beginJob(), and endJob().

◆ trigbit_

std::vector<int> RecAnalyzerMinbias::trigbit_
private

Definition at line 102 of file RecAnalyzerMinbias.cc.

Referenced by analyze(), and RecAnalyzerMinbias().

RecAnalyzerMinbias::trigbit_
std::vector< int > trigbit_
Definition: RecAnalyzerMinbias.cc:102
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
mps_fire.i
i
Definition: mps_fire.py:428
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
CaloRecHit::energy
constexpr float energy() const
Definition: CaloRecHit.h:29
edm::Handle::product
T const * product() const
Definition: Handle.h:70
RecAnalyzerMinbias::h_AmplitudeHE_
TH1D * h_AmplitudeHE_
Definition: RecAnalyzerMinbias.cc:98
RecAnalyzerMinbias::tok_hltL1GtMap_
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > tok_hltL1GtMap_
Definition: RecAnalyzerMinbias.cc:116
HcalTopology::maxDepthHE
int maxDepthHE() const
Definition: HcalTopology.h:140
RecAnalyzerMinbias::hf_
TH2D * hf_
Definition: RecAnalyzerMinbias.cc:95
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
RecAnalyzerMinbias::tok_ew_
edm::EDGetTokenT< GenEventInfoProduct > tok_ew_
Definition: RecAnalyzerMinbias.cc:117
RecAnalyzerMinbias::HFsize
int HFsize
Definition: RecAnalyzerMinbias.cc:112
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition: gpuClusterChargeCut.h:20
RecAnalyzerMinbias::eHighHE_
double eHighHE_
Definition: RecAnalyzerMinbias.cc:88
mps_merge.weight
weight
Definition: mps_merge.py:88
HBHERecHit
Definition: HBHERecHit.h:13
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
HcalTopology
Definition: HcalTopology.h:26
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
hcalSLHCTopologyConstants_cfi.maxDepthHB
maxDepthHB
Definition: hcalSLHCTopologyConstants_cfi.py:5
RecAnalyzerMinbias::he_
TH2D * he_
Definition: RecAnalyzerMinbias.cc:95
RecAnalyzerMinbias::h_AmplitudeHFtest_
TH1D * h_AmplitudeHFtest_
Definition: RecAnalyzerMinbias.cc:97
RecAnalyzerMinbias::corrFactor_
std::map< DetId, double > corrFactor_
Definition: RecAnalyzerMinbias.cc:91
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
RecAnalyzerMinbias::hbrun_
TProfile * hbrun_
Definition: RecAnalyzerMinbias.cc:99
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalBarrel
Definition: HcalAssistant.h:33
RecAnalyzerMinbias::mom3_MB
float mom3_MB
Definition: RecAnalyzerMinbias.cc:111
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
RecAnalyzerMinbias::tok_hbherecoMB_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbherecoMB_
Definition: RecAnalyzerMinbias.cc:114
RecAnalyzerMinbias::mom2_MB
float mom2_MB
Definition: RecAnalyzerMinbias.cc:111
RecAnalyzerMinbias::trigbit
int trigbit
Definition: RecAnalyzerMinbias.cc:110
DetId
Definition: DetId.h:17
HFRecHit
Definition: HFRecHit.h:11
RecAnalyzerMinbias::cells
int cells
Definition: RecAnalyzerMinbias.cc:110
RecAnalyzerMinbias::h_AmplitudeHEtest_
TH1D * h_AmplitudeHEtest_
Definition: RecAnalyzerMinbias.cc:96
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
PVValHelper::eta
Definition: PVValidationHelpers.h:70
RecAnalyzerMinbias::tok_gtRec_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > tok_gtRec_
Definition: RecAnalyzerMinbias.cc:123
RecAnalyzerMinbias::histo_
std::vector< TH1D * > histo_
Definition: RecAnalyzerMinbias.cc:100
RecAnalyzerMinbias::runNZS_
bool runNZS_
Definition: RecAnalyzerMinbias.cc:86
RecAnalyzerMinbias::mom4_MB
float mom4_MB
Definition: RecAnalyzerMinbias.cc:111
RecAnalyzerMinbias::hb_
TH2D * hb_
Definition: RecAnalyzerMinbias.cc:95
RecAnalyzerMinbias::tok_hodigi_
edm::EDGetTokenT< HODigiCollection > tok_hodigi_
Definition: RecAnalyzerMinbias.cc:120
RecAnalyzerMinbias::Noise_
bool Noise_
Definition: RecAnalyzerMinbias.cc:86
RecAnalyzerMinbias::h_AmplitudeHB_
TH1D * h_AmplitudeHB_
Definition: RecAnalyzerMinbias.cc:98
RecAnalyzerMinbias::tok_qie10digi_
edm::EDGetTokenT< QIE10DigiCollection > tok_qie10digi_
Definition: RecAnalyzerMinbias.cc:122
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
HcalOuter
Definition: HcalAssistant.h:35
RecAnalyzerMinbias::mysubd
int mysubd
Definition: RecAnalyzerMinbias.cc:110
h
dqmdumpme.k
k
Definition: dqmdumpme.py:60
RecAnalyzerMinbias::eLowHE_
double eLowHE_
Definition: RecAnalyzerMinbias.cc:88
RecAnalyzerMinbias::theRecalib_
bool theRecalib_
Definition: RecAnalyzerMinbias.cc:86
hcalSLHCTopologyConstants_cfi.maxDepthHE
maxDepthHE
Definition: hcalSLHCTopologyConstants_cfi.py:6
hh
const auto & hh
Definition: CAHitNtupletGeneratorKernelsImpl.h:552
ntuplemaker.fill
fill
Definition: ntuplemaker.py:304
RecAnalyzerMinbias::mom0_MB
float mom0_MB
Definition: RecAnalyzerMinbias.cc:111
RecAnalyzerMinbias::eMin_
double eMin_
Definition: RecAnalyzerMinbias.cc:89
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
RecAnalyzerMinbias::tok_htopo_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_htopo_
Definition: RecAnalyzerMinbias.cc:124
RecAnalyzerMinbias::tok_hfdigi_
edm::EDGetTokenT< HFDigiCollection > tok_hfdigi_
Definition: RecAnalyzerMinbias.cc:121
RecAnalyzerMinbias::runMin_
int runMin_
Definition: RecAnalyzerMinbias.cc:90
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
HcalDetId
Definition: HcalDetId.h:12
iEvent
int iEvent
Definition: GenABIO.cc:224
RecAnalyzerMinbias::myTree1_
TTree * myTree1_
Definition: RecAnalyzerMinbias.cc:93
RecAnalyzerMinbias::fs_
edm::Service< TFileService > fs_
Definition: RecAnalyzerMinbias.cc:85
RecAnalyzerMinbias::eHighHB_
double eHighHB_
Definition: RecAnalyzerMinbias.cc:88
RecAnalyzerMinbias::tok_hbhedigi_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhedigi_
Definition: RecAnalyzerMinbias.cc:118
RecAnalyzerMinbias::init_
bool init_
Definition: RecAnalyzerMinbias.cc:87
RecAnalyzerMinbias::h_AmplitudeHF_
TH1D * h_AmplitudeHF_
Definition: RecAnalyzerMinbias.cc:98
TFileService::make
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RecAnalyzerMinbias::mom1_MB
float mom1_MB
Definition: RecAnalyzerMinbias.cc:111
HcalSubdetector
HcalSubdetector
Definition: HcalAssistant.h:31
HcalForward
Definition: HcalAssistant.h:36
HcalTopology::valid
bool valid(const DetId &id) const override
Definition: HcalTopology.cc:225
DDAxes::phi
RecAnalyzerMinbias::tok_qie11digi_
edm::EDGetTokenT< QIE11DigiCollection > tok_qie11digi_
Definition: RecAnalyzerMinbias.cc:119
RecAnalyzerMinbias::rnnum_
double rnnum_
Definition: RecAnalyzerMinbias.cc:103
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
RecAnalyzerMinbias::myTree_
TTree * myTree_
Definition: RecAnalyzerMinbias.cc:93
genParticles2HepMC_cfi.genEventInfo
genEventInfo
Definition: genParticles2HepMC_cfi.py:6
RecAnalyzerMinbias::h_
TH1D * h_[4]
Definition: RecAnalyzerMinbias.cc:94
RecAnalyzerMinbias::fillHist_
bool fillHist_
Definition: RecAnalyzerMinbias.cc:87
QIE10DataFrame
Definition: QIE10DataFrame.h:11
HcalEndcap
Definition: HcalAssistant.h:34
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
RecAnalyzerMinbias::hbhe_
TH2D * hbhe_
Definition: RecAnalyzerMinbias.cc:95
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
QIE11DataFrame
Definition: QIE11DataFrame.h:11
RecAnalyzerMinbias::rnnumber
double rnnumber
Definition: RecAnalyzerMinbias.cc:109
RecAnalyzerMinbias::eHighHF_
double eHighHF_
Definition: RecAnalyzerMinbias.cc:89
RecAnalyzerMinbias::depth
int depth
Definition: RecAnalyzerMinbias.cc:110
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
RecAnalyzerMinbias::hbherun_
TProfile * hbherun_
Definition: RecAnalyzerMinbias.cc:99
timingPdfMaker.infile
infile
Definition: timingPdfMaker.py:349
RecAnalyzerMinbias::eLowHB_
double eLowHB_
Definition: RecAnalyzerMinbias.cc:88
RecAnalyzerMinbias::hfrun_
TProfile * hfrun_
Definition: RecAnalyzerMinbias.cc:99
RecAnalyzerMinbias::hcalID_
std::vector< unsigned int > hcalID_
Definition: RecAnalyzerMinbias.cc:92
RecAnalyzerMinbias::tok_hfrecoMB_
edm::EDGetTokenT< HFRecHitCollection > tok_hfrecoMB_
Definition: RecAnalyzerMinbias.cc:115
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
RecAnalyzerMinbias::histHC_
std::map< HcalDetId, TH1D * > histHC_
Definition: RecAnalyzerMinbias.cc:101
RecAnalyzerMinbias::iphi
int iphi
Definition: RecAnalyzerMinbias.cc:110
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition: TrackerOfflineValidation_Dqm_cff.py:10
RecAnalyzerMinbias::ieta
int ieta
Definition: RecAnalyzerMinbias.cc:110
RecAnalyzerMinbias::ignoreL1_
bool ignoreL1_
Definition: RecAnalyzerMinbias.cc:86
RecAnalyzerMinbias::herun_
TProfile * herun_
Definition: RecAnalyzerMinbias.cc:99
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
RecAnalyzerMinbias::eLowHF_
double eLowHF_
Definition: RecAnalyzerMinbias.cc:89
edm::Log
Definition: MessageLogger.h:70
RecAnalyzerMinbias::h_AmplitudeHBtest_
TH1D * h_AmplitudeHBtest_
Definition: RecAnalyzerMinbias.cc:96
edm::InputTag
Definition: InputTag.h:15
RecAnalyzerMinbias::analyzeHcal
void analyzeHcal(const HBHERecHitCollection &, const HFRecHitCollection &, int, bool, double)
Definition: RecAnalyzerMinbias.cc:589
RecAnalyzerMinbias::runMax_
int runMax_
Definition: RecAnalyzerMinbias.cc:90
weight
Definition: weight.py:1
RecAnalyzerMinbias::myMap_
std::map< std::pair< int, HcalDetId >, myInfo > myMap_
Definition: RecAnalyzerMinbias.cc:113
RecAnalyzerMinbias::HBHEsize
int HBHEsize
Definition: RecAnalyzerMinbias.cc:112
RecAnalyzerMinbias::extraHist_
bool extraHist_
Definition: RecAnalyzerMinbias.cc:87
HcalTopology::maxDepthHB
int maxDepthHB() const
Definition: HcalTopology.h:139