CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
L1TGCT Class Reference

#include <L1TGCT.h>

Inheritance diagram for L1TGCT:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 L1TGCT (const edm::ParameterSet &ps)
 
virtual ~L1TGCT ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndex indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void beginJob (void)
 
void endJob (void)
 
- Protected Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Attributes

DQMStoredbe
 
int filterTriggerType_
 filter TriggerType More...
 
edm::InputTag gctCenJetsSource_
 
edm::InputTag gctEnergySumsSource_
 
edm::InputTag gctForJetsSource_
 
edm::InputTag gctIsoEmSource_
 
edm::InputTag gctNonIsoEmSource_
 
edm::InputTag gctTauJetsSource_
 
MonitorElementl1GctAllEmOccRankBx_
 
MonitorElementl1GctAllJetsEtEtaPhi_
 
MonitorElementl1GctAllJetsOccEtaPhi_
 
MonitorElementl1GctAllJetsOccRankBx_
 
MonitorElementl1GctCenJetsEtEtaPhi_
 
MonitorElementl1GctCenJetsOccEtaPhi_
 
MonitorElementl1GctCenJetsRank_
 
MonitorElementl1GctEtHad_
 
MonitorElementl1GctEtHadOccBx_
 
MonitorElementl1GctEtHadOf_
 
MonitorElementl1GctEtMiss_
 
MonitorElementl1GctEtMissHtMissCorr_
 
MonitorElementl1GctEtMissHtMissCorrPhi_
 
MonitorElementl1GctEtMissOccBx_
 
MonitorElementl1GctEtMissOf_
 
MonitorElementl1GctEtMissPhi_
 
MonitorElementl1GctEtTotal_
 
MonitorElementl1GctEtTotalEtHadCorr_
 
MonitorElementl1GctEtTotalOccBx_
 
MonitorElementl1GctEtTotalOf_
 
MonitorElementl1GctForJetsEtEtaPhi_
 
MonitorElementl1GctForJetsOccEtaPhi_
 
MonitorElementl1GctForJetsRank_
 
MonitorElementl1GctHFRing1ETSumNegEta_
 
MonitorElementl1GctHFRing1ETSumPosEta_
 
MonitorElementl1GctHFRing1PosEtaNegEta_
 
MonitorElementl1GctHFRing1TowerCountNegEta_
 
MonitorElementl1GctHFRing1TowerCountPosEta_
 
MonitorElementl1GctHFRing1TowerCountPosEtaNegEta_
 
MonitorElementl1GctHFRing2ETSumNegEta_
 
MonitorElementl1GctHFRing2ETSumPosEta_
 
MonitorElementl1GctHFRing2PosEtaNegEta_
 
MonitorElementl1GctHFRing2TowerCountNegEta_
 
MonitorElementl1GctHFRing2TowerCountPosEta_
 
MonitorElementl1GctHFRing2TowerCountPosEtaNegEta_
 
MonitorElementl1GctHFRingETSumOccBx_
 
MonitorElementl1GctHFRingRatioNegEta_
 
MonitorElementl1GctHFRingRatioPosEta_
 
MonitorElementl1GctHFRingTowerCountOccBx_
 
MonitorElementl1GctHtMiss_
 
MonitorElementl1GctHtMissOccBx_
 
MonitorElementl1GctHtMissOf_
 
MonitorElementl1GctHtMissPhi_
 
MonitorElementl1GctIsoEmOccEtaPhi_
 
MonitorElementl1GctIsoEmRank_
 
MonitorElementl1GctIsoEmRankEtaPhi_
 
MonitorElementl1GctNonIsoEmOccEtaPhi_
 
MonitorElementl1GctNonIsoEmRank_
 
MonitorElementl1GctNonIsoEmRankEtaPhi_
 
MonitorElementl1GctTauJetsEtEtaPhi_
 
MonitorElementl1GctTauJetsOccEtaPhi_
 
MonitorElementl1GctTauJetsRank_
 
ofstream logFile_
 
bool monitorDaemon_
 
int nev_
 
std::string outputFile_
 
MonitorElementtriggerType_
 
bool verbose_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 133 of file L1TGCT.h.

Constructor & Destructor Documentation

L1TGCT::L1TGCT ( const edm::ParameterSet ps)

Definition at line 245 of file L1TGCT.cc.

References dbe, edm::ParameterSet::getUntrackedParameter(), NULL, cppFunctionSkipper::operator, outputFile_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

245  :
246  gctCenJetsSource_(ps.getParameter<edm::InputTag>("gctCentralJetsSource")),
247  gctForJetsSource_(ps.getParameter<edm::InputTag>("gctForwardJetsSource")),
248  gctTauJetsSource_(ps.getParameter<edm::InputTag>("gctTauJetsSource")),
249  gctEnergySumsSource_(ps.getParameter<edm::InputTag>("gctEnergySumsSource")),
250  gctIsoEmSource_(ps.getParameter<edm::InputTag>("gctIsoEmSource")),
251  gctNonIsoEmSource_(ps.getParameter<edm::InputTag>("gctNonIsoEmSource")),
252  filterTriggerType_ (ps.getParameter< int >("filterTriggerType"))
253 {
254 
255  // verbosity switch
256  verbose_ = ps.getUntrackedParameter < bool > ("verbose", false);
257 
258  if (verbose_)
259  edm::LogInfo("L1TGCT") << "L1TGCT: constructor...." << std::endl;
260 
261 
262  dbe = NULL;
263  if (ps.getUntrackedParameter < bool > ("DQMStore", false)) {
265  dbe->setVerbose(0);
266  }
267 
268  outputFile_ = ps.getUntrackedParameter < std::string > ("outputFile", "");
269  if (outputFile_.size() != 0) {
270  edm::LogInfo("L1TGCT") << "L1T Monitoring histograms will be saved to "
271  << outputFile_ << std::endl;
272  }
273 
274  bool disable = ps.getUntrackedParameter<bool>("disableROOToutput", false);
275  if(disable){
276  outputFile_="";
277  }
278 
279 
280  if (dbe != NULL) {
281  dbe->setCurrentFolder("L1T/L1TGCT");
282  }
283 
284 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag gctEnergySumsSource_
Definition: L1TGCT.h:230
DQMStore * dbe
Definition: L1TGCT.h:155
#define NULL
Definition: scimark2.h:8
edm::InputTag gctCenJetsSource_
Definition: L1TGCT.h:227
edm::InputTag gctTauJetsSource_
Definition: L1TGCT.h:229
void setVerbose(unsigned level)
Definition: DQMStore.cc:398
edm::InputTag gctIsoEmSource_
Definition: L1TGCT.h:231
int filterTriggerType_
filter TriggerType
Definition: L1TGCT.h:235
edm::InputTag gctForJetsSource_
Definition: L1TGCT.h:228
std::string outputFile_
Definition: L1TGCT.h:222
bool verbose_
Definition: L1TGCT.h:223
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
edm::InputTag gctNonIsoEmSource_
Definition: L1TGCT.h:232
L1TGCT::~L1TGCT ( )
virtual

Definition at line 286 of file L1TGCT.cc.

287 {
288 }

Member Function Documentation

void L1TGCT::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::EDAnalyzer.

Definition at line 426 of file L1TGCT.cc.

References edm::EventBase::experimentType(), MonitorElement::Fill(), filterTriggerType_, gctCenJetsSource_, gctEnergySumsSource_, gctForJetsSource_, gctIsoEmSource_, gctNonIsoEmSource_, gctTauJetsSource_, edm::Event::getByLabel(), i, edm::EventBase::isRealData(), edm::HandleBase::isValid(), l1GctAllEmOccRankBx_, l1GctAllJetsEtEtaPhi_, l1GctAllJetsOccEtaPhi_, l1GctAllJetsOccRankBx_, l1GctCenJetsEtEtaPhi_, l1GctCenJetsOccEtaPhi_, l1GctCenJetsRank_, l1GctEtHad_, l1GctEtHadOccBx_, l1GctEtHadOf_, l1GctEtMiss_, l1GctEtMissHtMissCorr_, l1GctEtMissHtMissCorrPhi_, l1GctEtMissOccBx_, l1GctEtMissOf_, l1GctEtMissPhi_, l1GctEtTotal_, l1GctEtTotalEtHadCorr_, l1GctEtTotalOccBx_, l1GctEtTotalOf_, l1GctForJetsEtEtaPhi_, l1GctForJetsOccEtaPhi_, l1GctForJetsRank_, l1GctHFRing1ETSumNegEta_, l1GctHFRing1ETSumPosEta_, l1GctHFRing1PosEtaNegEta_, l1GctHFRing1TowerCountNegEta_, l1GctHFRing1TowerCountPosEta_, l1GctHFRing1TowerCountPosEtaNegEta_, l1GctHFRing2ETSumNegEta_, l1GctHFRing2ETSumPosEta_, l1GctHFRing2PosEtaNegEta_, l1GctHFRing2TowerCountNegEta_, l1GctHFRing2TowerCountPosEta_, l1GctHFRing2TowerCountPosEtaNegEta_, l1GctHFRingETSumOccBx_, l1GctHFRingRatioNegEta_, l1GctHFRingRatioPosEta_, l1GctHFRingTowerCountOccBx_, l1GctHtMiss_, l1GctHtMissOccBx_, l1GctHtMissOf_, l1GctHtMissPhi_, l1GctIsoEmOccEtaPhi_, l1GctIsoEmRank_, l1GctIsoEmRankEtaPhi_, l1GctNonIsoEmOccEtaPhi_, l1GctNonIsoEmRank_, l1GctNonIsoEmRankEtaPhi_, l1GctTauJetsEtEtaPhi_, l1GctTauJetsOccEtaPhi_, l1GctTauJetsRank_, CaloMET_cfi::met, Vispa.Plugins.EdmBrowser.EdmDataAccessor::ne(), nev_, triggerType_, and verbose_.

427 {
428  nev_++;
429  if (verbose_) {
430  edm::LogInfo("L1TGCT") << "L1TGCT: analyze...." << std::endl;
431  }
432 
433 
434  // filter according trigger type
435  // enum ExperimentType {
436  // Undefined = 0,
437  // PhysicsTrigger = 1,
438  // CalibrationTrigger = 2,
439  // RandomTrigger = 3,
440  // Reserved = 4,
441  // TracedEvent = 5,
442  // TestTrigger = 6,
443  // ErrorTrigger = 15
444 
445  // fill a histogram with the trigger type, for normalization fill also last bin
446  // ErrorTrigger + 1
447  double triggerType = static_cast<double> (e.experimentType()) + 0.001;
448  double triggerTypeLast = static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
449  + 0.001;
450  triggerType_->Fill(triggerType);
451  triggerType_->Fill(triggerTypeLast + 1);
452 
453  // filter only if trigger type is greater than 0, negative values disable filtering
454  if (filterTriggerType_ >= 0) {
455 
456  // now filter, for real data only
457  if (e.isRealData()) {
458  if (!(e.experimentType() == filterTriggerType_)) {
459 
460  edm::LogInfo("L1TGCT") << "\n Event of TriggerType "
461  << e.experimentType() << " rejected" << std::endl;
462  return;
463 
464  }
465  }
466 
467  }
468 
469  // Get all the collections
481 
482  e.getByLabel(gctIsoEmSource_, l1IsoEm);
483  e.getByLabel(gctNonIsoEmSource_, l1NonIsoEm);
484  e.getByLabel(gctCenJetsSource_, l1CenJets);
485  e.getByLabel(gctForJetsSource_, l1ForJets);
486  e.getByLabel(gctTauJetsSource_, l1TauJets);
487  e.getByLabel(gctEnergySumsSource_, l1HFSums);
488  e.getByLabel(gctEnergySumsSource_, l1HFCounts);
489  e.getByLabel(gctEnergySumsSource_, l1EtMiss);
490  e.getByLabel(gctEnergySumsSource_, l1HtMiss);
491  e.getByLabel(gctEnergySumsSource_, l1EtHad);
492  e.getByLabel(gctEnergySumsSource_, l1EtTotal);
493 
494 
495  // Fill histograms
496 
497  // Central jets
498  if (l1CenJets.isValid()) {
499  for (L1GctJetCandCollection::const_iterator cj = l1CenJets->begin();cj != l1CenJets->end(); cj++) {
500  // only plot central BX
501  if (cj->bx()==0) {
502  l1GctCenJetsRank_->Fill(cj->rank());
503  // only plot eta and phi maps for non-zero candidates
504  if (cj->rank()) {
505  l1GctAllJetsEtEtaPhi_->Fill(cj->regionId().ieta(),cj->regionId().iphi(),cj->rank());
506  l1GctAllJetsOccEtaPhi_->Fill(cj->regionId().ieta(),cj->regionId().iphi());
507  l1GctCenJetsEtEtaPhi_->Fill(cj->regionId().ieta(),cj->regionId().iphi(),cj->rank());
508  l1GctCenJetsOccEtaPhi_->Fill(cj->regionId().ieta(),cj->regionId().iphi());
509  }
510  }
511  if (cj->rank()) l1GctAllJetsOccRankBx_->Fill(cj->bx(),cj->rank()); // for all BX
512  }
513  } else {
514  edm::LogWarning("DataNotFound") << " Could not find l1CenJets label was " << gctCenJetsSource_ ;
515  }
516 
517  // Forward jets
518  if (l1ForJets.isValid()) {
519  for (L1GctJetCandCollection::const_iterator fj = l1ForJets->begin(); fj != l1ForJets->end(); fj++) {
520  // only plot central BX
521  if (fj->bx()==0) {
522  l1GctForJetsRank_->Fill(fj->rank());
523  // only plot eta and phi maps for non-zero candidates
524  if (fj->rank()) {
525  l1GctAllJetsEtEtaPhi_->Fill(fj->regionId().ieta(),fj->regionId().iphi(),fj->rank());
526  l1GctAllJetsOccEtaPhi_->Fill(fj->regionId().ieta(),fj->regionId().iphi());
527  l1GctForJetsEtEtaPhi_->Fill(fj->regionId().ieta(),fj->regionId().iphi(),fj->rank());
528  l1GctForJetsOccEtaPhi_->Fill(fj->regionId().ieta(),fj->regionId().iphi());
529  }
530  }
531  if (fj->rank()) l1GctAllJetsOccRankBx_->Fill(fj->bx(),fj->rank()); // for all BX
532  }
533  } else {
534  edm::LogWarning("DataNotFound") << " Could not find l1ForJets label was " << gctForJetsSource_ ;
535  }
536 
537  // Tau jets
538  if (l1TauJets.isValid()) {
539  for (L1GctJetCandCollection::const_iterator tj = l1TauJets->begin(); tj != l1TauJets->end(); tj++) {
540  // only plot central BX
541  if (tj->bx()==0) {
542  l1GctTauJetsRank_->Fill(tj->rank());
543  // only plot eta and phi maps for non-zero candidates
544  if (tj->rank()) {
545  l1GctTauJetsEtEtaPhi_->Fill(tj->regionId().ieta(),tj->regionId().iphi(),tj->rank());
546  l1GctTauJetsOccEtaPhi_->Fill(tj->regionId().ieta(),tj->regionId().iphi());
547  }
548  }
549  if (tj->rank()) l1GctAllJetsOccRankBx_->Fill(tj->bx(),tj->rank()); // for all BX
550  }
551  } else {
552  edm::LogWarning("DataNotFound") << " Could not find l1TauJets label was " << gctTauJetsSource_ ;
553  }
554 
555  // Missing ET
556  if (l1EtMiss.isValid()) {
557  for (L1GctEtMissCollection::const_iterator met = l1EtMiss->begin(); met != l1EtMiss->end(); met++) {
558  // only plot central BX
559  if (met->bx()==0) {
560  if (met->overFlow() == 0 && met->et() > 0) {
561  //Avoid problems with met=0 candidates affecting MET_PHI plots
562  l1GctEtMiss_->Fill(met->et());
563  l1GctEtMissPhi_->Fill(met->phi());
564  }
565  l1GctEtMissOf_->Fill(met->overFlow());
566  }
567  if (met->overFlow() == 0 && met->et() > 0) l1GctEtMissOccBx_->Fill(met->bx(),met->et()); // for all BX
568  }
569  } else {
570  edm::LogWarning("DataNotFound") << " Could not find l1EtMiss label was " << gctEnergySumsSource_ ;
571  }
572 
573  // Missing HT
574  if (l1HtMiss.isValid()) {
575  for (L1GctHtMissCollection::const_iterator mht = l1HtMiss->begin(); mht != l1HtMiss->end(); mht++) {
576  // only plot central BX
577  if (mht->bx()==0) {
578  if (mht->overFlow() == 0 && mht->et() > 0) {
579  //Avoid problems with mht=0 candidates affecting MHT_PHI plots
580  l1GctHtMiss_->Fill(mht->et());
581  l1GctHtMissPhi_->Fill(mht->phi());
582  }
583  l1GctHtMissOf_->Fill(mht->overFlow());
584  }
585  if (mht->overFlow() == 0 && mht->et() > 0) l1GctHtMissOccBx_->Fill(mht->bx(),mht->et()); // for all BX
586  }
587  } else {
588  edm::LogWarning("DataNotFound") << " Could not find l1HtMiss label was " << gctEnergySumsSource_ ;
589  }
590 
591  // Missing ET HT correlations
592  if (l1HtMiss.isValid() && l1EtMiss.isValid()) {
593  if (l1HtMiss->size() == l1EtMiss->size()) {
594  for (unsigned i=0; i<l1HtMiss->size(); i++) {
595  if (l1HtMiss->at(i).overFlow() == 0 && l1EtMiss->at(i).overFlow() == 0 &&
596  l1HtMiss->at(i).bx() == 0 && l1EtMiss->at(i).bx() == 0) {
597  // Avoid problems overflows and only plot central BX
598  l1GctEtMissHtMissCorr_->Fill(l1EtMiss->at(i).et(),l1HtMiss->at(i).et());
599  if (l1HtMiss->at(i).et() && l1EtMiss->at(i).et()){ // Don't plot phi if one or other is zero
600  l1GctEtMissHtMissCorrPhi_->Fill(l1EtMiss->at(i).phi(),l1HtMiss->at(i).phi());
601  }
602  }
603  }
604  }
605  } else {
606  edm::LogWarning("DataNotFound") << " Could not find l1EtMiss or l1HtMiss label was " << gctEnergySumsSource_ ;
607  }
608 
609  // HT
610  if (l1EtHad.isValid()) {
611  for (L1GctEtHadCollection::const_iterator ht = l1EtHad->begin(); ht != l1EtHad->end(); ht++) {
612  // only plot central BX
613  if (ht->bx()==0) {
614  l1GctEtHad_->Fill(ht->et());
615  l1GctEtHadOf_->Fill(ht->overFlow());
616  }
617  l1GctEtHadOccBx_->Fill(ht->bx(),ht->et()); // for all BX
618  }
619  } else {
620  edm::LogWarning("DataNotFound") << " Could not find l1EtHad label was " << gctEnergySumsSource_ ;
621  }
622 
623  // Total ET
624  if (l1EtTotal.isValid()) {
625  for (L1GctEtTotalCollection::const_iterator et = l1EtTotal->begin(); et != l1EtTotal->end(); et++) {
626  // only plot central BX
627  if (et->bx()==0) {
628  l1GctEtTotal_->Fill(et->et());
629  l1GctEtTotalOf_->Fill(et->overFlow());
630  }
631  l1GctEtTotalOccBx_->Fill(et->bx(),et->et()); // for all BX
632  }
633  } else {
634  edm::LogWarning("DataNotFound") << " Could not find l1EtTotal label was " << gctEnergySumsSource_ ;
635  }
636 
637  // Total ET HT correlations
638  if (l1EtTotal.isValid() && l1EtHad.isValid()) {
639  if (l1EtTotal->size() == l1EtHad->size()) {
640  for (unsigned i=0; i<l1EtHad->size(); i++) {
641  if (l1EtHad->at(i).overFlow() == 0 && l1EtTotal->at(i).overFlow() == 0 &&
642  l1EtHad->at(i).bx() == 0 && l1EtTotal->at(i).bx() == 0) {
643  // Avoid problems overflows and only plot central BX
644  l1GctEtTotalEtHadCorr_->Fill(l1EtTotal->at(i).et(),l1EtHad->at(i).et());
645  }
646  }
647  }
648  } else {
649  edm::LogWarning("DataNotFound") << " Could not find l1EtTotal or l1EtHad label was " << gctEnergySumsSource_ ;
650  }
651 
652  //HF Ring Et Sums
653  if (l1HFSums.isValid()) {
654  for (L1GctHFRingEtSumsCollection::const_iterator hfs=l1HFSums->begin(); hfs!=l1HFSums->end(); hfs++){
655  // only plot central BX
656  if (hfs->bx()==0) {
657  // Individual ring Et sums
658  l1GctHFRing1ETSumPosEta_->Fill(hfs->etSum(0));
659  l1GctHFRing1ETSumNegEta_->Fill(hfs->etSum(1));
660  l1GctHFRing2ETSumPosEta_->Fill(hfs->etSum(2));
661  l1GctHFRing2ETSumNegEta_->Fill(hfs->etSum(3));
662  // Ratio of ring Et sums
663  if (hfs->etSum(2)!=0) l1GctHFRingRatioPosEta_->Fill((hfs->etSum(0))/(hfs->etSum(2)));
664  if (hfs->etSum(3)!=0) l1GctHFRingRatioNegEta_->Fill((hfs->etSum(1))/(hfs->etSum(3)));
665  // Correlate positive and neagative eta
666  l1GctHFRing1PosEtaNegEta_->Fill(hfs->etSum(0),hfs->etSum(1));
667  l1GctHFRing2PosEtaNegEta_->Fill(hfs->etSum(2),hfs->etSum(3));
668  }
669  // Occupancy vs BX
670  for (unsigned i=0; i<4; i++){
671  l1GctHFRingETSumOccBx_->Fill(hfs->bx(),hfs->etSum(i));
672  }
673  }
674  } else {
675  edm::LogWarning("DataNotFound") << " Could not find l1HFSums label was " << gctEnergySumsSource_ ;
676  }
677 
678  // HF Ring Counts
679  if (l1HFCounts.isValid()) {
680  for (L1GctHFBitCountsCollection::const_iterator hfc=l1HFCounts->begin(); hfc!=l1HFCounts->end(); hfc++){
681  // only plot central BX
682  if (hfc->bx()==0) {
683  // Individual ring counts
684  l1GctHFRing1TowerCountPosEta_->Fill(hfc->bitCount(0));
685  l1GctHFRing1TowerCountNegEta_->Fill(hfc->bitCount(1));
686  l1GctHFRing2TowerCountPosEta_->Fill(hfc->bitCount(2));
687  l1GctHFRing2TowerCountNegEta_->Fill(hfc->bitCount(3));
688  // Correlate positive and negative eta
689  l1GctHFRing1TowerCountPosEtaNegEta_->Fill(hfc->bitCount(0),hfc->bitCount(1));
690  l1GctHFRing2TowerCountPosEtaNegEta_->Fill(hfc->bitCount(2),hfc->bitCount(3));
691  }
692  // Occupancy vs BX
693  for (unsigned i=0; i<4; i++){
694  l1GctHFRingTowerCountOccBx_->Fill(hfc->bx(),hfc->bitCount(i));
695  }
696  }
697  } else {
698  edm::LogWarning("DataNotFound") << " Could not find l1HFCounts label was " << gctEnergySumsSource_ ;
699  }
700 
701  // Isolated EM
702  if (l1IsoEm.isValid()) {
703  for (L1GctEmCandCollection::const_iterator ie=l1IsoEm->begin(); ie!=l1IsoEm->end(); ie++) {
704  // only plot central BX
705  if (ie->bx()==0) {
706  l1GctIsoEmRank_->Fill(ie->rank());
707  // only plot eta and phi maps for non-zero candidates
708  if (ie->rank()){
709  l1GctIsoEmRankEtaPhi_->Fill(ie->regionId().ieta(),ie->regionId().iphi(),ie->rank());
710  l1GctIsoEmOccEtaPhi_->Fill(ie->regionId().ieta(),ie->regionId().iphi());
711  }
712  }
713  if (ie->rank()) l1GctAllEmOccRankBx_->Fill(ie->bx(),ie->rank()); // for all BX
714  }
715  } else {
716  edm::LogWarning("DataNotFound") << " Could not find l1IsoEm label was " << gctIsoEmSource_ ;
717  }
718 
719  // Non-isolated EM
720  if (l1NonIsoEm.isValid()) {
721  for (L1GctEmCandCollection::const_iterator ne=l1NonIsoEm->begin(); ne!=l1NonIsoEm->end(); ne++) {
722  // only plot central BX
723  if (ne->bx()==0) {
724  l1GctNonIsoEmRank_->Fill(ne->rank());
725  // only plot eta and phi maps for non-zero candidates
726  if (ne->rank()){
727  l1GctNonIsoEmRankEtaPhi_->Fill(ne->regionId().ieta(),ne->regionId().iphi(),ne->rank());
728  l1GctNonIsoEmOccEtaPhi_->Fill(ne->regionId().ieta(),ne->regionId().iphi());
729  }
730  }
731  if (ne->rank()) l1GctAllEmOccRankBx_->Fill(ne->bx(),ne->rank()); // for all BX
732  }
733  } else {
734  edm::LogWarning("DataNotFound") << " Could not find l1NonIsoEm label was " << gctNonIsoEmSource_ ;
735  }
736 }
int i
Definition: DBlmapReader.cc:9
MonitorElement * l1GctHtMiss_
Definition: L1TGCT.h:189
MonitorElement * l1GctEtHad_
Definition: L1TGCT.h:198
MonitorElement * l1GctHtMissPhi_
Definition: L1TGCT.h:190
edm::InputTag gctEnergySumsSource_
Definition: L1TGCT.h:230
MonitorElement * l1GctHFRing2TowerCountNegEta_
Definition: L1TGCT.h:211
MonitorElement * l1GctEtMissOccBx_
Definition: L1TGCT.h:188
MonitorElement * l1GctCenJetsRank_
Definition: L1TGCT.h:175
MonitorElement * l1GctHFRing1ETSumNegEta_
Definition: L1TGCT.h:213
MonitorElement * l1GctEtTotalEtHadCorr_
Definition: L1TGCT.h:201
MonitorElement * l1GctHFRing1TowerCountPosEta_
Definition: L1TGCT.h:208
MonitorElement * l1GctTauJetsEtEtaPhi_
Definition: L1TGCT.h:164
MonitorElement * l1GctHFRingETSumOccBx_
Definition: L1TGCT.h:218
MonitorElement * l1GctNonIsoEmRank_
Definition: L1TGCT.h:179
MonitorElement * l1GctEtMiss_
Definition: L1TGCT.h:185
MonitorElement * l1GctHFRing2ETSumNegEta_
Definition: L1TGCT.h:215
MonitorElement * l1GctAllEmOccRankBx_
Definition: L1TGCT.h:182
MonitorElement * l1GctEtTotal_
Definition: L1TGCT.h:195
MonitorElement * l1GctHtMissOf_
Definition: L1TGCT.h:191
MonitorElement * l1GctEtHadOccBx_
Definition: L1TGCT.h:200
MonitorElement * l1GctEtTotalOccBx_
Definition: L1TGCT.h:197
bool isRealData() const
Definition: EventBase.h:60
MonitorElement * l1GctHFRingTowerCountOccBx_
Definition: L1TGCT.h:219
MonitorElement * l1GctForJetsRank_
Definition: L1TGCT.h:176
MonitorElement * l1GctTauJetsRank_
Definition: L1TGCT.h:177
MonitorElement * l1GctHFRing2ETSumPosEta_
Definition: L1TGCT.h:214
void Fill(long long x)
edm::InputTag gctCenJetsSource_
Definition: L1TGCT.h:227
MonitorElement * l1GctEtMissPhi_
Definition: L1TGCT.h:186
MonitorElement * l1GctCenJetsEtEtaPhi_
Definition: L1TGCT.h:162
edm::InputTag gctTauJetsSource_
Definition: L1TGCT.h:229
MonitorElement * l1GctAllJetsEtEtaPhi_
Definition: L1TGCT.h:161
MonitorElement * l1GctHFRing1ETSumPosEta_
Definition: L1TGCT.h:212
MonitorElement * l1GctHFRingRatioNegEta_
Definition: L1TGCT.h:217
MonitorElement * l1GctCenJetsOccEtaPhi_
Definition: L1TGCT.h:169
MonitorElement * l1GctEtMissOf_
Definition: L1TGCT.h:187
MonitorElement * l1GctForJetsEtEtaPhi_
Definition: L1TGCT.h:163
MonitorElement * l1GctIsoEmRank_
Definition: L1TGCT.h:178
MonitorElement * l1GctHtMissOccBx_
Definition: L1TGCT.h:192
MonitorElement * l1GctHFRing2TowerCountPosEta_
Definition: L1TGCT.h:210
MonitorElement * l1GctHFRing2TowerCountPosEtaNegEta_
Definition: L1TGCT.h:207
bool isValid() const
Definition: HandleBase.h:76
edm::InputTag gctIsoEmSource_
Definition: L1TGCT.h:231
MonitorElement * triggerType_
Definition: L1TGCT.h:158
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
MonitorElement * l1GctEtMissHtMissCorrPhi_
Definition: L1TGCT.h:194
MonitorElement * l1GctNonIsoEmOccEtaPhi_
Definition: L1TGCT.h:173
int filterTriggerType_
filter TriggerType
Definition: L1TGCT.h:235
edm::InputTag gctForJetsSource_
Definition: L1TGCT.h:228
MonitorElement * l1GctNonIsoEmRankEtaPhi_
Definition: L1TGCT.h:166
int nev_
Definition: L1TGCT.h:221
MonitorElement * l1GctHFRing1PosEtaNegEta_
Definition: L1TGCT.h:204
MonitorElement * l1GctAllJetsOccEtaPhi_
Definition: L1TGCT.h:168
MonitorElement * l1GctHFRingRatioPosEta_
Definition: L1TGCT.h:216
MonitorElement * l1GctIsoEmRankEtaPhi_
Definition: L1TGCT.h:165
MonitorElement * l1GctHFRing1TowerCountPosEtaNegEta_
Definition: L1TGCT.h:206
edm::EventAuxiliary::ExperimentType experimentType() const
Definition: EventBase.h:61
MonitorElement * l1GctEtHadOf_
Definition: L1TGCT.h:199
MonitorElement * l1GctForJetsOccEtaPhi_
Definition: L1TGCT.h:170
MonitorElement * l1GctHFRing1TowerCountNegEta_
Definition: L1TGCT.h:209
bool verbose_
Definition: L1TGCT.h:223
MonitorElement * l1GctEtTotalOf_
Definition: L1TGCT.h:196
MonitorElement * l1GctAllJetsOccRankBx_
Definition: L1TGCT.h:181
MonitorElement * l1GctEtMissHtMissCorr_
Definition: L1TGCT.h:193
MonitorElement * l1GctHFRing2PosEtaNegEta_
Definition: L1TGCT.h:205
edm::InputTag gctNonIsoEmSource_
Definition: L1TGCT.h:232
MonitorElement * l1GctTauJetsOccEtaPhi_
Definition: L1TGCT.h:171
MonitorElement * l1GctIsoEmOccEtaPhi_
Definition: L1TGCT.h:172
void L1TGCT::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 290 of file L1TGCT.cc.

References DQMStore::book1D(), DQMStore::book2D(), BXBINS, BXMAX, BXMIN, dbe, EMETABINS, EMETAMAX, EMETAMIN, JETETABINS, JETETAMAX, JETETAMIN, l1GctAllEmOccRankBx_, l1GctAllJetsEtEtaPhi_, l1GctAllJetsOccEtaPhi_, l1GctAllJetsOccRankBx_, l1GctCenJetsEtEtaPhi_, l1GctCenJetsOccEtaPhi_, l1GctCenJetsRank_, l1GctEtHad_, l1GctEtHadOccBx_, l1GctEtHadOf_, l1GctEtMiss_, l1GctEtMissHtMissCorr_, l1GctEtMissHtMissCorrPhi_, l1GctEtMissOccBx_, l1GctEtMissOf_, l1GctEtMissPhi_, l1GctEtTotal_, l1GctEtTotalEtHadCorr_, l1GctEtTotalOccBx_, l1GctEtTotalOf_, l1GctForJetsEtEtaPhi_, l1GctForJetsOccEtaPhi_, l1GctForJetsRank_, l1GctHFRing1ETSumNegEta_, l1GctHFRing1ETSumPosEta_, l1GctHFRing1PosEtaNegEta_, l1GctHFRing1TowerCountNegEta_, l1GctHFRing1TowerCountPosEta_, l1GctHFRing1TowerCountPosEtaNegEta_, l1GctHFRing2ETSumNegEta_, l1GctHFRing2ETSumPosEta_, l1GctHFRing2PosEtaNegEta_, l1GctHFRing2TowerCountNegEta_, l1GctHFRing2TowerCountPosEta_, l1GctHFRing2TowerCountPosEtaNegEta_, l1GctHFRingETSumOccBx_, l1GctHFRingRatioNegEta_, l1GctHFRingRatioPosEta_, l1GctHFRingTowerCountOccBx_, l1GctHtMiss_, l1GctHtMissOccBx_, l1GctHtMissOf_, l1GctHtMissPhi_, l1GctIsoEmOccEtaPhi_, l1GctIsoEmRank_, l1GctIsoEmRankEtaPhi_, l1GctNonIsoEmOccEtaPhi_, l1GctNonIsoEmRank_, l1GctNonIsoEmRankEtaPhi_, l1GctTauJetsEtEtaPhi_, l1GctTauJetsOccEtaPhi_, l1GctTauJetsRank_, METPHIBINS, METPHIMAX, METPHIMIN, MHTPHIBINS, MHTPHIMAX, MHTPHIMIN, nev_, OFBINS, OFMAX, OFMIN, cppFunctionSkipper::operator, PHIBINS, PHIMAX, PHIMIN, R12BINS, R12MAX, R12MIN, R3BINS, R3MAX, R3MIN, R5BINS, R5MAX, R5MIN, R6BINS, R6MAX, R6MIN, R7BINS, R7MAX, R7MIN, DQMStore::rmdir(), DQMStore::setCurrentFolder(), and triggerType_.

291 {
292 
293  nev_ = 0;
294 
295  // get hold of back-end interface
296  DQMStore *dbe = 0;
297  dbe = edm::Service < DQMStore > ().operator->();
298 
299  if (dbe) {
300  dbe->setCurrentFolder("L1T/L1TGCT");
301  dbe->rmdir("L1T/L1TGCT");
302  }
303 
304 
305  if (dbe) {
306 
307  dbe->setCurrentFolder("L1T/L1TGCT");
308 
309  triggerType_ =
310  dbe->book1D("TriggerType", "TriggerType", 17, -0.5, 16.5);
311 
312  l1GctAllJetsEtEtaPhi_ = dbe->book2D("AllJetsEtEtaPhi", "CENTRAL AND FORWARD JET E_{T}",
314  PHIBINS, PHIMIN, PHIMAX);
315  l1GctCenJetsEtEtaPhi_ = dbe->book2D("CenJetsEtEtaPhi", "CENTRAL JET E_{T}",
317  PHIBINS, PHIMIN, PHIMAX);
318  l1GctForJetsEtEtaPhi_ = dbe->book2D("ForJetsEtEtaPhi", "FORWARD JET E_{T}",
320  PHIBINS, PHIMIN, PHIMAX);
321  l1GctTauJetsEtEtaPhi_ = dbe->book2D("TauJetsEtEtaPhi", "TAU JET E_{T}",
323  PHIBINS, PHIMIN, PHIMAX);
324  l1GctIsoEmRankEtaPhi_ = dbe->book2D("IsoEmRankEtaPhi", "ISO EM E_{T}",
326  PHIBINS, PHIMIN, PHIMAX);
327  l1GctNonIsoEmRankEtaPhi_ = dbe->book2D("NonIsoEmRankEtaPhi", "NON-ISO EM E_{T}",
329  PHIBINS, PHIMIN, PHIMAX);
330  l1GctAllJetsOccEtaPhi_ = dbe->book2D("AllJetsOccEtaPhi", "CENTRAL AND FORWARD JET OCCUPANCY",
332  PHIBINS, PHIMIN, PHIMAX);
333  l1GctCenJetsOccEtaPhi_ = dbe->book2D("CenJetsOccEtaPhi", "CENTRAL JET OCCUPANCY",
335  PHIBINS, PHIMIN, PHIMAX);
336  l1GctForJetsOccEtaPhi_ = dbe->book2D("ForJetsOccEtaPhi", "FORWARD JET OCCUPANCY",
338  PHIBINS, PHIMIN, PHIMAX);
339  l1GctTauJetsOccEtaPhi_ = dbe->book2D("TauJetsOccEtaPhi", "TAU JET OCCUPANCY",
341  PHIBINS, PHIMIN, PHIMAX);
342  l1GctIsoEmOccEtaPhi_ = dbe->book2D("IsoEmOccEtaPhi", "ISO EM OCCUPANCY",
344  PHIBINS, PHIMIN, PHIMAX);
345  l1GctNonIsoEmOccEtaPhi_ = dbe->book2D("NonIsoEmOccEtaPhi", "NON-ISO EM OCCUPANCY",
347  PHIBINS, PHIMIN, PHIMAX);
348 
349  l1GctHFRing1PosEtaNegEta_ = dbe->book2D("HFRing1Corr", "HF RING1 E_{T} CORRELATION +/- #eta",
351  l1GctHFRing2PosEtaNegEta_ = dbe->book2D("HFRing2Corr", "HF RING2 E_{T} CORRELATION +/- #eta",
353  l1GctHFRing1TowerCountPosEtaNegEta_ = dbe->book2D("HFRing1TowerCountCorr", "HF RING1 TOWER COUNT CORRELATION +/- #eta",
355  l1GctHFRing2TowerCountPosEtaNegEta_ = dbe->book2D("HFRing2TowerCountCorr", "HF RING2 TOWER COUNT CORRELATION +/- #eta",
357 
358  //HF Ring stuff
359  l1GctHFRing1TowerCountPosEta_ = dbe->book1D("HFRing1TowerCountPosEta", "HF RING1 TOWER COUNT #eta +", R3BINS, R3MIN, R3MAX);
360  l1GctHFRing1TowerCountNegEta_ = dbe->book1D("HFRing1TowerCountNegEta", "HF RING1 TOWER COUNT #eta -", R3BINS, R3MIN, R3MAX);
361  l1GctHFRing2TowerCountPosEta_ = dbe->book1D("HFRing2TowerCountPosEta", "HF RING2 TOWER COUNT #eta +", R3BINS, R3MIN, R3MAX);
362  l1GctHFRing2TowerCountNegEta_ = dbe->book1D("HFRing2TowerCountNegEta", "HF RING2 TOWER COUNT #eta -", R3BINS, R3MIN, R3MAX);
363 
364  l1GctHFRing1ETSumPosEta_ = dbe->book1D("HFRing1ETSumPosEta", "HF RING1 E_{T} #eta +", R3BINS, R3MIN, R3MAX);
365  l1GctHFRing1ETSumNegEta_ = dbe->book1D("HFRing1ETSumNegEta", "HF RING1 E_{T} #eta -", R3BINS, R3MIN, R3MAX);
366  l1GctHFRing2ETSumPosEta_ = dbe->book1D("HFRing2ETSumPosEta", "HF RING2 E_{T} #eta +", R3BINS, R3MIN, R3MAX);
367  l1GctHFRing2ETSumNegEta_ = dbe->book1D("HFRing2ETSumNegEta", "HF RING2 E_{T} #eta -", R3BINS, R3MIN, R3MAX);
368  l1GctHFRingRatioPosEta_ = dbe->book1D("HFRingRatioPosEta", "HF RING E_{T} RATIO #eta +", R5BINS, R5MIN, R5MAX);
369  l1GctHFRingRatioNegEta_ = dbe->book1D("HFRingRatioNegEta", "HF RING E_{T} RATIO #eta -", R5BINS, R5MIN, R5MAX);
370 
371  l1GctHFRingTowerCountOccBx_ = dbe->book2D("HFRingTowerCountOccBx", "HF RING TOWER COUNT PER BX",BXBINS, BXMIN, BXMAX, R3BINS, R3MIN, R3MAX);
372  l1GctHFRingETSumOccBx_ = dbe->book2D("HFRingETSumOccBx", "HF RING E_{T} PER BX",BXBINS, BXMIN, BXMAX, R3BINS, R3MIN, R3MAX);
373 
374  // Rank histograms
375  l1GctCenJetsRank_ = dbe->book1D("CenJetsRank", "CENTRAL JET E_{T}", R6BINS, R6MIN, R6MAX);
376  l1GctForJetsRank_ = dbe->book1D("ForJetsRank", "FORWARD JET E_{T}", R6BINS, R6MIN, R6MAX);
377  l1GctTauJetsRank_ = dbe->book1D("TauJetsRank", "TAU JET E_{T}", R6BINS, R6MIN, R6MAX);
378  l1GctIsoEmRank_ = dbe->book1D("IsoEmRank", "ISO EM E_{T}", R6BINS, R6MIN, R6MAX);
379  l1GctNonIsoEmRank_ = dbe->book1D("NonIsoEmRank", "NON-ISO EM E_{T}", R6BINS, R6MIN, R6MAX);
380 
381  l1GctAllJetsOccRankBx_ = dbe->book2D("AllJetsOccRankBx","ALL JETS E_{T} PER BX",BXBINS,BXMIN,BXMAX,R6BINS,R6MIN,R6MAX);
382  l1GctAllEmOccRankBx_ = dbe->book2D("AllEmOccRankBx","ALL EM E_{T} PER BX",BXBINS,BXMIN,BXMAX,R6BINS,R6MIN,R6MAX);
383 
384  // Energy sums
385  l1GctEtMiss_ = dbe->book1D("EtMiss", "MET", R12BINS, R12MIN, R12MAX);
386  l1GctEtMissPhi_ = dbe->book1D("EtMissPhi", "MET #phi", METPHIBINS, METPHIMIN, METPHIMAX);
387  l1GctEtMissOf_ = dbe->book1D("EtMissOf", "MET OVERFLOW", OFBINS, OFMIN, OFMAX);
388  l1GctEtMissOccBx_ = dbe->book2D("EtMissOccBx","MET PER BX",BXBINS,BXMIN,BXMAX,R12BINS,R12MIN,R12MAX);
389  l1GctHtMiss_ = dbe->book1D("HtMiss", "MHT", R7BINS, R7MIN, R7MAX);
390  l1GctHtMissPhi_ = dbe->book1D("HtMissPhi", "MHT #phi", MHTPHIBINS, MHTPHIMIN, MHTPHIMAX);
391  l1GctHtMissOf_ = dbe->book1D("HtMissOf", "MHT OVERFLOW", OFBINS, OFMIN, OFMAX);
392  l1GctHtMissOccBx_ = dbe->book2D("HtMissOccBx","MHT PER BX",BXBINS,BXMIN,BXMAX,R7BINS,R7MIN,R7MAX);
393  l1GctEtMissHtMissCorr_ = dbe->book2D("EtMissHtMissCorr", "MET MHT CORRELATION",
394  R6BINS, R12MIN, R12MAX,
395  R6BINS, R7MIN, R7MAX);
396  l1GctEtMissHtMissCorrPhi_ = dbe->book2D("EtMissHtMissPhiCorr", "MET MHT #phi CORRELATION",
399  l1GctEtTotal_ = dbe->book1D("EtTotal", "SUM E_{T}", R12BINS, R12MIN, R12MAX);
400  l1GctEtTotalOf_ = dbe->book1D("EtTotalOf", "SUM E_{T} OVERFLOW", OFBINS, OFMIN, OFMAX);
401  l1GctEtTotalOccBx_ = dbe->book2D("EtTotalOccBx","SUM E_{T} PER BX",BXBINS,BXMIN,BXMAX,R12BINS,R12MIN,R12MAX);
402  l1GctEtHad_ = dbe->book1D("EtHad", "H_{T}", R12BINS, R12MIN, R12MAX);
403  l1GctEtHadOf_ = dbe->book1D("EtHadOf", "H_{T} OVERFLOW", OFBINS, OFMIN, OFMAX);
404  l1GctEtHadOccBx_ = dbe->book2D("EtHadOccBx","H_{T} PER BX",BXBINS,BXMIN,BXMAX,R12BINS,R12MIN,R12MAX);
405  l1GctEtTotalEtHadCorr_ = dbe->book2D("EtTotalEtHadCorr", "Sum E_{T} H_{T} CORRELATION",
406  R6BINS, R12MIN, R12MAX,
407  R6BINS, R12MIN, R12MAX);
408  }
409 
410 }
const float METPHIMAX
Definition: L1TGCT.cc:207
const unsigned int R6BINS
Definition: L1TCompare.cc:92
const unsigned int BXBINS
Definition: L1TGCT.cc:221
#define PHIMAX
MonitorElement * l1GctHtMiss_
Definition: L1TGCT.h:189
MonitorElement * l1GctEtHad_
Definition: L1TGCT.h:198
MonitorElement * l1GctHtMissPhi_
Definition: L1TGCT.h:190
const unsigned int OFBINS
Definition: L1TGCT.cc:217
MonitorElement * l1GctHFRing2TowerCountNegEta_
Definition: L1TGCT.h:211
const unsigned int R12BINS
Definition: L1TCompare.cc:98
MonitorElement * l1GctEtMissOccBx_
Definition: L1TGCT.h:188
MonitorElement * l1GctCenJetsRank_
Definition: L1TGCT.h:175
MonitorElement * l1GctHFRing1ETSumNegEta_
Definition: L1TGCT.h:213
MonitorElement * l1GctEtTotalEtHadCorr_
Definition: L1TGCT.h:201
MonitorElement * l1GctHFRing1TowerCountPosEta_
Definition: L1TGCT.h:208
const unsigned int EMETABINS
Definition: L1TGCT.cc:201
MonitorElement * l1GctTauJetsEtEtaPhi_
Definition: L1TGCT.h:164
const float BXMIN
Definition: L1TGCT.cc:222
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:722
void rmdir(const std::string &fullpath)
Definition: DQMStore.cc:2535
MonitorElement * l1GctHFRingETSumOccBx_
Definition: L1TGCT.h:218
MonitorElement * l1GctNonIsoEmRank_
Definition: L1TGCT.h:179
const unsigned int MHTPHIBINS
Definition: L1TGCT.cc:209
const float OFMAX
Definition: L1TGCT.cc:219
MonitorElement * l1GctEtMiss_
Definition: L1TGCT.h:185
DQMStore * dbe
Definition: L1TGCT.h:155
MonitorElement * l1GctHFRing2ETSumNegEta_
Definition: L1TGCT.h:215
MonitorElement * l1GctAllEmOccRankBx_
Definition: L1TGCT.h:182
const float BXMAX
Definition: L1TGCT.cc:223
const float R12MIN
Definition: L1TCompare.cc:99
MonitorElement * l1GctEtTotal_
Definition: L1TGCT.h:195
MonitorElement * l1GctHtMissOf_
Definition: L1TGCT.h:191
MonitorElement * l1GctEtHadOccBx_
Definition: L1TGCT.h:200
MonitorElement * l1GctEtTotalOccBx_
Definition: L1TGCT.h:197
MonitorElement * l1GctHFRingTowerCountOccBx_
Definition: L1TGCT.h:219
MonitorElement * l1GctForJetsRank_
Definition: L1TGCT.h:176
MonitorElement * l1GctTauJetsRank_
Definition: L1TGCT.h:177
MonitorElement * l1GctHFRing2ETSumPosEta_
Definition: L1TGCT.h:214
MonitorElement * l1GctEtMissPhi_
Definition: L1TGCT.h:186
MonitorElement * l1GctCenJetsEtEtaPhi_
Definition: L1TGCT.h:162
MonitorElement * l1GctAllJetsEtEtaPhi_
Definition: L1TGCT.h:161
const float JETETAMAX
Definition: L1TGCT.cc:199
MonitorElement * l1GctHFRing1ETSumPosEta_
Definition: L1TGCT.h:212
const float R6MAX
Definition: L1TCompare.cc:94
const unsigned int R3BINS
Definition: L1TGCT.cc:226
MonitorElement * l1GctHFRingRatioNegEta_
Definition: L1TGCT.h:217
const float EMETAMIN
Definition: L1TGCT.cc:202
MonitorElement * l1GctCenJetsOccEtaPhi_
Definition: L1TGCT.h:169
MonitorElement * l1GctEtMissOf_
Definition: L1TGCT.h:187
MonitorElement * l1GctForJetsEtEtaPhi_
Definition: L1TGCT.h:163
const unsigned int JETETABINS
Definition: L1TGCT.cc:197
MonitorElement * l1GctIsoEmRank_
Definition: L1TGCT.h:178
MonitorElement * l1GctHtMissOccBx_
Definition: L1TGCT.h:192
const float R7MAX
Definition: L1TGCT.cc:237
const float R5MAX
Definition: L1TGCT.cc:231
MonitorElement * l1GctHFRing2TowerCountPosEta_
Definition: L1TGCT.h:210
MonitorElement * l1GctHFRing2TowerCountPosEtaNegEta_
Definition: L1TGCT.h:207
#define PHIMIN
MonitorElement * triggerType_
Definition: L1TGCT.h:158
const float OFMIN
Definition: L1TGCT.cc:218
MonitorElement * l1GctEtMissHtMissCorrPhi_
Definition: L1TGCT.h:194
const float MHTPHIMAX
Definition: L1TGCT.cc:211
const float R5MIN
Definition: L1TGCT.cc:230
MonitorElement * l1GctNonIsoEmOccEtaPhi_
Definition: L1TGCT.h:173
const float MHTPHIMIN
Definition: L1TGCT.cc:210
const unsigned int R7BINS
Definition: L1TGCT.cc:235
const float R6MIN
Definition: L1TCompare.cc:93
MonitorElement * l1GctNonIsoEmRankEtaPhi_
Definition: L1TGCT.h:166
int nev_
Definition: L1TGCT.h:221
MonitorElement * l1GctHFRing1PosEtaNegEta_
Definition: L1TGCT.h:204
const unsigned int R5BINS
Definition: L1TGCT.cc:229
MonitorElement * l1GctAllJetsOccEtaPhi_
Definition: L1TGCT.h:168
MonitorElement * l1GctHFRingRatioPosEta_
Definition: L1TGCT.h:216
MonitorElement * l1GctIsoEmRankEtaPhi_
Definition: L1TGCT.h:165
MonitorElement * l1GctHFRing1TowerCountPosEtaNegEta_
Definition: L1TGCT.h:206
const float METPHIMIN
Definition: L1TGCT.cc:206
#define PHIBINS
MonitorElement * l1GctEtHadOf_
Definition: L1TGCT.h:199
MonitorElement * l1GctForJetsOccEtaPhi_
Definition: L1TGCT.h:170
const float EMETAMAX
Definition: L1TGCT.cc:203
MonitorElement * l1GctHFRing1TowerCountNegEta_
Definition: L1TGCT.h:209
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:850
MonitorElement * l1GctEtTotalOf_
Definition: L1TGCT.h:196
const float R3MAX
Definition: L1TGCT.cc:228
MonitorElement * l1GctAllJetsOccRankBx_
Definition: L1TGCT.h:181
MonitorElement * l1GctEtMissHtMissCorr_
Definition: L1TGCT.h:193
MonitorElement * l1GctHFRing2PosEtaNegEta_
Definition: L1TGCT.h:205
const unsigned int METPHIBINS
Definition: L1TGCT.cc:205
const float R12MAX
Definition: L1TCompare.cc:100
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
MonitorElement * l1GctTauJetsOccEtaPhi_
Definition: L1TGCT.h:171
MonitorElement * l1GctIsoEmOccEtaPhi_
Definition: L1TGCT.h:172
const float R3MIN
Definition: L1TGCT.cc:227
const float R7MIN
Definition: L1TGCT.cc:236
const float JETETAMIN
Definition: L1TGCT.cc:198
void L1TGCT::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 413 of file L1TGCT.cc.

References dbe, nev_, outputFile_, DQMStore::save(), and verbose_.

414 {
415  if (verbose_)
416  edm::LogInfo("L1TGCT") << "L1TGCT: end job...." << std::endl;
417  edm::LogInfo("EndJob") << "analyzed " << nev_ << " events";
418 
419  if (outputFile_.size() != 0 && dbe) {
420  dbe->save(outputFile_);
421  }
422 
423  return;
424 }
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition: DQMStore.cc:2118
DQMStore * dbe
Definition: L1TGCT.h:155
int nev_
Definition: L1TGCT.h:221
std::string outputFile_
Definition: L1TGCT.h:222
bool verbose_
Definition: L1TGCT.h:223

Member Data Documentation

DQMStore* L1TGCT::dbe
private

Definition at line 155 of file L1TGCT.h.

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

int L1TGCT::filterTriggerType_
private

filter TriggerType

Definition at line 235 of file L1TGCT.h.

Referenced by analyze().

edm::InputTag L1TGCT::gctCenJetsSource_
private

Definition at line 227 of file L1TGCT.h.

Referenced by analyze().

edm::InputTag L1TGCT::gctEnergySumsSource_
private

Definition at line 230 of file L1TGCT.h.

Referenced by analyze().

edm::InputTag L1TGCT::gctForJetsSource_
private

Definition at line 228 of file L1TGCT.h.

Referenced by analyze().

edm::InputTag L1TGCT::gctIsoEmSource_
private

Definition at line 231 of file L1TGCT.h.

Referenced by analyze().

edm::InputTag L1TGCT::gctNonIsoEmSource_
private

Definition at line 232 of file L1TGCT.h.

Referenced by analyze().

edm::InputTag L1TGCT::gctTauJetsSource_
private

Definition at line 229 of file L1TGCT.h.

Referenced by analyze().

MonitorElement* L1TGCT::l1GctAllEmOccRankBx_
private

Definition at line 182 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctAllJetsEtEtaPhi_
private

Definition at line 161 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctAllJetsOccEtaPhi_
private

Definition at line 168 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctAllJetsOccRankBx_
private

Definition at line 181 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctCenJetsEtEtaPhi_
private

Definition at line 162 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctCenJetsOccEtaPhi_
private

Definition at line 169 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctCenJetsRank_
private

Definition at line 175 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtHad_
private

Definition at line 198 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtHadOccBx_
private

Definition at line 200 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtHadOf_
private

Definition at line 199 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtMiss_
private

Definition at line 185 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtMissHtMissCorr_
private

Definition at line 193 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtMissHtMissCorrPhi_
private

Definition at line 194 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtMissOccBx_
private

Definition at line 188 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtMissOf_
private

Definition at line 187 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtMissPhi_
private

Definition at line 186 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtTotal_
private

Definition at line 195 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtTotalEtHadCorr_
private

Definition at line 201 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtTotalOccBx_
private

Definition at line 197 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctEtTotalOf_
private

Definition at line 196 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctForJetsEtEtaPhi_
private

Definition at line 163 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctForJetsOccEtaPhi_
private

Definition at line 170 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctForJetsRank_
private

Definition at line 176 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing1ETSumNegEta_
private

Definition at line 213 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing1ETSumPosEta_
private

Definition at line 212 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing1PosEtaNegEta_
private

Definition at line 204 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing1TowerCountNegEta_
private

Definition at line 209 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing1TowerCountPosEta_
private

Definition at line 208 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing1TowerCountPosEtaNegEta_
private

Definition at line 206 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing2ETSumNegEta_
private

Definition at line 215 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing2ETSumPosEta_
private

Definition at line 214 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing2PosEtaNegEta_
private

Definition at line 205 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing2TowerCountNegEta_
private

Definition at line 211 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing2TowerCountPosEta_
private

Definition at line 210 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRing2TowerCountPosEtaNegEta_
private

Definition at line 207 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRingETSumOccBx_
private

Definition at line 218 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRingRatioNegEta_
private

Definition at line 217 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRingRatioPosEta_
private

Definition at line 216 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHFRingTowerCountOccBx_
private

Definition at line 219 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHtMiss_
private

Definition at line 189 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHtMissOccBx_
private

Definition at line 192 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHtMissOf_
private

Definition at line 191 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctHtMissPhi_
private

Definition at line 190 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctIsoEmOccEtaPhi_
private

Definition at line 172 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctIsoEmRank_
private

Definition at line 178 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctIsoEmRankEtaPhi_
private

Definition at line 165 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctNonIsoEmOccEtaPhi_
private

Definition at line 173 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctNonIsoEmRank_
private

Definition at line 179 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctNonIsoEmRankEtaPhi_
private

Definition at line 166 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctTauJetsEtEtaPhi_
private

Definition at line 164 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctTauJetsOccEtaPhi_
private

Definition at line 171 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

MonitorElement* L1TGCT::l1GctTauJetsRank_
private

Definition at line 177 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

ofstream L1TGCT::logFile_
private

Definition at line 225 of file L1TGCT.h.

bool L1TGCT::monitorDaemon_
private

Definition at line 224 of file L1TGCT.h.

int L1TGCT::nev_
private

Definition at line 221 of file L1TGCT.h.

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

std::string L1TGCT::outputFile_
private

Definition at line 222 of file L1TGCT.h.

Referenced by endJob(), and L1TGCT().

MonitorElement* L1TGCT::triggerType_
private

Definition at line 158 of file L1TGCT.h.

Referenced by analyze(), and beginJob().

bool L1TGCT::verbose_
private

Definition at line 223 of file L1TGCT.h.

Referenced by analyze(), endJob(), and L1TGCT().