CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
L1TObjectsTiming Class Reference

#include <L1TObjectsTiming.h>

Inheritance diagram for L1TObjectsTiming:
DQMEDAnalyzer edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1TObjectsTiming (const edm::ParameterSet &ps)
 
 ~L1TObjectsTiming () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
 DQMEDAnalyzer (DQMEDAnalyzer const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer &&)=delete
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

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

Protected Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 
- 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

int algoBitFirstBxInTrain_
 
int algoBitLastBxInTrain_
 
const std::string algoNameFirstBxInTrain_
 
const std::string algoNameLastBxInTrain_
 
const unsigned int bxrange_
 
MonitorElementdenominator_egamma
 
MonitorElementdenominator_egamma_firstbunch
 
MonitorElementdenominator_egamma_isolated
 
MonitorElementdenominator_egamma_lastbunch
 
MonitorElementdenominator_etsum_firstbunch_MET
 
MonitorElementdenominator_etsum_firstbunch_METHF
 
MonitorElementdenominator_etsum_firstbunch_MHT
 
MonitorElementdenominator_etsum_firstbunch_MHTHF
 
MonitorElementdenominator_etsum_isolated_MET
 
MonitorElementdenominator_etsum_isolated_METHF
 
MonitorElementdenominator_etsum_isolated_MHT
 
MonitorElementdenominator_etsum_isolated_MHTHF
 
MonitorElementdenominator_etsum_lastbunch_MET
 
MonitorElementdenominator_etsum_lastbunch_METHF
 
MonitorElementdenominator_etsum_lastbunch_MHT
 
MonitorElementdenominator_etsum_lastbunch_MHTHF
 
MonitorElementdenominator_etsum_MET
 
MonitorElementdenominator_etsum_METHF
 
MonitorElementdenominator_etsum_MHT
 
MonitorElementdenominator_etsum_MHTHF
 
MonitorElementdenominator_jet
 
MonitorElementdenominator_jet_firstbunch
 
MonitorElementdenominator_jet_isolated
 
MonitorElementdenominator_jet_lastbunch
 
MonitorElementdenominator_muons
 
MonitorElementdenominator_muons_firstbunch
 
MonitorElementdenominator_muons_isolated
 
MonitorElementdenominator_muons_lastbunch
 
MonitorElementdenominator_tau
 
MonitorElementdenominator_tau_firstbunch
 
MonitorElementdenominator_tau_isolated
 
MonitorElementdenominator_tau_lastbunch
 
std::vector< MonitorElement * > egamma_eta_phi
 
std::vector< MonitorElement * > egamma_eta_phi_firstbunch
 
std::vector< MonitorElement * > egamma_eta_phi_isolated
 
std::vector< MonitorElement * > egamma_eta_phi_lastbunch
 
std::vector< MonitorElement * > etsum_eta_phi_firstbunch
 
std::vector< MonitorElement * > etsum_eta_phi_MET
 
std::vector< MonitorElement * > etsum_eta_phi_MET_firstbunch
 
std::vector< MonitorElement * > etsum_eta_phi_MET_isolated
 
std::vector< MonitorElement * > etsum_eta_phi_MET_lastbunch
 
std::vector< MonitorElement * > etsum_eta_phi_METHF
 
std::vector< MonitorElement * > etsum_eta_phi_METHF_firstbunch
 
std::vector< MonitorElement * > etsum_eta_phi_METHF_isolated
 
std::vector< MonitorElement * > etsum_eta_phi_METHF_lastbunch
 
std::vector< MonitorElement * > etsum_eta_phi_MHT
 
std::vector< MonitorElement * > etsum_eta_phi_MHT_firstbunch
 
std::vector< MonitorElement * > etsum_eta_phi_MHT_isolated
 
std::vector< MonitorElement * > etsum_eta_phi_MHT_lastbunch
 
std::vector< MonitorElement * > etsum_eta_phi_MHTHF
 
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_firstbunch
 
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_isolated
 
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_lastbunch
 
std::shared_ptr< l1t::L1TGlobalUtilgtUtil_
 
std::vector< MonitorElement * > jet_eta_phi
 
std::vector< MonitorElement * > jet_eta_phi_firstbunch
 
std::vector< MonitorElement * > jet_eta_phi_isolated
 
std::vector< MonitorElement * > jet_eta_phi_lastbunch
 
edm::EDGetTokenT< GlobalAlgBlkBxCollectionl1tStage2uGtProducer_
 
std::string monitorDir_
 
std::vector< MonitorElement * > muons_eta_phi
 
std::vector< MonitorElement * > muons_eta_phi_firstbunch
 
std::vector< MonitorElement * > muons_eta_phi_isolated
 
std::vector< MonitorElement * > muons_eta_phi_lastbunch
 
edm::EDGetTokenT< l1t::EGammaBxCollectionstage2CaloLayer2EGammaToken_
 
edm::EDGetTokenT< l1t::EtSumBxCollectionstage2CaloLayer2EtSumToken_
 
edm::EDGetTokenT< l1t::JetBxCollectionstage2CaloLayer2JetToken_
 
edm::EDGetTokenT< l1t::TauBxCollectionstage2CaloLayer2TauToken_
 
std::vector< MonitorElement * > tau_eta_phi
 
std::vector< MonitorElement * > tau_eta_phi_firstbunch
 
std::vector< MonitorElement * > tau_eta_phi_isolated
 
std::vector< MonitorElement * > tau_eta_phi_lastbunch
 
edm::EDGetTokenT< l1t::MuonBxCollectionugmtMuonToken_
 
bool verbose_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 30 of file L1TObjectsTiming.h.

Constructor & Destructor Documentation

L1TObjectsTiming::L1TObjectsTiming ( const edm::ParameterSet ps)

Definition at line 4 of file L1TObjectsTiming.cc.

References bxrange_, egamma_eta_phi, egamma_eta_phi_firstbunch, egamma_eta_phi_isolated, egamma_eta_phi_lastbunch, etsum_eta_phi_MET, etsum_eta_phi_MET_firstbunch, etsum_eta_phi_MET_isolated, etsum_eta_phi_MET_lastbunch, etsum_eta_phi_METHF, etsum_eta_phi_METHF_firstbunch, etsum_eta_phi_METHF_isolated, etsum_eta_phi_METHF_lastbunch, etsum_eta_phi_MHT, etsum_eta_phi_MHT_firstbunch, etsum_eta_phi_MHT_isolated, etsum_eta_phi_MHT_lastbunch, etsum_eta_phi_MHTHF, etsum_eta_phi_MHTHF_firstbunch, etsum_eta_phi_MHTHF_isolated, etsum_eta_phi_MHTHF_lastbunch, jet_eta_phi, jet_eta_phi_firstbunch, jet_eta_phi_isolated, jet_eta_phi_lastbunch, muons_eta_phi, muons_eta_phi_firstbunch, muons_eta_phi_isolated, muons_eta_phi_lastbunch, tau_eta_phi, tau_eta_phi_firstbunch, tau_eta_phi_isolated, and tau_eta_phi_lastbunch.

5  : ugmtMuonToken_(consumes<l1t::MuonBxCollection>(ps.getParameter<edm::InputTag>("muonProducer"))),
6  stage2CaloLayer2JetToken_(consumes<l1t::JetBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2JetProducer"))),
7  stage2CaloLayer2EGammaToken_(consumes<l1t::EGammaBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2EGammaProducer"))),
8  stage2CaloLayer2TauToken_(consumes<l1t::TauBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2TauProducer"))),
9  stage2CaloLayer2EtSumToken_(consumes<l1t::EtSumBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2EtSumProducer"))),
10  l1tStage2uGtProducer_(consumes<GlobalAlgBlkBxCollection>(ps.getParameter<edm::InputTag>("ugtProducer"))),
12  verbose_(ps.getUntrackedParameter<bool>("verbose")),
13  gtUtil_(new l1t::L1TGlobalUtil(ps, consumesCollector(), *this, ps.getParameter<edm::InputTag>("ugtProducer"), ps.getParameter<edm::InputTag>("ugtProducer"))),
16  algoNameFirstBxInTrain_(ps.getUntrackedParameter<std::string>("firstBXInTrainAlgo","")),
17  algoNameLastBxInTrain_(ps.getUntrackedParameter<std::string>("lastBXInTrainAlgo","")),
18  bxrange_(5)
19 
20 {
21 
22  muons_eta_phi.reserve(bxrange_);
23  jet_eta_phi.reserve(bxrange_);
24  egamma_eta_phi.reserve(bxrange_);
25  tau_eta_phi.reserve(bxrange_);
26  etsum_eta_phi_MET.reserve(bxrange_);
28  etsum_eta_phi_MHT.reserve(bxrange_);
30 
39 
48 
57 
58 }
std::vector< MonitorElement * > egamma_eta_phi_isolated
T getParameter(std::string const &) const
std::vector< MonitorElement * > jet_eta_phi_firstbunch
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< l1t::EGammaBxCollection > stage2CaloLayer2EGammaToken_
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1tStage2uGtProducer_
std::vector< MonitorElement * > etsum_eta_phi_MET_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_isolated
std::vector< MonitorElement * > muons_eta_phi_isolated
std::vector< MonitorElement * > egamma_eta_phi
std::vector< MonitorElement * > jet_eta_phi_lastbunch
std::vector< MonitorElement * > tau_eta_phi_lastbunch
const unsigned int bxrange_
std::vector< MonitorElement * > etsum_eta_phi_MET_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHT_lastbunch
std::vector< MonitorElement * > muons_eta_phi_lastbunch
std::vector< MonitorElement * > etsum_eta_phi_MHT
std::vector< MonitorElement * > etsum_eta_phi_MET_lastbunch
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
std::vector< MonitorElement * > jet_eta_phi
std::vector< MonitorElement * > etsum_eta_phi_METHF_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_isolated
edm::EDGetTokenT< l1t::MuonBxCollection > ugmtMuonToken_
std::vector< MonitorElement * > egamma_eta_phi_lastbunch
std::vector< MonitorElement * > muons_eta_phi_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_lastbunch
edm::EDGetTokenT< l1t::EtSumBxCollection > stage2CaloLayer2EtSumToken_
edm::EDGetTokenT< l1t::JetBxCollection > stage2CaloLayer2JetToken_
edm::EDGetTokenT< l1t::TauBxCollection > stage2CaloLayer2TauToken_
std::vector< MonitorElement * > tau_eta_phi_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_firstbunch
std::vector< MonitorElement * > tau_eta_phi
std::vector< MonitorElement * > egamma_eta_phi_firstbunch
std::string monitorDir_
std::vector< MonitorElement * > etsum_eta_phi_MHT_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_lastbunch
const std::string algoNameLastBxInTrain_
std::vector< MonitorElement * > etsum_eta_phi_MET
std::vector< MonitorElement * > jet_eta_phi_isolated
std::vector< MonitorElement * > muons_eta_phi
const std::string algoNameFirstBxInTrain_
std::vector< MonitorElement * > etsum_eta_phi_MHT_firstbunch
std::shared_ptr< l1t::L1TGlobalUtil > gtUtil_
std::vector< MonitorElement * > tau_eta_phi_firstbunch
L1TObjectsTiming::~L1TObjectsTiming ( )
override

Definition at line 60 of file L1TObjectsTiming.cc.

60 {}

Member Function Documentation

void L1TObjectsTiming::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprotected

Definition at line 367 of file L1TObjectsTiming.cc.

References algoBitFirstBxInTrain_, algoBitLastBxInTrain_, BXVector< T >::begin(), bxrange_, denominator_egamma, denominator_egamma_firstbunch, denominator_egamma_isolated, denominator_egamma_lastbunch, denominator_etsum_firstbunch_MET, denominator_etsum_firstbunch_METHF, denominator_etsum_firstbunch_MHT, denominator_etsum_firstbunch_MHTHF, denominator_etsum_isolated_MET, denominator_etsum_isolated_METHF, denominator_etsum_isolated_MHT, denominator_etsum_isolated_MHTHF, denominator_etsum_lastbunch_MET, denominator_etsum_lastbunch_METHF, denominator_etsum_lastbunch_MHT, denominator_etsum_lastbunch_MHTHF, denominator_etsum_MET, denominator_etsum_METHF, denominator_etsum_MHT, denominator_etsum_MHTHF, denominator_jet, denominator_jet_firstbunch, denominator_jet_isolated, denominator_jet_lastbunch, denominator_muons, denominator_muons_firstbunch, denominator_muons_isolated, denominator_muons_lastbunch, denominator_tau, denominator_tau_firstbunch, denominator_tau_isolated, denominator_tau_lastbunch, egamma_eta_phi, egamma_eta_phi_firstbunch, egamma_eta_phi_isolated, egamma_eta_phi_lastbunch, BXVector< T >::end(), etsum_eta_phi_MET, etsum_eta_phi_MET_firstbunch, etsum_eta_phi_MET_isolated, etsum_eta_phi_MET_lastbunch, etsum_eta_phi_METHF, etsum_eta_phi_METHF_firstbunch, etsum_eta_phi_METHF_isolated, etsum_eta_phi_METHF_lastbunch, etsum_eta_phi_MHT, etsum_eta_phi_MHT_firstbunch, etsum_eta_phi_MHT_isolated, etsum_eta_phi_MHT_lastbunch, etsum_eta_phi_MHTHF, etsum_eta_phi_MHTHF_firstbunch, etsum_eta_phi_MHTHF_isolated, etsum_eta_phi_MHTHF_lastbunch, MonitorElement::Fill(), edm::Event::getByToken(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), createfilelist::int, metsig::jet, jet_eta_phi, jet_eta_phi_firstbunch, jet_eta_phi_isolated, jet_eta_phi_lastbunch, L1Analysis::kMissingEt, L1Analysis::kMissingEtHF, L1Analysis::kMissingHt, L1Analysis::kMissingHtHF, l1tStage2uGtProducer_, min(), metsig::muon, nanoDQM_cfi::Muon, muons_eta_phi, muons_eta_phi_firstbunch, muons_eta_phi_isolated, muons_eta_phi_lastbunch, stage2CaloLayer2EGammaToken_, stage2CaloLayer2EtSumToken_, stage2CaloLayer2JetToken_, stage2CaloLayer2TauToken_, metsig::tau, tau_eta_phi, tau_eta_phi_firstbunch, tau_eta_phi_isolated, tau_eta_phi_lastbunch, ugmtMuonToken_, and verbose_.

367  {
368 
369  if (verbose_) edm::LogInfo("L1TObjectsTiming") << "L1TObjectsTiming: analyze..." << std::endl;
370 
371 
372  // Muon Collection
374  e.getByToken(ugmtMuonToken_, MuonBxCollection);
375  // Jet Collection
377  e.getByToken(stage2CaloLayer2JetToken_, JetBxCollection);
378  // EGamma Collection
380  e.getByToken(stage2CaloLayer2EGammaToken_, EGammaBxCollection);
381  // Tau Collection
383  e.getByToken(stage2CaloLayer2TauToken_, TauBxCollection);
384  // EtSum Collection
386  e.getByToken(stage2CaloLayer2EtSumToken_, EtSumBxCollection);
387 
388  // Open uGT readout record
390  e.getByToken(l1tStage2uGtProducer_, uGtAlgs);
391 
392 
393  // Filling eta-phi map for muons for BX=-2,-1,0,+1,+2
394  for (int itBX = MuonBxCollection->getFirstBX(); itBX <= MuonBxCollection->getLastBX(); ++itBX) {
395  for (l1t::MuonBxCollection::const_iterator Muon = MuonBxCollection->begin(itBX); Muon != MuonBxCollection->end(itBX); ++Muon) {
396  denominator_muons->Fill(Muon->eta(), Muon->phi());
397  int index = (int)itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
398  muons_eta_phi.at(index)->Fill(Muon->eta(), Muon->phi());
399  }
400  }
401 
402  // Filling eta-phi map for jets for BX=-2,-1,0,+1,+2
403  for (int itBX = JetBxCollection->getFirstBX(); itBX <= JetBxCollection->getLastBX(); ++itBX) {
404  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
405  denominator_jet->Fill(jet->eta(), jet->phi());
406  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
407  jet_eta_phi.at(index)->Fill(jet->eta(), jet->phi());
408  }
409  }
410 
411  // Filling eta-phi map for egamma for BX=-2,-1,0,+1,+2
412  for (int itBX = EGammaBxCollection->getFirstBX(); itBX <= EGammaBxCollection->getLastBX(); ++itBX) {
413  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
414  denominator_egamma->Fill(egamma->eta(), egamma->phi());
415  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
416  egamma_eta_phi.at(index)->Fill(egamma->eta(), egamma->phi());
417  }
418  }
419 
420  // Filling eta-phi map for tau for BX=-2,-1,0,+1,+2
421  for (int itBX = TauBxCollection->getFirstBX(); itBX <= TauBxCollection->getLastBX(); ++itBX) {
422  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
423  denominator_tau->Fill(tau->eta(), tau->phi());
424  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
425  tau_eta_phi.at(index)->Fill(tau->eta(), tau->phi());
426  }
427  }
428 
429  // Filling eta-phi map for etsum for BX=-2,-1,0,+1,+2
430  for (int itBX = EtSumBxCollection->getFirstBX(); itBX <= EtSumBxCollection->getLastBX(); ++itBX) {
431  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
432  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
433  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
434  etsum_eta_phi_MET.at(index)->Fill(EtSum->phi());
435  denominator_etsum_MET->Fill(EtSum->phi());
436  }
437  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
438  etsum_eta_phi_METHF.at(index)->Fill(EtSum->phi());
439  denominator_etsum_METHF->Fill(EtSum->phi());
440 
441  }
442  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
443  etsum_eta_phi_MHT.at(index)->Fill(EtSum->phi());
444  denominator_etsum_MHT->Fill(EtSum->phi());
445 
446  }
447  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
448  etsum_eta_phi_MHTHF.at(index)->Fill(EtSum->phi());
449  denominator_etsum_MHTHF->Fill(EtSum->phi());
450  }
451  }
452  }
453 
454  for(GlobalAlgBlkBxCollection::const_iterator itr = uGtAlgs->begin(0); itr != uGtAlgs->end(0); ++itr) {
455  if((algoBitFirstBxInTrain_ != -1 && algoBitLastBxInTrain_ != -1) && (itr->getAlgoDecisionInitial(algoBitFirstBxInTrain_) && itr->getAlgoDecisionInitial(algoBitLastBxInTrain_))) {
456 // for(GlobalAlgBlkBxCollection::const_iterator itr = uGtAlgs->begin(0); itr != uGtAlgs->end(0); ++itr)
457  for (int itBX = MuonBxCollection->getFirstBX(); itBX <= MuonBxCollection->getLastBX(); ++itBX) {
458  for (l1t::MuonBxCollection::const_iterator muon = MuonBxCollection->begin(itBX); muon != MuonBxCollection->end(itBX); ++muon) { // Starting with Muons
459  denominator_muons_isolated->Fill(muon->eta(),muon->phi());
460  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
461  muons_eta_phi_isolated.at(index)->Fill(muon->eta(),muon->phi());
462  }
463  }
464  for (int itBX = JetBxCollection->getFirstBX(); itBX <= JetBxCollection->getLastBX(); ++itBX) {
465  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
466  denominator_jet_isolated->Fill(jet->eta(), jet->phi());
467  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
468  jet_eta_phi_isolated.at(index)->Fill(jet->eta(), jet->phi());
469  }
470  }
471  for (int itBX = EGammaBxCollection->getFirstBX(); itBX <= EGammaBxCollection->getLastBX(); ++itBX) {
472  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
474  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
475  egamma_eta_phi_isolated.at(index)->Fill(egamma->eta(), egamma->phi());
476  }
477  }
478  for (int itBX = TauBxCollection->getFirstBX(); itBX <= TauBxCollection->getLastBX(); ++itBX) {
479  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
480  denominator_tau_isolated->Fill(tau->eta(), tau->phi());
481  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
482  tau_eta_phi_isolated.at(index)->Fill(tau->eta(), tau->phi());
483  }
484  }
485  for (int itBX = EtSumBxCollection->getFirstBX(); itBX <= EtSumBxCollection->getLastBX(); ++itBX) {
486  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
487  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
488  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
489  etsum_eta_phi_MET_isolated.at(index)->Fill(EtSum->phi());
490  denominator_etsum_isolated_MET->Fill(EtSum->phi());
491 
492  }
493  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
494  etsum_eta_phi_METHF_isolated.at(index)->Fill(EtSum->phi());
495  denominator_etsum_isolated_METHF->Fill(EtSum->phi());
496 
497  }
498  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
499  etsum_eta_phi_MHT_isolated.at(index)->Fill(EtSum->phi());
500  denominator_etsum_isolated_MHT->Fill(EtSum->phi());
501  }
502  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
503  etsum_eta_phi_MHTHF_isolated.at(index)->Fill(EtSum->phi());
504  denominator_etsum_isolated_MHTHF->Fill(EtSum->phi());
505 
506  }
507  }
508  }
509  }
510 
511  //if(itr->getAlgoDecisionInitial(algoBitFirstBxInTrain_))
512  if(algoBitFirstBxInTrain_ != -1 && itr->getAlgoDecisionInitial(algoBitFirstBxInTrain_)) { // Filling eta-phi map for all objects for first bunch each BX
513  for (int itBX = MuonBxCollection->getFirstBX(); itBX <= 0 ; ++itBX) {
514  for (l1t::MuonBxCollection::const_iterator muon = MuonBxCollection->begin(itBX); muon != MuonBxCollection->end(itBX); ++muon) { // Starting with Muons
515  denominator_muons_firstbunch->Fill(muon->eta(),muon->phi());
516  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
517  muons_eta_phi_firstbunch.at(index)->Fill(muon->eta(),muon->phi());
518  }
519  }
520  for (int itBX = JetBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
521  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
522  denominator_jet_firstbunch->Fill(jet->eta(), jet->phi());
523  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
524  jet_eta_phi_firstbunch.at(index)->Fill(jet->eta(), jet->phi());
525  }
526  }
527  for (int itBX = EGammaBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
528  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
530  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
531  egamma_eta_phi_firstbunch.at(index)->Fill(egamma->eta(), egamma->phi());
532  }
533  }
534  for (int itBX = TauBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
535  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
536  denominator_tau_firstbunch->Fill(tau->eta(), tau->phi());
537  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
538  tau_eta_phi_firstbunch.at(index)->Fill(tau->eta(), tau->phi());
539  }
540  }
541  for (int itBX = EtSumBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
542  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
543  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
544  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
545  etsum_eta_phi_MET_firstbunch.at(index)->Fill(EtSum->phi());
546  denominator_etsum_firstbunch_MET->Fill(EtSum->phi());
547 
548  }
549  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
550  etsum_eta_phi_METHF_firstbunch.at(index)->Fill(EtSum->phi());
552 
553  }
554  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
555  etsum_eta_phi_MHT_firstbunch.at(index)->Fill(EtSum->phi());
556  denominator_etsum_firstbunch_MHT->Fill(EtSum->phi());
557 
558  }
559  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
560  etsum_eta_phi_MHTHF_firstbunch.at(index)->Fill(EtSum->phi());
562 
563  }
564  }
565  }
566  }
567  //if(itr->getAlgoDecisionInitial(algoBitLastBxInTrain_))
568  if(algoBitLastBxInTrain_ != -1 && itr->getAlgoDecisionInitial(algoBitLastBxInTrain_)) { // Filling eta-phi map for all objects for last bunch each BX
569  for (int itBX = 0; itBX <= MuonBxCollection->getLastBX(); ++itBX) {
570  for (l1t::MuonBxCollection::const_iterator muon = MuonBxCollection->begin(itBX); muon != MuonBxCollection->end(itBX); ++muon) { // Starting with Muons
571  denominator_muons_lastbunch->Fill(muon->eta(),muon->phi());
572  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
573  muons_eta_phi_lastbunch.at(index)->Fill(muon->eta(),muon->phi());
574  }
575  }
576 
577  for (int itBX = 0; itBX <= JetBxCollection->getLastBX(); ++itBX) {
578  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
579  denominator_jet_lastbunch->Fill(jet->eta(), jet->phi());
580  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
581  jet_eta_phi_lastbunch.at(index)->Fill(jet->eta(), jet->phi());
582  }
583  }
584  for (int itBX = 0; itBX <= EGammaBxCollection->getLastBX(); ++itBX) {
585  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
587  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
588  egamma_eta_phi_lastbunch.at(index)->Fill(egamma->eta(), egamma->phi());
589  }
590  }
591  for (int itBX = 0; itBX <= TauBxCollection->getLastBX(); ++itBX) {
592  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
593  denominator_tau_lastbunch->Fill(tau->eta(), tau->phi());
594  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
595  tau_eta_phi_lastbunch.at(index)->Fill(tau->eta(), tau->phi());
596  }
597  }
598  for (int itBX = 0; itBX <= EtSumBxCollection->getLastBX(); ++itBX) {
599  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
600  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
601  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
602  etsum_eta_phi_MET_lastbunch.at(index)->Fill(EtSum->phi());
603  denominator_etsum_lastbunch_MET->Fill(EtSum->phi());
604 
605  }
606  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
607  etsum_eta_phi_METHF_lastbunch.at(index)->Fill(EtSum->phi());
609 
610  }
611  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
612  etsum_eta_phi_MHT_lastbunch.at(index)->Fill(EtSum->phi());
613  denominator_etsum_lastbunch_MHT->Fill(EtSum->phi());
614 
615  }
616  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
617  etsum_eta_phi_MHTHF_lastbunch.at(index)->Fill(EtSum->phi());
619 
620  }
621  }
622  }
623  }
624  }
625 }
std::vector< MonitorElement * > egamma_eta_phi_isolated
MonitorElement * denominator_etsum_METHF
BXVector< EGamma > EGammaBxCollection
Definition: EGamma.h:11
const_iterator end(int bx) const
std::vector< MonitorElement * > jet_eta_phi_firstbunch
MonitorElement * denominator_egamma_firstbunch
MonitorElement * denominator_etsum_lastbunch_MHT
edm::EDGetTokenT< l1t::EGammaBxCollection > stage2CaloLayer2EGammaToken_
MonitorElement * denominator_muons_isolated
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1tStage2uGtProducer_
std::vector< MonitorElement * > etsum_eta_phi_MET_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_isolated
std::vector< MonitorElement * > muons_eta_phi_isolated
MonitorElement * denominator_etsum_MET
std::vector< MonitorElement * > egamma_eta_phi
MonitorElement * denominator_etsum_isolated_MHTHF
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:519
MonitorElement * denominator_muons_firstbunch
std::vector< MonitorElement * > jet_eta_phi_lastbunch
std::vector< MonitorElement * > tau_eta_phi_lastbunch
MonitorElement * denominator_etsum_MHT
const unsigned int bxrange_
MonitorElement * denominator_egamma_isolated
BXVector< Tau > TauBxCollection
Definition: Tau.h:11
std::vector< MonitorElement * > etsum_eta_phi_MET_firstbunch
MonitorElement * denominator_etsum_isolated_METHF
MonitorElement * denominator_tau_isolated
std::vector< MonitorElement * > etsum_eta_phi_MHT_lastbunch
MonitorElement * denominator_etsum_firstbunch_MET
void Fill(long long x)
MonitorElement * denominator_etsum_firstbunch_MHT
std::vector< MonitorElement * > muons_eta_phi_lastbunch
MonitorElement * denominator_etsum_MHTHF
std::vector< MonitorElement * > etsum_eta_phi_MHT
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:11
MonitorElement * denominator_egamma
std::vector< MonitorElement * > etsum_eta_phi_MET_lastbunch
Definition: Muon.py:1
MonitorElement * denominator_tau_lastbunch
std::vector< MonitorElement * > jet_eta_phi
std::vector< MonitorElement * > etsum_eta_phi_METHF_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_isolated
edm::EDGetTokenT< l1t::MuonBxCollection > ugmtMuonToken_
MonitorElement * denominator_tau_firstbunch
std::vector< MonitorElement * > egamma_eta_phi_lastbunch
MonitorElement * denominator_etsum_lastbunch_MHTHF
MonitorElement * denominator_muons
std::vector< MonitorElement * > muons_eta_phi_firstbunch
T min(T a, T b)
Definition: MathUtil.h:58
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_lastbunch
edm::EDGetTokenT< l1t::EtSumBxCollection > stage2CaloLayer2EtSumToken_
edm::EDGetTokenT< l1t::JetBxCollection > stage2CaloLayer2JetToken_
edm::EDGetTokenT< l1t::TauBxCollection > stage2CaloLayer2TauToken_
std::vector< MonitorElement * > tau_eta_phi_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF
BXVector< Muon > MuonBxCollection
Definition: Muon.h:11
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_firstbunch
std::vector< MonitorElement * > tau_eta_phi
int getFirstBX() const
BXVector< Jet > JetBxCollection
Definition: Jet.h:11
std::vector< MonitorElement * > egamma_eta_phi_firstbunch
MonitorElement * denominator_etsum_firstbunch_METHF
MonitorElement * denominator_jet_lastbunch
MonitorElement * denominator_jet
std::vector< MonitorElement * > etsum_eta_phi_MHT_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_lastbunch
MonitorElement * denominator_muons_lastbunch
std::vector< MonitorElement * > etsum_eta_phi_MET
MonitorElement * denominator_tau
std::vector< MonitorElement * > jet_eta_phi_isolated
MonitorElement * denominator_egamma_lastbunch
MonitorElement * denominator_etsum_isolated_MET
MonitorElement * denominator_etsum_firstbunch_MHTHF
int getLastBX() const
std::vector< MonitorElement * > muons_eta_phi
MonitorElement * denominator_etsum_lastbunch_METHF
MonitorElement * denominator_etsum_isolated_MHT
std::vector< MonitorElement * > etsum_eta_phi_MHT_firstbunch
const_iterator begin(int bx) const
MonitorElement * denominator_jet_firstbunch
MonitorElement * denominator_jet_isolated
MonitorElement * denominator_etsum_lastbunch_MET
std::vector< Muon >::const_iterator const_iterator
Definition: BXVector.h:20
std::vector< MonitorElement * > tau_eta_phi_firstbunch
void L1TObjectsTiming::beginLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup  
)
overrideprotected

Definition at line 91 of file L1TObjectsTiming.cc.

91 {}
void L1TObjectsTiming::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run ,
const edm::EventSetup  
)
overrideprotected

Definition at line 93 of file L1TObjectsTiming.cc.

References algoBitFirstBxInTrain_, algoBitLastBxInTrain_, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), bxrange_, denominator_egamma, denominator_egamma_firstbunch, denominator_egamma_isolated, denominator_egamma_lastbunch, denominator_etsum_firstbunch_MET, denominator_etsum_firstbunch_METHF, denominator_etsum_firstbunch_MHT, denominator_etsum_firstbunch_MHTHF, denominator_etsum_isolated_MET, denominator_etsum_isolated_METHF, denominator_etsum_isolated_MHT, denominator_etsum_isolated_MHTHF, denominator_etsum_lastbunch_MET, denominator_etsum_lastbunch_METHF, denominator_etsum_lastbunch_MHT, denominator_etsum_lastbunch_MHTHF, denominator_etsum_MET, denominator_etsum_METHF, denominator_etsum_MHT, denominator_etsum_MHTHF, denominator_jet, denominator_jet_firstbunch, denominator_jet_isolated, denominator_jet_lastbunch, denominator_muons, denominator_muons_firstbunch, denominator_muons_isolated, denominator_muons_lastbunch, denominator_tau, denominator_tau_firstbunch, denominator_tau_isolated, denominator_tau_lastbunch, egamma_eta_phi, egamma_eta_phi_firstbunch, egamma_eta_phi_isolated, egamma_eta_phi_lastbunch, etsum_eta_phi_MET, etsum_eta_phi_MET_firstbunch, etsum_eta_phi_MET_isolated, etsum_eta_phi_MET_lastbunch, etsum_eta_phi_METHF, etsum_eta_phi_METHF_firstbunch, etsum_eta_phi_METHF_isolated, etsum_eta_phi_METHF_lastbunch, etsum_eta_phi_MHT, etsum_eta_phi_MHT_firstbunch, etsum_eta_phi_MHT_isolated, etsum_eta_phi_MHT_lastbunch, etsum_eta_phi_MHTHF, etsum_eta_phi_MHTHF_firstbunch, etsum_eta_phi_MHTHF_isolated, etsum_eta_phi_MHTHF_lastbunch, mps_fire::i, jet_eta_phi, jet_eta_phi_firstbunch, jet_eta_phi_isolated, jet_eta_phi_lastbunch, monitorDir_, muons_eta_phi, muons_eta_phi_firstbunch, muons_eta_phi_isolated, muons_eta_phi_lastbunch, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tau_eta_phi, tau_eta_phi_firstbunch, tau_eta_phi_isolated, and tau_eta_phi_lastbunch.

93  {
94 
95 
96  // Subsystem Monitoring and Muon Output
97  std::string bx_obj[5]={"minus2","minus1","0","plus1","plus2"};
98 
99  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing");
100  denominator_muons = ibooker.book2D("denominator_muons","Denominator for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
101  denominator_muons->setAxisTitle("#eta", 1);
102  denominator_muons->setAxisTitle("#phi", 2);
103  for(unsigned int i=0; i<bxrange_; ++i) {
104  muons_eta_phi.push_back(ibooker.book2D("muons_eta_phi_bx_"+bx_obj[i],"L1T Muon #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
105  muons_eta_phi.at(i)->setAxisTitle("#eta", 1);
106  muons_eta_phi.at(i)->setAxisTitle("#phi", 2);
107  }
108 
109  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing");
110  denominator_jet = ibooker.book2D("denominator_jet","Denominator for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
111  denominator_jet->setAxisTitle("#eta", 1);
112  denominator_jet->setAxisTitle("#phi", 2);
113  for(unsigned int i=0; i<bxrange_; ++i) {
114  jet_eta_phi.push_back(ibooker.book2D("jet_eta_phi_bx_"+bx_obj[i],"L1T Jet #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
115  jet_eta_phi.at(i)->setAxisTitle("#eta", 1);
116  jet_eta_phi.at(i)->setAxisTitle("#phi", 2);
117  }
118 
119  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing");
120  denominator_egamma = ibooker.book2D("denominator_egamma","Denominator for L1TEGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
121  denominator_egamma->setAxisTitle("#eta", 1);
122  denominator_egamma->setAxisTitle("#phi", 2);
123  for(unsigned int i=0; i<bxrange_; ++i) {
124  egamma_eta_phi.push_back(ibooker.book2D("egamma_eta_phi_bx_"+bx_obj[i],"L1T EGamma #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
125  egamma_eta_phi.at(i)->setAxisTitle("#eta", 1);
126  egamma_eta_phi.at(i)->setAxisTitle("#phi", 2);
127  }
128 
129  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing");
130  denominator_tau = ibooker.book2D("denominator_tau","Denominator for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
131  denominator_tau->setAxisTitle("#eta", 1);
132  denominator_tau->setAxisTitle("#phi", 2);
133  for(unsigned int i=0; i<bxrange_; ++i) {
134  tau_eta_phi.push_back(ibooker.book2D("tau_eta_phi_bx_"+bx_obj[i],"L1T Tau #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
135  tau_eta_phi.at(i)->setAxisTitle("#eta", 1);
136  tau_eta_phi.at(i)->setAxisTitle("#phi", 2);
137  }
138 
139  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing");
140  denominator_etsum_MET = ibooker.book1D("denominator_etsum_MET","Denominator for L1TEtSum MET", 25, -3.2, 3.2);
142  denominator_etsum_METHF = ibooker.book1D("denominator_etsum_METHF","Denominator for L1TEtSum METHF", 25, -3.2, 3.2);
144  denominator_etsum_MHT = ibooker.book1D("denominator_etsum_MHT","Denominator for L1TEtSum MHT", 25, -3.2, 3.2);
146  denominator_etsum_MHTHF = ibooker.book1D("denominator_etsum_MHTHF","Denominator for L1TEtSum MHTHF", 25, -3.2, 3.2);
148  for(unsigned int i=0; i<bxrange_; ++i) {
149  etsum_eta_phi_MET.push_back(ibooker.book1D("etsum_phi_bx_MET_"+bx_obj[i],"L1T MET #phi BX="+bx_obj[i],25, -3.2, 3.2));
150  etsum_eta_phi_MET.at(i)->setAxisTitle("#phi", 1);
151  etsum_eta_phi_METHF.push_back(ibooker.book1D("etsum_phi_bx_METHF_"+bx_obj[i],"L1T METHF #phi BX="+bx_obj[i],25, -3.2, 3.2));
152  etsum_eta_phi_METHF.at(i)->setAxisTitle("#phi", 1);
153  etsum_eta_phi_MHT.push_back(ibooker.book1D("etsum_phi_bx_MHT_"+bx_obj[i],"L1T MHT #phi BX="+bx_obj[i],25, -3.2, 3.2));
154  etsum_eta_phi_MHT.at(i)->setAxisTitle("#phi", 1);
155  etsum_eta_phi_MHTHF.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_"+bx_obj[i],"L1T MHTHF #phi BX="+bx_obj[i],25, -3.2, 3.2));
156  etsum_eta_phi_MHTHF.at(i)->setAxisTitle("#phi", 1);
157  }
158 
160  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Isolated_bunch");
161  denominator_muons_isolated = ibooker.book2D("denominator_muons_isolated","Denominator for Isolated Bunch for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
164  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Isolated_bunch");
165  denominator_jet_isolated = ibooker.book2D("denominator_jet_isolated","Denominator for Isolated Bunch for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
168  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Isolated_bunch");
169  denominator_egamma_isolated = ibooker.book2D("denominator_egamma_isolated","Denominator for Isolated Bunch for L1EGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
172  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Isolated_bunch");
173  denominator_tau_isolated = ibooker.book2D("denominator_tau_isolated","Denominator for Isolated Bunch for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
176  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Isolated_bunch");
177  denominator_etsum_isolated_MET = ibooker.book1D("denominator_etsum_isolated_MET","Denominator for Isolated Bunch for L1TEtSum MET", 25, -3.2, 3.2);
179  denominator_etsum_isolated_METHF = ibooker.book1D("denominator_etsum_isolated_METHF","Denominator for Isolated Bunch for L1TEtSum METHF", 25, -3.2, 3.2);
181  denominator_etsum_isolated_MHT = ibooker.book1D("denominator_etsum_isolated_MHT","Denominator for Isolated Bunch for L1TEtSum MHT", 25, -3.2, 3.2);
183  denominator_etsum_isolated_MHTHF = ibooker.book1D("denominator_etsum_isolated_MHTHF","Denominator for Isolated Bunch for L1TEtSum MHTHF", 25, -3.2, 3.2);
185 
186  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Isolated_bunch");
187  for(unsigned int i=0; i<bxrange_; ++i) {
188  muons_eta_phi_isolated.push_back(ibooker.book2D("muons_eta_phi_bx_isolated_"+bx_obj[i],"L1T Muon #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
189  muons_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
190  muons_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
191  }
192 
193  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Isolated_bunch");
194  for(unsigned int i=0; i<bxrange_; ++i) {
195  jet_eta_phi_isolated.push_back(ibooker.book2D("jet_eta_phi_bx_isolated_"+bx_obj[i],"L1T Jet #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
196  jet_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
197  jet_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
198  }
199 
200  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Isolated_bunch");
201  for(unsigned int i=0; i<bxrange_; ++i) {
202  egamma_eta_phi_isolated.push_back(ibooker.book2D("egamma_eta_phi_bx_isolated_"+bx_obj[i],"L1T EGamma #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
203  egamma_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
204  egamma_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
205  }
206 
207  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Isolated_bunch");
208  for(unsigned int i=0; i<bxrange_; ++i) {
209  tau_eta_phi_isolated.push_back(ibooker.book2D("tau_eta_phi_bx_isolated_"+bx_obj[i],"L1T Tau #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
210  tau_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
211  tau_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
212  }
213 
214  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Isolated_bunch");
215  for(unsigned int i=0; i<bxrange_; ++i) {
216  etsum_eta_phi_MET_isolated.push_back(ibooker.book1D("etsum_phi_bx_MET_isolated_"+bx_obj[i],"L1T MET #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
217  etsum_eta_phi_MET_isolated.at(i)->setAxisTitle("#phi", 1);
218  etsum_eta_phi_METHF_isolated.push_back(ibooker.book1D("etsum_phi_bx_METHF_isolated_"+bx_obj[i],"L1T METHF #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
219  etsum_eta_phi_METHF_isolated.at(i)->setAxisTitle("#phi", 1);
220  etsum_eta_phi_MHT_isolated.push_back(ibooker.book1D("etsum_phi_bx_MHT_isolated_"+bx_obj[i],"L1T MHT #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
221  etsum_eta_phi_MHT_isolated.at(i)->setAxisTitle("#phi", 1);
222  etsum_eta_phi_MHTHF_isolated.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_isolated_"+bx_obj[i],"L1T MHTHF #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
223  etsum_eta_phi_MHTHF_isolated.at(i)->setAxisTitle("#phi", 1);
224  }
225 }
226 
227 if(algoBitFirstBxInTrain_ > -1) {
228  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/First_bunch");
229  denominator_muons_firstbunch = ibooker.book2D("denominator_muons_firstbunch","Denominator for First Bunch for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
232  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/First_bunch");
233  denominator_jet_firstbunch = ibooker.book2D("denominator_jet_firstbunch","Denominator for First Bunch for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
236  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/First_bunch");
237  denominator_egamma_firstbunch = ibooker.book2D("denominator_egamma_firstbunch","Denominator for First Bunch for L1TEGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
240  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/First_bunch");
241  denominator_tau_firstbunch = ibooker.book2D("denominator_tau_firstbunch","Denominator for First Bunch for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
244  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/First_bunch");
245  denominator_etsum_firstbunch_MET = ibooker.book1D("denominator_etsum_firstbunch_MET","Denominator for First Bunch for L1TEtSum MET", 25, -3.2, 3.2);
247  denominator_etsum_firstbunch_METHF = ibooker.book1D("denominator_etsum_firstbunch_METHF","Denominator for First Bunch for L1TEtSum METHF", 25, -3.2, 3.2);
249  denominator_etsum_firstbunch_MHT = ibooker.book1D("denominator_etsum_firstbunch_MHT","Denominator for First Bunch for L1TEtSum MHT", 25, -3.2, 3.2);
251  denominator_etsum_firstbunch_MHTHF = ibooker.book1D("denominator_etsum_firstbunch_MHTHF","Denominator for First Bunch for L1TEtSum MHTHF", 25, -3.2, 3.2);
253 
254  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/First_bunch");
255  for(unsigned int i=0; i<bxrange_-2; ++i) {
256  muons_eta_phi_firstbunch.push_back(ibooker.book2D("muons_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T Muon #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
257  muons_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
258  muons_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
259  }
260 
261  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/First_bunch");
262  for(unsigned int i=0; i<bxrange_-2; ++i) {
263  jet_eta_phi_firstbunch.push_back(ibooker.book2D("jet_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T Jet #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
264  jet_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
265  jet_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
266  }
267 
268  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/First_bunch");
269  for(unsigned int i=0; i<bxrange_-2; ++i) {
270  egamma_eta_phi_firstbunch.push_back(ibooker.book2D("egamma_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T EGamma #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
271  egamma_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
272  egamma_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
273  }
274 
275  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/First_bunch");
276  for(unsigned int i=0; i<bxrange_-2; ++i) {
277  tau_eta_phi_firstbunch.push_back(ibooker.book2D("tau_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T Tau #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
278  tau_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
279  tau_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
280  }
281 
282  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/First_bunch");
283  for(unsigned int i=0; i<bxrange_-2; ++i) {
284  etsum_eta_phi_MET_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_MET_firstbunch_"+bx_obj[i],"L1T MET #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
285  etsum_eta_phi_MET_firstbunch.at(i)->setAxisTitle("#phi", 1);
286  etsum_eta_phi_METHF_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_METHF_firstbunch_"+bx_obj[i],"L1T METHF #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
287  etsum_eta_phi_METHF_firstbunch.at(i)->setAxisTitle("#phi", 1);
288  etsum_eta_phi_MHT_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_MHT_firstbunch_"+bx_obj[i],"L1T MHT #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
289  etsum_eta_phi_MHT_firstbunch.at(i)->setAxisTitle("#phi", 1);
290  etsum_eta_phi_MHTHF_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_firstbunch_"+bx_obj[i],"L1T MHTHF #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
291  etsum_eta_phi_MHTHF_firstbunch.at(i)->setAxisTitle("#phi", 1);
292  }
293 }
294 
295 if(algoBitLastBxInTrain_ > -1) {
296  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Last_bunch");
297  denominator_muons_lastbunch = ibooker.book2D("denominator_muons_lastbunch","Denominator for Last Bunch for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
300  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Last_bunch");
301  denominator_jet_lastbunch = ibooker.book2D("denominator_jet_lastbunch","Denominator for Last Bunch for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
304  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Last_bunch");
305  denominator_egamma_lastbunch = ibooker.book2D("denominator_egamma_lastbunch","Denominator for Last Bunch for L1TEGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
308  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Last_bunch");
309  denominator_tau_lastbunch = ibooker.book2D("denominator_tau_lastbunch","Denominator for Last Bunch for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
312  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Last_bunch");
313  denominator_etsum_lastbunch_MET = ibooker.book1D("denominator_etsum_lastbunch_MET","Denominator for Last Bunch for L1TEtSum MET", 25, -3.2, 3.2);
315  denominator_etsum_lastbunch_METHF = ibooker.book1D("denominator_etsum_lastbunch_METHF","Denominator for Last Bunch for L1TEtSum METHF", 25, -3.2, 3.2);
317  denominator_etsum_lastbunch_MHT = ibooker.book1D("denominator_etsum_lastbunch_MHT","Denominator for Last Bunch for L1TEtSum MHT", 25, -3.2, 3.2);
319  denominator_etsum_lastbunch_MHTHF = ibooker.book1D("denominator_etsum_lastbunch_MHTHF","Denominator for Last Bunch for L1TEtSum MHTHF", 25, -3.2, 3.2);
321 
322  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Last_bunch");
323  for(unsigned int i=0; i<bxrange_-2; ++i) {
324  muons_eta_phi_lastbunch.push_back(ibooker.book2D("muons_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T Muon #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
325  muons_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
326  muons_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
327  }
328 
329  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Last_bunch");
330  for(unsigned int i=0; i<bxrange_-2; ++i) {
331  jet_eta_phi_lastbunch.push_back(ibooker.book2D("jet_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T Jet #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
332  jet_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
333  jet_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
334  }
335 
336  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Last_bunch");
337  for(unsigned int i=0; i<bxrange_-2; ++i) {
338  egamma_eta_phi_lastbunch.push_back(ibooker.book2D("egamma_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T EGamma #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
339  egamma_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
340  egamma_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
341  }
342 
343  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Last_bunch");
344  for(unsigned int i=0; i<bxrange_-2; ++i) {
345  tau_eta_phi_lastbunch.push_back(ibooker.book2D("tau_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T Tau #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
346  tau_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
347  tau_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
348  }
349 
350  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Last_bunch");
351  for(unsigned int i=0; i<bxrange_-2; ++i) {
352  etsum_eta_phi_MET_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_MET_lastbunch_"+bx_obj[i+2],"L1T MET #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
353  etsum_eta_phi_MET_lastbunch.at(i)->setAxisTitle("#phi", 1);
354  etsum_eta_phi_METHF_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_METHF_lastbunch_"+bx_obj[i+2],"L1T METHF #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
355  etsum_eta_phi_METHF_lastbunch.at(i)->setAxisTitle("#phi", 1);
356  etsum_eta_phi_MHT_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_MHT_lastbunch_"+bx_obj[i+2],"L1T MHT #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
357  etsum_eta_phi_MHT_lastbunch.at(i)->setAxisTitle("#phi", 1);
358  etsum_eta_phi_MHTHF_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_lastbunch_"+bx_obj[i+2],"L1T MHTHF #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
359  etsum_eta_phi_MHTHF_lastbunch.at(i)->setAxisTitle("#phi", 1);
360  }
361 }
362 
363 }
std::vector< MonitorElement * > egamma_eta_phi_isolated
MonitorElement * denominator_etsum_METHF
std::vector< MonitorElement * > jet_eta_phi_firstbunch
MonitorElement * denominator_egamma_firstbunch
MonitorElement * denominator_etsum_lastbunch_MHT
MonitorElement * denominator_muons_isolated
std::vector< MonitorElement * > etsum_eta_phi_MET_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_isolated
std::vector< MonitorElement * > muons_eta_phi_isolated
MonitorElement * denominator_etsum_MET
std::vector< MonitorElement * > egamma_eta_phi
MonitorElement * denominator_etsum_isolated_MHTHF
MonitorElement * denominator_muons_firstbunch
std::vector< MonitorElement * > jet_eta_phi_lastbunch
std::vector< MonitorElement * > tau_eta_phi_lastbunch
MonitorElement * denominator_etsum_MHT
const unsigned int bxrange_
MonitorElement * denominator_egamma_isolated
std::vector< MonitorElement * > etsum_eta_phi_MET_firstbunch
MonitorElement * denominator_etsum_isolated_METHF
MonitorElement * denominator_tau_isolated
std::vector< MonitorElement * > etsum_eta_phi_MHT_lastbunch
MonitorElement * denominator_etsum_firstbunch_MET
MonitorElement * denominator_etsum_firstbunch_MHT
std::vector< MonitorElement * > muons_eta_phi_lastbunch
MonitorElement * denominator_etsum_MHTHF
std::vector< MonitorElement * > etsum_eta_phi_MHT
MonitorElement * denominator_egamma
std::vector< MonitorElement * > etsum_eta_phi_MET_lastbunch
MonitorElement * denominator_tau_lastbunch
std::vector< MonitorElement * > jet_eta_phi
std::vector< MonitorElement * > etsum_eta_phi_METHF_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_isolated
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
MonitorElement * denominator_tau_firstbunch
std::vector< MonitorElement * > egamma_eta_phi_lastbunch
MonitorElement * denominator_etsum_lastbunch_MHTHF
MonitorElement * denominator_muons
std::vector< MonitorElement * > muons_eta_phi_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_lastbunch
std::vector< MonitorElement * > tau_eta_phi_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_firstbunch
std::vector< MonitorElement * > tau_eta_phi
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
std::vector< MonitorElement * > egamma_eta_phi_firstbunch
MonitorElement * denominator_etsum_firstbunch_METHF
MonitorElement * denominator_jet_lastbunch
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
std::string monitorDir_
MonitorElement * denominator_jet
std::vector< MonitorElement * > etsum_eta_phi_MHT_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_lastbunch
MonitorElement * denominator_muons_lastbunch
std::vector< MonitorElement * > etsum_eta_phi_MET
MonitorElement * denominator_tau
std::vector< MonitorElement * > jet_eta_phi_isolated
MonitorElement * denominator_egamma_lastbunch
MonitorElement * denominator_etsum_isolated_MET
MonitorElement * denominator_etsum_firstbunch_MHTHF
std::vector< MonitorElement * > muons_eta_phi
MonitorElement * denominator_etsum_lastbunch_METHF
MonitorElement * denominator_etsum_isolated_MHT
std::vector< MonitorElement * > etsum_eta_phi_MHT_firstbunch
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * denominator_jet_firstbunch
MonitorElement * denominator_jet_isolated
MonitorElement * denominator_etsum_lastbunch_MET
std::vector< MonitorElement * > tau_eta_phi_firstbunch
void L1TObjectsTiming::dqmBeginRun ( const edm::Run r,
const edm::EventSetup c 
)
overrideprotected

Definition at line 77 of file L1TObjectsTiming.cc.

References algoBitFirstBxInTrain_, algoBitLastBxInTrain_, algoNameFirstBxInTrain_, algoNameLastBxInTrain_, and gtUtil_.

77  {
78  // Get the trigger menu information
79  gtUtil_->retrieveL1Setup(c);
80  // Get the algo bits needed for the timing histograms
81  if (!gtUtil_->getAlgBitFromName(algoNameFirstBxInTrain_, algoBitFirstBxInTrain_)) {
82  edm::LogWarning("L1TObjectsTiming") << "Algo \"" << algoNameFirstBxInTrain_ << "\" not found in the trigger menu " << gtUtil_->gtTriggerMenuName() << ". Could not retrieve algo bit number.";
83  }
84  if (!gtUtil_->getAlgBitFromName(algoNameLastBxInTrain_, algoBitLastBxInTrain_)) {
85  edm::LogWarning("L1TObjectsTiming") << "Algo \"" << algoNameLastBxInTrain_ << "\" not found in the trigger menu " << gtUtil_->gtTriggerMenuName() << ". Could not retrieve algo bit number.";
86  }
87 
88 
89 }
const std::string algoNameLastBxInTrain_
const std::string algoNameFirstBxInTrain_
std::shared_ptr< l1t::L1TGlobalUtil > gtUtil_
void L1TObjectsTiming::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 62 of file L1TObjectsTiming.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.

62  {
64  desc.add<edm::InputTag>("muonProducer")->setComment("L1T muons");;
65  desc.add<edm::InputTag>("stage2CaloLayer2JetProducer")->setComment("L1T jets");
66  desc.add<edm::InputTag>("stage2CaloLayer2EGammaProducer")->setComment("L1T egamma");
67  desc.add<edm::InputTag>("stage2CaloLayer2TauProducer")->setComment("L1T taus");
68  desc.add<edm::InputTag>("stage2CaloLayer2EtSumProducer")->setComment("L1T etsums");
69  desc.add<edm::InputTag>("ugtProducer")->setComment("uGT output");
70  desc.addUntracked<std::string>("monitorDir", "")->setComment("Target directory in the DQM file. Will be created if not existing.");
71  desc.addUntracked<bool>("verbose", false);
72  desc.addUntracked<std::string>("firstBXInTrainAlgo","")->setComment("Pick the right algo name for L1 First Collision In Train");
73  desc.addUntracked<std::string>("lastBXInTrainAlgo","")->setComment("Pick the right algo name for L1 Last Collision In Train");
74  descriptions.add("l1tObjectsTiming", desc);
75 }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

Member Data Documentation

int L1TObjectsTiming::algoBitFirstBxInTrain_
private

Definition at line 62 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and dqmBeginRun().

int L1TObjectsTiming::algoBitLastBxInTrain_
private

Definition at line 63 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and dqmBeginRun().

const std::string L1TObjectsTiming::algoNameFirstBxInTrain_
private

Definition at line 64 of file L1TObjectsTiming.h.

Referenced by dqmBeginRun().

const std::string L1TObjectsTiming::algoNameLastBxInTrain_
private

Definition at line 65 of file L1TObjectsTiming.h.

Referenced by dqmBeginRun().

const unsigned int L1TObjectsTiming::bxrange_
private

Definition at line 66 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

MonitorElement* L1TObjectsTiming::denominator_egamma
private

Definition at line 115 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_egamma_firstbunch
private

Definition at line 117 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_egamma_isolated
private

Definition at line 116 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_egamma_lastbunch
private

Definition at line 118 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_firstbunch_MET
private

Definition at line 125 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_firstbunch_METHF
private

Definition at line 129 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_firstbunch_MHT
private

Definition at line 133 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_firstbunch_MHTHF
private

Definition at line 137 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_isolated_MET
private

Definition at line 124 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_isolated_METHF
private

Definition at line 128 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_isolated_MHT
private

Definition at line 132 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_isolated_MHTHF
private

Definition at line 136 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_lastbunch_MET
private

Definition at line 126 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_lastbunch_METHF
private

Definition at line 130 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_lastbunch_MHT
private

Definition at line 134 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_lastbunch_MHTHF
private

Definition at line 138 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_MET
private

Definition at line 123 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_METHF
private

Definition at line 127 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_MHT
private

Definition at line 131 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_etsum_MHTHF
private

Definition at line 135 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_jet
private

Definition at line 111 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_jet_firstbunch
private

Definition at line 113 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_jet_isolated
private

Definition at line 112 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_jet_lastbunch
private

Definition at line 114 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_muons
private

Definition at line 107 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_muons_firstbunch
private

Definition at line 109 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_muons_isolated
private

Definition at line 108 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_muons_lastbunch
private

Definition at line 110 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_tau
private

Definition at line 119 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_tau_firstbunch
private

Definition at line 121 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_tau_isolated
private

Definition at line 120 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TObjectsTiming::denominator_tau_lastbunch
private

Definition at line 122 of file L1TObjectsTiming.h.

Referenced by analyze(), and bookHistograms().

std::vector<MonitorElement*> L1TObjectsTiming::egamma_eta_phi
private

Definition at line 72 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::egamma_eta_phi_firstbunch
private

Definition at line 90 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::egamma_eta_phi_isolated
private

Definition at line 81 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::egamma_eta_phi_lastbunch
private

Definition at line 100 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_firstbunch
private

Definition at line 92 of file L1TObjectsTiming.h.

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MET
private

Definition at line 74 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MET_firstbunch
private

Definition at line 93 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MET_isolated
private

Definition at line 83 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MET_lastbunch
private

Definition at line 102 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_METHF
private

Definition at line 75 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_METHF_firstbunch
private

Definition at line 94 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_METHF_isolated
private

Definition at line 84 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_METHF_lastbunch
private

Definition at line 103 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHT
private

Definition at line 76 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHT_firstbunch
private

Definition at line 95 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHT_isolated
private

Definition at line 85 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHT_lastbunch
private

Definition at line 104 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHTHF
private

Definition at line 77 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHTHF_firstbunch
private

Definition at line 96 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHTHF_isolated
private

Definition at line 86 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::etsum_eta_phi_MHTHF_lastbunch
private

Definition at line 105 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::shared_ptr<l1t::L1TGlobalUtil> L1TObjectsTiming::gtUtil_
private

Definition at line 59 of file L1TObjectsTiming.h.

Referenced by dqmBeginRun().

std::vector<MonitorElement*> L1TObjectsTiming::jet_eta_phi
private

Definition at line 71 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::jet_eta_phi_firstbunch
private

Definition at line 89 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::jet_eta_phi_isolated
private

Definition at line 80 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::jet_eta_phi_lastbunch
private

Definition at line 99 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

edm::EDGetTokenT<GlobalAlgBlkBxCollection> L1TObjectsTiming::l1tStage2uGtProducer_
private

Definition at line 53 of file L1TObjectsTiming.h.

Referenced by analyze().

std::string L1TObjectsTiming::monitorDir_
private

Definition at line 55 of file L1TObjectsTiming.h.

Referenced by bookHistograms().

std::vector<MonitorElement*> L1TObjectsTiming::muons_eta_phi
private

Definition at line 70 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::muons_eta_phi_firstbunch
private

Definition at line 88 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::muons_eta_phi_isolated
private

Definition at line 79 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::muons_eta_phi_lastbunch
private

Definition at line 98 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

edm::EDGetTokenT<l1t::EGammaBxCollection> L1TObjectsTiming::stage2CaloLayer2EGammaToken_
private

Definition at line 49 of file L1TObjectsTiming.h.

Referenced by analyze().

edm::EDGetTokenT<l1t::EtSumBxCollection> L1TObjectsTiming::stage2CaloLayer2EtSumToken_
private

Definition at line 51 of file L1TObjectsTiming.h.

Referenced by analyze().

edm::EDGetTokenT<l1t::JetBxCollection> L1TObjectsTiming::stage2CaloLayer2JetToken_
private

Definition at line 48 of file L1TObjectsTiming.h.

Referenced by analyze().

edm::EDGetTokenT<l1t::TauBxCollection> L1TObjectsTiming::stage2CaloLayer2TauToken_
private

Definition at line 50 of file L1TObjectsTiming.h.

Referenced by analyze().

std::vector<MonitorElement*> L1TObjectsTiming::tau_eta_phi
private

Definition at line 73 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::tau_eta_phi_firstbunch
private

Definition at line 91 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::tau_eta_phi_isolated
private

Definition at line 82 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

std::vector<MonitorElement*> L1TObjectsTiming::tau_eta_phi_lastbunch
private

Definition at line 101 of file L1TObjectsTiming.h.

Referenced by analyze(), bookHistograms(), and L1TObjectsTiming().

edm::EDGetTokenT<l1t::MuonBxCollection> L1TObjectsTiming::ugmtMuonToken_
private

Definition at line 47 of file L1TObjectsTiming.h.

Referenced by analyze().

bool L1TObjectsTiming::verbose_
private

Definition at line 56 of file L1TObjectsTiming.h.

Referenced by analyze().