CMS 3D CMS Logo

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

#include <L1TGCTClient.h>

Inheritance diagram for L1TGCTClient:
DQMEDHarvester edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1TGCTClient (const edm::ParameterSet &ps)
 Constructor. More...
 
 ~L1TGCTClient () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &) override
 
virtual void dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &)
 
 DQMEDHarvester (edm::ParameterSet const &iConfig)
 
 DQMEDHarvester ()
 
virtual void dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final
 
void endProcessBlockProduce (edm::ProcessBlock &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &es) final
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () 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
 
std::vector< bool > const & recordProvenanceList () 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)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void dqmEndJob (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
 
void dqmEndLuminosityBlock (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Private Member Functions

void book (DQMStore::IBooker &ibooker)
 
void makeXProjection (TH2F *input, MonitorElement *output)
 
void makeYProjection (TH2F *input, MonitorElement *output)
 
void processHistograms (DQMStore::IGetter &igetter)
 

Private Attributes

int counterEvt_
 counter More...
 
int counterLS_
 
std::string InputDir
 
MonitorElementl1GctAllJetsOccEta_
 
MonitorElementl1GctAllJetsOccPhi_
 
MonitorElementl1GctCenJetsOccEta_
 
MonitorElementl1GctCenJetsOccPhi_
 
MonitorElementl1GctForJetsOccEta_
 
MonitorElementl1GctForJetsOccPhi_
 
MonitorElementl1GctIsoEmOccEta_
 
MonitorElementl1GctIsoEmOccPhi_
 
MonitorElementl1GctIsoTauJetsOccEta_
 
MonitorElementl1GctIsoTauJetsOccPhi_
 
MonitorElementl1GctNonIsoEmOccEta_
 
MonitorElementl1GctNonIsoEmOccPhi_
 
MonitorElementl1GctTauJetsOccEta_
 
MonitorElementl1GctTauJetsOccPhi_
 
bool m_runInEndJob
 
bool m_runInEndLumi
 
bool m_runInEndRun
 
bool m_runInEventLoop
 prescale on number of events More...
 
bool m_stage1_layer2_
 
std::string monitorDir_
 
int prescaleEvt_
 units of lumi sections More...
 
int prescaleLS_
 counter More...
 

Additional Inherited Members

- Public Types inherited from DQMEDHarvester
typedef dqm::harvesting::DQMStore DQMStore
 
typedef dqm::harvesting::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
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
 
- 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 Attributes inherited from DQMEDHarvester
DQMStoredqmstore_
 
edm::GetterOfProducts< DQMTokenjobmegetter_
 
edm::EDPutTokenT< DQMTokenjobToken_
 
edm::GetterOfProducts< DQMTokenlumimegetter_
 
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::GetterOfProducts< DQMTokenrunmegetter_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 17 of file L1TGCTClient.h.

Constructor & Destructor Documentation

◆ L1TGCTClient()

L1TGCTClient::L1TGCTClient ( const edm::ParameterSet ps)

Constructor.

Definition at line 22 of file L1TGCTClient.cc.

23  : monitorDir_(ps.getUntrackedParameter<string>("monitorDir", "")),
24  counterLS_(0),
25  counterEvt_(0),
26  prescaleLS_(ps.getUntrackedParameter<int>("prescaleLS", -1)),
27  prescaleEvt_(ps.getUntrackedParameter<int>("prescaleEvt", -1)),
28  m_runInEventLoop(ps.getUntrackedParameter<bool>("runInEventLoop", false)),
29  m_runInEndLumi(ps.getUntrackedParameter<bool>("runInEndLumi", false)),
30  m_runInEndRun(ps.getUntrackedParameter<bool>("runInEndRun", false)),
31  m_runInEndJob(ps.getUntrackedParameter<bool>("runInEndJob", false)),
32  m_stage1_layer2_(ps.getUntrackedParameter<bool>("stage1_layer2_"))
33 
34 {}
int prescaleEvt_
units of lumi sections
Definition: L1TGCTClient.h:43
std::string monitorDir_
Definition: L1TGCTClient.h:39
T getUntrackedParameter(std::string const &, T const &) const
bool m_stage1_layer2_
Definition: L1TGCTClient.h:49
int counterEvt_
counter
Definition: L1TGCTClient.h:41
bool m_runInEventLoop
prescale on number of events
Definition: L1TGCTClient.h:45
bool m_runInEndLumi
Definition: L1TGCTClient.h:46
bool m_runInEndJob
Definition: L1TGCTClient.h:48
int prescaleLS_
counter
Definition: L1TGCTClient.h:42
bool m_runInEndRun
Definition: L1TGCTClient.h:47

◆ ~L1TGCTClient()

L1TGCTClient::~L1TGCTClient ( )
override

Destructor.

Definition at line 36 of file L1TGCTClient.cc.

36 {}

Member Function Documentation

◆ book()

void L1TGCTClient::book ( DQMStore::IBooker ibooker)
private

Definition at line 38 of file L1TGCTClient.cc.

References dqm::implementation::IBooker::book1D(), ETABINS, ETAMAX, ETAMIN, l1GctAllJetsOccEta_, l1GctAllJetsOccPhi_, l1GctCenJetsOccEta_, l1GctCenJetsOccPhi_, l1GctForJetsOccEta_, l1GctForJetsOccPhi_, l1GctIsoEmOccEta_, l1GctIsoEmOccPhi_, l1GctIsoTauJetsOccEta_, l1GctIsoTauJetsOccPhi_, l1GctNonIsoEmOccEta_, l1GctNonIsoEmOccPhi_, l1GctTauJetsOccEta_, l1GctTauJetsOccPhi_, m_stage1_layer2_, monitorDir_, PHIBINS, PHIMAX, PHIMIN, and dqm::implementation::NavigatorBase::setCurrentFolder().

Referenced by dqmEndJob(), and dqmEndLuminosityBlock().

38  {
39  // Set to directory with ME in
41 
42  l1GctIsoEmOccEta_ = ibooker.book1D("IsoEmOccEta", "ISO EM #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
43  l1GctIsoEmOccPhi_ = ibooker.book1D("IsoEmOccPhi", "ISO EM #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
44  l1GctNonIsoEmOccEta_ = ibooker.book1D("NonIsoEmOccEta", "NON-ISO EM #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
45  l1GctNonIsoEmOccPhi_ = ibooker.book1D("NonIsoEmOccPhi", "NON-ISO EM #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
47  ibooker.book1D("AllJetsOccEta", "CENTRAL AND FORWARD JET #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
49  ibooker.book1D("AllJetsOccPhi", "CENTRAL AND FORWARD JET #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
50  l1GctCenJetsOccEta_ = ibooker.book1D("CenJetsOccEta", "CENTRAL JET #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
51  l1GctCenJetsOccPhi_ = ibooker.book1D("CenJetsOccPhi", "CENTRAL JET #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
52  l1GctForJetsOccEta_ = ibooker.book1D("ForJetsOccEta", "FORWARD JET #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
53  l1GctForJetsOccPhi_ = ibooker.book1D("ForJetsOccPhi", "FORWARD JET #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
54  l1GctTauJetsOccEta_ = ibooker.book1D("TauJetsOccEta", "TAU JET #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
55  l1GctTauJetsOccPhi_ = ibooker.book1D("TauJetsOccPhi", "TAU JET #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
56  if (m_stage1_layer2_ == true) {
57  l1GctIsoTauJetsOccEta_ = ibooker.book1D("IsoTauJetsOccEta", "TAU JET #eta OCCUPANCY", ETABINS, ETAMIN, ETAMAX);
58  l1GctIsoTauJetsOccPhi_ = ibooker.book1D("IsoTauJetsOccPhi", "TAU JET #phi OCCUPANCY", PHIBINS, PHIMIN, PHIMAX);
59  }
60 }
MonitorElement * l1GctForJetsOccPhi_
Definition: L1TGCTClient.h:62
MonitorElement * l1GctTauJetsOccEta_
Definition: L1TGCTClient.h:63
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
const float PHIMAX
Definition: L1TGCTClient.cc:20
std::string monitorDir_
Definition: L1TGCTClient.h:39
const float ETAMIN
Definition: L1TGCTClient.cc:15
const float ETAMAX
Definition: L1TGCTClient.cc:16
MonitorElement * l1GctIsoTauJetsOccPhi_
Definition: L1TGCTClient.h:66
MonitorElement * l1GctTauJetsOccPhi_
Definition: L1TGCTClient.h:64
MonitorElement * l1GctIsoEmOccEta_
Definition: L1TGCTClient.h:53
MonitorElement * l1GctAllJetsOccPhi_
Definition: L1TGCTClient.h:58
MonitorElement * l1GctForJetsOccEta_
Definition: L1TGCTClient.h:61
MonitorElement * l1GctCenJetsOccPhi_
Definition: L1TGCTClient.h:60
const float PHIMIN
Definition: L1TGCTClient.cc:19
bool m_stage1_layer2_
Definition: L1TGCTClient.h:49
const unsigned int ETABINS
Definition: L1TGCTClient.cc:14
MonitorElement * l1GctAllJetsOccEta_
Definition: L1TGCTClient.h:57
MonitorElement * l1GctNonIsoEmOccPhi_
Definition: L1TGCTClient.h:56
MonitorElement * l1GctIsoTauJetsOccEta_
Definition: L1TGCTClient.h:65
MonitorElement * l1GctIsoEmOccPhi_
Definition: L1TGCTClient.h:54
MonitorElement * l1GctNonIsoEmOccEta_
Definition: L1TGCTClient.h:55
const unsigned int PHIBINS
Definition: L1TGCTClient.cc:18
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * l1GctCenJetsOccEta_
Definition: L1TGCTClient.h:59

◆ dqmEndJob()

void L1TGCTClient::dqmEndJob ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter 
)
overrideprotectedvirtual

Implements DQMEDHarvester.

Definition at line 72 of file L1TGCTClient.cc.

References book(), m_runInEndRun, and processHistograms().

72  {
73  if (m_runInEndRun) {
74  book(ibooker);
75  processHistograms(igetter);
76  }
77 }
void book(DQMStore::IBooker &ibooker)
Definition: L1TGCTClient.cc:38
void processHistograms(DQMStore::IGetter &igetter)
Definition: L1TGCTClient.cc:79
bool m_runInEndRun
Definition: L1TGCTClient.h:47

◆ dqmEndLuminosityBlock()

void L1TGCTClient::dqmEndLuminosityBlock ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter,
const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
overrideprotectedvirtual

Reimplemented from DQMEDHarvester.

Definition at line 62 of file L1TGCTClient.cc.

References book(), m_runInEndLumi, and processHistograms().

65  {
66  if (m_runInEndLumi) {
67  book(ibooker);
68  processHistograms(igetter);
69  }
70 }
void book(DQMStore::IBooker &ibooker)
Definition: L1TGCTClient.cc:38
void processHistograms(DQMStore::IGetter &igetter)
Definition: L1TGCTClient.cc:79
bool m_runInEndLumi
Definition: L1TGCTClient.h:46

◆ makeXProjection()

void L1TGCTClient::makeXProjection ( TH2F *  input,
MonitorElement output 
)
private

Definition at line 133 of file L1TGCTClient.cc.

References mps_fire::i, input, and convertSQLitetoXML_cfg::output.

Referenced by processHistograms().

133  {
134  // Are the provided input and output consistent
135  if (input->GetNbinsX() != output->getNbinsX())
136  return;
137 
138  // Make the projection
139  TH1D* projX = input->ProjectionX();
140 
141  for (Int_t i = 0; i < projX->GetNbinsX(); i++) {
142  output->setBinContent(i + 1, projX->GetBinContent(i + 1));
143  }
144  delete projX;
145 }
static std::string const input
Definition: EdmProvDump.cc:50

◆ makeYProjection()

void L1TGCTClient::makeYProjection ( TH2F *  input,
MonitorElement output 
)
private

Definition at line 147 of file L1TGCTClient.cc.

References mps_fire::i, input, and convertSQLitetoXML_cfg::output.

Referenced by processHistograms().

147  {
148  // Are the provided input and output consistent
149  if (input->GetNbinsY() != output->getNbinsX())
150  return;
151 
152  // Make the projection
153  TH1D* projY = input->ProjectionY();
154 
155  for (Int_t i = 0; i < projY->GetNbinsX(); i++) {
156  output->setBinContent(i + 1, projY->GetBinContent(i + 1));
157  }
158  delete projY;
159 }
static std::string const input
Definition: EdmProvDump.cc:50

◆ processHistograms()

void L1TGCTClient::processHistograms ( DQMStore::IGetter igetter)
private

Definition at line 79 of file L1TGCTClient.cc.

References dqm::implementation::IGetter::get(), TrackCandidateTopBottomHitFilter_cfi::Input, InputDir, l1GctAllJetsOccEta_, l1GctAllJetsOccPhi_, l1GctCenJetsOccEta_, l1GctCenJetsOccPhi_, l1GctForJetsOccEta_, l1GctForJetsOccPhi_, l1GctIsoEmOccEta_, l1GctIsoEmOccPhi_, l1GctIsoTauJetsOccEta_, l1GctIsoTauJetsOccPhi_, l1GctNonIsoEmOccEta_, l1GctNonIsoEmOccPhi_, l1GctTauJetsOccEta_, l1GctTauJetsOccPhi_, m_stage1_layer2_, makeXProjection(), and makeYProjection().

Referenced by dqmEndJob(), and dqmEndLuminosityBlock().

79  {
81 
82  if (m_stage1_layer2_ == false) {
83  InputDir = "L1T/L1TGCT/";
84  } else {
85  InputDir = "L1T/L1TStage1Layer2/";
86  }
87 
88  Input = igetter.get(InputDir + "IsoEmOccEtaPhi");
89  if (Input != nullptr) {
92  }
93 
94  Input = igetter.get(InputDir + "NonIsoEmOccEtaPhi");
95  if (Input != nullptr) {
98  }
99 
100  Input = igetter.get(InputDir + "AllJetsOccEtaPhi");
101  if (Input != nullptr) {
104  }
105 
106  Input = igetter.get(InputDir + "CenJetsOccEtaPhi");
107  if (Input != nullptr) {
110  }
111 
112  Input = igetter.get(InputDir + "ForJetsOccEtaPhi");
113  if (Input != nullptr) {
116  }
117 
118  Input = igetter.get(InputDir + "TauJetsOccEtaPhi");
119  if (Input != nullptr) {
122  }
123 
124  if (m_stage1_layer2_ == true) {
125  Input = igetter.get(InputDir + "IsoTauJetsOccEtaPhi");
126  if (Input != nullptr) {
129  }
130  }
131 }
MonitorElement * l1GctForJetsOccPhi_
Definition: L1TGCTClient.h:62
MonitorElement * l1GctTauJetsOccEta_
Definition: L1TGCTClient.h:63
MonitorElement * l1GctIsoTauJetsOccPhi_
Definition: L1TGCTClient.h:66
MonitorElement * l1GctTauJetsOccPhi_
Definition: L1TGCTClient.h:64
MonitorElement * l1GctIsoEmOccEta_
Definition: L1TGCTClient.h:53
MonitorElement * l1GctAllJetsOccPhi_
Definition: L1TGCTClient.h:58
MonitorElement * l1GctForJetsOccEta_
Definition: L1TGCTClient.h:61
MonitorElement * l1GctCenJetsOccPhi_
Definition: L1TGCTClient.h:60
void makeXProjection(TH2F *input, MonitorElement *output)
bool m_stage1_layer2_
Definition: L1TGCTClient.h:49
MonitorElement * l1GctAllJetsOccEta_
Definition: L1TGCTClient.h:57
MonitorElement * l1GctNonIsoEmOccPhi_
Definition: L1TGCTClient.h:56
MonitorElement * l1GctIsoTauJetsOccEta_
Definition: L1TGCTClient.h:65
MonitorElement * l1GctIsoEmOccPhi_
Definition: L1TGCTClient.h:54
void makeYProjection(TH2F *input, MonitorElement *output)
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:712
MonitorElement * l1GctNonIsoEmOccEta_
Definition: L1TGCTClient.h:55
std::string InputDir
Definition: L1TGCTClient.h:51
MonitorElement * l1GctCenJetsOccEta_
Definition: L1TGCTClient.h:59

Member Data Documentation

◆ counterEvt_

int L1TGCTClient::counterEvt_
private

counter

Definition at line 41 of file L1TGCTClient.h.

◆ counterLS_

int L1TGCTClient::counterLS_
private

Definition at line 40 of file L1TGCTClient.h.

◆ InputDir

std::string L1TGCTClient::InputDir
private

Definition at line 51 of file L1TGCTClient.h.

Referenced by processHistograms().

◆ l1GctAllJetsOccEta_

MonitorElement* L1TGCTClient::l1GctAllJetsOccEta_
private

Definition at line 57 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctAllJetsOccPhi_

MonitorElement* L1TGCTClient::l1GctAllJetsOccPhi_
private

Definition at line 58 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctCenJetsOccEta_

MonitorElement* L1TGCTClient::l1GctCenJetsOccEta_
private

Definition at line 59 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctCenJetsOccPhi_

MonitorElement* L1TGCTClient::l1GctCenJetsOccPhi_
private

Definition at line 60 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctForJetsOccEta_

MonitorElement* L1TGCTClient::l1GctForJetsOccEta_
private

Definition at line 61 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctForJetsOccPhi_

MonitorElement* L1TGCTClient::l1GctForJetsOccPhi_
private

Definition at line 62 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctIsoEmOccEta_

MonitorElement* L1TGCTClient::l1GctIsoEmOccEta_
private

Definition at line 53 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctIsoEmOccPhi_

MonitorElement* L1TGCTClient::l1GctIsoEmOccPhi_
private

Definition at line 54 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctIsoTauJetsOccEta_

MonitorElement* L1TGCTClient::l1GctIsoTauJetsOccEta_
private

Definition at line 65 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctIsoTauJetsOccPhi_

MonitorElement* L1TGCTClient::l1GctIsoTauJetsOccPhi_
private

Definition at line 66 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctNonIsoEmOccEta_

MonitorElement* L1TGCTClient::l1GctNonIsoEmOccEta_
private

Definition at line 55 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctNonIsoEmOccPhi_

MonitorElement* L1TGCTClient::l1GctNonIsoEmOccPhi_
private

Definition at line 56 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctTauJetsOccEta_

MonitorElement* L1TGCTClient::l1GctTauJetsOccEta_
private

Definition at line 63 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ l1GctTauJetsOccPhi_

MonitorElement* L1TGCTClient::l1GctTauJetsOccPhi_
private

Definition at line 64 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ m_runInEndJob

bool L1TGCTClient::m_runInEndJob
private

Definition at line 48 of file L1TGCTClient.h.

◆ m_runInEndLumi

bool L1TGCTClient::m_runInEndLumi
private

Definition at line 46 of file L1TGCTClient.h.

Referenced by dqmEndLuminosityBlock().

◆ m_runInEndRun

bool L1TGCTClient::m_runInEndRun
private

Definition at line 47 of file L1TGCTClient.h.

Referenced by dqmEndJob().

◆ m_runInEventLoop

bool L1TGCTClient::m_runInEventLoop
private

prescale on number of events

Definition at line 45 of file L1TGCTClient.h.

◆ m_stage1_layer2_

bool L1TGCTClient::m_stage1_layer2_
private

Definition at line 49 of file L1TGCTClient.h.

Referenced by book(), and processHistograms().

◆ monitorDir_

std::string L1TGCTClient::monitorDir_
private

Definition at line 39 of file L1TGCTClient.h.

Referenced by book().

◆ prescaleEvt_

int L1TGCTClient::prescaleEvt_
private

units of lumi sections

Definition at line 43 of file L1TGCTClient.h.

◆ prescaleLS_

int L1TGCTClient::prescaleLS_
private

counter

Definition at line 42 of file L1TGCTClient.h.