CMS 3D CMS Logo

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

#include <L1TRCT.h>

Inheritance diagram for L1TRCT:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 L1TRCT (const edm::ParameterSet &ps)
 
 ~L1TRCT () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void beginRun (edm::Run const &, edm::EventSetup const &) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase 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)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) 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 filterTriggerType_
 filter TriggerType More...
 
std::string histFolder_
 
MonitorElementlayer2EmBx_
 
MonitorElementlayer2HfPlusTauEtaPhi_
 
MonitorElementlayer2IsoEmEtEtaPhi_
 
MonitorElementlayer2IsoEmOccEtaPhi_
 
MonitorElementlayer2IsoEmRank_
 
MonitorElementlayer2MipEtaPhi_
 
MonitorElementlayer2NonIsoEmEtEtaPhi_
 
MonitorElementlayer2NonIsoEmOccEtaPhi_
 
MonitorElementlayer2NonIsoEmRank_
 
MonitorElementlayer2OverFlowEtaPhi_
 
MonitorElementlayer2QuietEtaPhi_
 
MonitorElementlayer2RegionBx_
 
MonitorElementlayer2RegionRank_
 
MonitorElementlayer2RegionsEtEtaPhi_
 
MonitorElementlayer2RegionsOccEtaPhi_
 
MonitorElementlayer2TauVetoEtaPhi_
 
std::ofstream logFile_
 
MonitorElementlumisecId_
 
bool monitorDaemon_
 
int nev_
 
std::string outputFile_
 
MonitorElementrctEmBx_
 
MonitorElementrctHfPlusTauEtaPhi_
 
MonitorElementrctIsoEmEtEtaPhi_
 
MonitorElementrctIsoEmOccEtaPhi_
 
MonitorElementrctIsoEmRank_
 
MonitorElementrctMipEtaPhi_
 
MonitorElementrctNonIsoEmEtEtaPhi_
 
MonitorElementrctNonIsoEmOccEtaPhi_
 
MonitorElementrctNonIsoEmRank_
 
MonitorElementrctNotCentralIsoEmEtEtaPhi_
 
MonitorElementrctNotCentralIsoEmOccEtaPhi_
 
MonitorElementrctNotCentralNonIsoEmEtEtaPhi_
 
MonitorElementrctNotCentralNonIsoEmOccEtaPhi_
 
MonitorElementrctNotCentralRegionsEtEtaPhi_
 
MonitorElementrctNotCentralRegionsOccEtaPhi_
 
MonitorElementrctOverFlowEtaPhi_
 
MonitorElementrctQuietEtaPhi_
 
MonitorElementrctRegionBx_
 
MonitorElementrctRegionRank_
 
MonitorElementrctRegionsEtEtaPhi_
 
MonitorElementrctRegionsOccEtaPhi_
 
edm::EDGetTokenT< L1CaloEmCollectionrctSource_GCT_L1CEMCollection_
 
edm::EDGetTokenT< L1CaloRegionCollectionrctSource_GCT_L1CRCollection_
 
edm::EDGetTokenT< L1CaloEmCollectionrctSource_L1CEMCollection_
 
edm::EDGetTokenT< L1CaloRegionCollectionrctSource_L1CRCollection_
 
MonitorElementrctTauVetoEtaPhi_
 
MonitorElementrunId_
 
int selectBX_
 
MonitorElementtriggerType_
 
bool verbose_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 40 of file L1TRCT.h.

Constructor & Destructor Documentation

L1TRCT::L1TRCT ( const edm::ParameterSet ps)

Definition at line 37 of file L1TRCT.cc.

References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

37  :
38  histFolder_ (ps.getUntrackedParameter<std::string>("HistFolder", "L1T/L1TRCT")),
39  rctSource_L1CRCollection_( consumes<L1CaloRegionCollection>(ps.getParameter< InputTag >("rctSource") )),
40  rctSource_L1CEMCollection_( consumes<L1CaloEmCollection>(ps.getParameter< InputTag >("rctSource") )),
41  filterTriggerType_ (ps.getParameter< int >("filterTriggerType")),
42  selectBX_ (ps.getUntrackedParameter< int >("selectBX",2))
43 {
44 
45  // verbosity switch
46  verbose_ = ps.getUntrackedParameter < bool > ("verbose", false);
47 
48  if (verbose_)
49  std::cout << "L1TRCT: constructor...." << std::endl;
50 
51  outputFile_ =
52  ps.getUntrackedParameter < std::string > ("outputFile", "");
53  if (!outputFile_.empty()) {
54  std::
55  cout << "L1T Monitoring histograms will be saved to " <<
56  outputFile_.c_str() << std::endl;
57  }
58 
59  bool disable =
60  ps.getUntrackedParameter < bool > ("disableROOToutput", false);
61  if (disable) {
62  outputFile_ = "";
63  }
64 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_L1CRCollection_
Definition: L1TRCT.h:130
std::string histFolder_
Definition: L1TRCT.h:124
int filterTriggerType_
filter TriggerType
Definition: L1TRCT.h:136
bool verbose_
Definition: L1TRCT.h:126
edm::EDGetTokenT< L1CaloEmCollection > rctSource_L1CEMCollection_
Definition: L1TRCT.h:131
std::string outputFile_
Definition: L1TRCT.h:125
int selectBX_
Definition: L1TRCT.h:137
L1TRCT::~L1TRCT ( )
override

Definition at line 66 of file L1TRCT.cc.

67 {
68 }

Member Function Documentation

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

Definition at line 135 of file L1TRCT.cc.

References gather_cfg::cout, edm::EventBase::experimentType(), MonitorElement::Fill(), HcalObjRepresent::Fill(), filterTriggerType_, edm::Event::getByToken(), edm::EventBase::isRealData(), edm::HandleBase::isValid(), nev_, rctEmBx_, rctHfPlusTauEtaPhi_, rctIsoEmEtEtaPhi_, rctIsoEmOccEtaPhi_, rctIsoEmRank_, rctMipEtaPhi_, rctNonIsoEmEtEtaPhi_, rctNonIsoEmOccEtaPhi_, rctNonIsoEmRank_, rctNotCentralIsoEmEtEtaPhi_, rctNotCentralIsoEmOccEtaPhi_, rctNotCentralNonIsoEmEtEtaPhi_, rctNotCentralNonIsoEmOccEtaPhi_, rctNotCentralRegionsEtEtaPhi_, rctNotCentralRegionsOccEtaPhi_, rctOverFlowEtaPhi_, rctQuietEtaPhi_, rctRegionBx_, rctRegionRank_, rctRegionsEtEtaPhi_, rctRegionsOccEtaPhi_, rctSource_L1CEMCollection_, rctSource_L1CRCollection_, rctTauVetoEtaPhi_, selectBX_, triggerType_, and verbose_.

136 {
137  nev_++;
138  if (verbose_) {
139  std::cout << "L1TRCT: analyze...." << std::endl;
140  }
141 
142  // filter according trigger type
143  // enum ExperimentType {
144  // Undefined = 0,
145  // PhysicsTrigger = 1,
146  // CalibrationTrigger = 2,
147  // RandomTrigger = 3,
148  // Reserved = 4,
149  // TracedEvent = 5,
150  // TestTrigger = 6,
151  // ErrorTrigger = 15
152 
153  // fill a histogram with the trigger type, for normalization fill also last bin
154  // ErrorTrigger + 1
155  double triggerType = static_cast<double> (e.experimentType()) + 0.001;
156  double triggerTypeLast = static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
157  + 0.001;
158  triggerType_->Fill(triggerType);
159  triggerType_->Fill(triggerTypeLast + 1);
160 
161  // filter only if trigger type is greater than 0, negative values disable filtering
162  if (filterTriggerType_ >= 0) {
163 
164  // now filter, for real data only
165  if (e.isRealData()) {
166  if (!(e.experimentType() == filterTriggerType_)) {
167 
168  edm::LogInfo("L1TRCT") << "\n Event of TriggerType "
169  << e.experimentType() << " rejected" << std::endl;
170  return;
171 
172  }
173  }
174 
175  }
176 
177  // Get the RCT digis
180 
181  bool doEm = true;
182  bool doHd = true;
183 
186 
187  if (!rgn.isValid()) {
188  edm::LogInfo("DataNotFound") << "can't find L1CaloRegionCollection - RCT";
189  doHd = false;
190  }
191 
192  if (!em.isValid()) {
193  edm::LogInfo("DataNotFound") << "can't find L1CaloEmCollection - Layer2 ";
194  doEm = false;
195  }
196 
197 
198  if ( doHd ) {
199  // Fill the RCT histograms
200 
201  for (L1CaloRegionCollection::const_iterator ireg = rgn->begin();
202  ireg != rgn->end(); ireg++) {
203 
204  if(ireg->et()>0)
205  {
206  rctRegionBx_->Fill(ireg->bx());
207  }
208 
209  if(selectBX_==-1 || selectBX_==ireg->bx()) {
210 
211  if(ireg->et()>0){
212 
213  rctRegionRank_->Fill(ireg->et());
214  if(ireg->et()>5){
215  rctRegionsOccEtaPhi_->Fill(ireg->gctEta(), ireg->gctPhi());
216  }
217  rctRegionsEtEtaPhi_->Fill(ireg->gctEta(), ireg->gctPhi(), ireg->et());
218  }
219 
220  if(ireg->overFlow()) rctOverFlowEtaPhi_ ->Fill(ireg->gctEta(), ireg->gctPhi());
221  if(ireg->tauVeto()) rctTauVetoEtaPhi_ ->Fill(ireg->gctEta(), ireg->gctPhi());
222  if(ireg->mip()) rctMipEtaPhi_ ->Fill(ireg->gctEta(), ireg->gctPhi());
223  if(ireg->quiet()) rctQuietEtaPhi_ ->Fill(ireg->gctEta(), ireg->gctPhi());
224  if(ireg->fineGrain()) rctHfPlusTauEtaPhi_->Fill(ireg->gctEta(), ireg->gctPhi());
225 
226  }
227  else if (selectBX_!=-1 && selectBX_!=ireg->bx()){
228  if(ireg->et()>5) rctNotCentralRegionsOccEtaPhi_->Fill(ireg->gctEta(), ireg->gctPhi());
229  rctNotCentralRegionsEtEtaPhi_->Fill(ireg->gctEta(), ireg->gctPhi(), ireg->et());
230  }
231 
232 
233  }
234 
235  }
236 
237  if (doEm){
238  // Isolated and non-isolated EM
239  for (L1CaloEmCollection::const_iterator iem = em->begin();
240  iem != em->end(); iem++) {
241 
242  if(iem->rank()==0) continue;
243  rctEmBx_->Fill(iem->bx());
244  if(selectBX_==-1 || selectBX_==iem->bx()) {
245 
246  if (iem->isolated()) {
247  rctIsoEmRank_->Fill(iem->rank());
248  rctIsoEmEtEtaPhi_->Fill(iem->regionId().ieta(),
249  iem->regionId().iphi(), iem->rank());
250  if(iem->rank()>10){
251  rctIsoEmOccEtaPhi_->Fill(iem->regionId().ieta(),
252  iem->regionId().iphi());
253  }
254  }
255  else {
256  rctNonIsoEmRank_->Fill(iem->rank());
257  rctNonIsoEmEtEtaPhi_->Fill(iem->regionId().ieta(),
258  iem->regionId().iphi(), iem->rank());
259  if(iem->rank()>10){
260  rctNonIsoEmOccEtaPhi_->Fill(iem->regionId().ieta(),
261  iem->regionId().iphi());
262  }
263  }
264  }
265  else if (selectBX_!=-1 && selectBX_!=iem->bx()) {
266  if (iem->isolated()) {
267  rctNotCentralIsoEmEtEtaPhi_->Fill(iem->regionId().ieta(),
268  iem->regionId().iphi(), iem->rank());
269  if(iem->rank()>10){
270  rctNotCentralIsoEmOccEtaPhi_->Fill(iem->regionId().ieta(),
271  iem->regionId().iphi());
272  }
273  }
274  else {
275  rctNotCentralNonIsoEmEtEtaPhi_->Fill(iem->regionId().ieta(),
276  iem->regionId().iphi(), iem->rank());
277  if(iem->rank()>10){
278  rctNotCentralNonIsoEmOccEtaPhi_->Fill(iem->regionId().ieta(),
279  iem->regionId().iphi());
280  }
281  }
282  }
283  }
284 
285 }
286 
287 }
MonitorElement * rctOverFlowEtaPhi_
Definition: L1TRCT.h:69
MonitorElement * rctQuietEtaPhi_
Definition: L1TRCT.h:72
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_L1CRCollection_
Definition: L1TRCT.h:130
MonitorElement * rctRegionsEtEtaPhi_
Definition: L1TRCT.h:66
MonitorElement * rctRegionsOccEtaPhi_
Definition: L1TRCT.h:67
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:519
MonitorElement * triggerType_
Definition: L1TRCT.h:62
bool isRealData() const
Definition: EventBase.h:64
void Fill(long long x)
int filterTriggerType_
filter TriggerType
Definition: L1TRCT.h:136
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * rctHfPlusTauEtaPhi_
Definition: L1TRCT.h:73
MonitorElement * rctIsoEmEtEtaPhi_
Definition: L1TRCT.h:80
MonitorElement * rctNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:82
MonitorElement * rctNotCentralIsoEmEtEtaPhi_
Definition: L1TRCT.h:89
bool isValid() const
Definition: HandleBase.h:74
bool verbose_
Definition: L1TRCT.h:126
MonitorElement * rctIsoEmOccEtaPhi_
Definition: L1TRCT.h:81
int nev_
Definition: L1TRCT.h:123
MonitorElement * rctNotCentralRegionsOccEtaPhi_
Definition: L1TRCT.h:88
MonitorElement * rctNonIsoEmRank_
Definition: L1TRCT.h:85
MonitorElement * rctTauVetoEtaPhi_
Definition: L1TRCT.h:70
edm::EDGetTokenT< L1CaloEmCollection > rctSource_L1CEMCollection_
Definition: L1TRCT.h:131
MonitorElement * rctNotCentralNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:92
MonitorElement * rctEmBx_
Definition: L1TRCT.h:77
MonitorElement * rctNotCentralRegionsEtEtaPhi_
Definition: L1TRCT.h:87
MonitorElement * rctNotCentralNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:91
MonitorElement * rctRegionRank_
Definition: L1TRCT.h:68
MonitorElement * rctMipEtaPhi_
Definition: L1TRCT.h:71
edm::EventAuxiliary::ExperimentType experimentType() const
Definition: EventBase.h:65
MonitorElement * rctRegionBx_
Definition: L1TRCT.h:76
int selectBX_
Definition: L1TRCT.h:137
MonitorElement * rctNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:83
MonitorElement * rctNotCentralIsoEmOccEtaPhi_
Definition: L1TRCT.h:90
MonitorElement * rctIsoEmRank_
Definition: L1TRCT.h:84
void L1TRCT::beginLuminosityBlock ( const edm::LuminosityBlock l,
const edm::EventSetup c 
)
overrideprotected

Definition at line 77 of file L1TRCT.cc.

77  {
78  //
79  //lumisecId_->Fill(l.id().luminosityBlock());
80 }
void L1TRCT::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 83 of file L1TRCT.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookInt(), ETABINS, ETAMAX, ETAMIN, MonitorElement::Fill(), histFolder_, lumisecId_, nev_, PHIBINS, PHIMAX, PHIMIN, R10BINS, R10MAX, R10MIN, R6BINS, R6MAX, R6MIN, rctEmBx_, rctHfPlusTauEtaPhi_, rctIsoEmEtEtaPhi_, rctIsoEmOccEtaPhi_, rctIsoEmRank_, rctMipEtaPhi_, rctNonIsoEmEtEtaPhi_, rctNonIsoEmOccEtaPhi_, rctNonIsoEmRank_, rctNotCentralIsoEmEtEtaPhi_, rctNotCentralIsoEmOccEtaPhi_, rctNotCentralNonIsoEmEtEtaPhi_, rctNotCentralNonIsoEmOccEtaPhi_, rctNotCentralRegionsEtEtaPhi_, rctNotCentralRegionsOccEtaPhi_, rctOverFlowEtaPhi_, rctQuietEtaPhi_, rctRegionBx_, rctRegionRank_, rctRegionsEtEtaPhi_, rctRegionsOccEtaPhi_, rctTauVetoEtaPhi_, runId_, DQMStore::IBooker::setCurrentFolder(), and triggerType_.

84 {
85  nev_ = 0;
86 
88 
89  runId_=ibooker.bookInt("iRun");
90  runId_->Fill(-1);
91  lumisecId_=ibooker.bookInt("lumiSection");
92  lumisecId_->Fill(-1);
93 
94 
95  triggerType_ = ibooker.book1D("TriggerType", "TriggerType", 17, -0.5, 16.5);
96 
97  // RCT UNPACKER
98 
99  // electrons
100  rctIsoEmEtEtaPhi_ = ibooker.book2D("RctEmIsoEmEtEtaPhi", "ISO EM E_{T}", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
101  rctIsoEmOccEtaPhi_ = ibooker.book2D("RctEmIsoEmOccEtaPhi", "ISO EM OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
102  rctNonIsoEmEtEtaPhi_ = ibooker.book2D("RctEmNonIsoEmEtEtaPhi", "NON-ISO EM E_{T}", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
103  rctNonIsoEmOccEtaPhi_ = ibooker.book2D("RctEmNonIsoEmOccEtaPhi", "NON-ISO EM OCCUPANCY",ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
104 
105  // global regions
106  rctRegionsEtEtaPhi_ = ibooker.book2D("RctRegionsEtEtaPhi", "REGION E_{T}", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
107  rctRegionsOccEtaPhi_ = ibooker.book2D("RctRegionsOccEtaPhi", "REGION OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
108 
109  // bits
110  rctOverFlowEtaPhi_ = ibooker.book2D("RctBitOverFlowEtaPhi", "OVER FLOW OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
111  rctTauVetoEtaPhi_ = ibooker.book2D("RctBitTauVetoEtaPhi", "TAU VETO OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
112  rctMipEtaPhi_ = ibooker.book2D("RctBitMipEtaPhi", "MIP OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
113  rctQuietEtaPhi_ = ibooker.book2D("RctBitQuietEtaPhi", "QUIET OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
114  rctHfPlusTauEtaPhi_ = ibooker.book2D("RctBitHfPlusTauEtaPhi", "HF plus Tau OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
115 
116  // rank histos
117  rctRegionRank_ = ibooker.book1D("RctRegionRank", "REGION RANK", R10BINS, R10MIN, R10MAX);
118  rctIsoEmRank_ = ibooker.book1D("RctEmIsoEmRank", "ISO EM RANK", R6BINS, R6MIN, R6MAX);
119  rctNonIsoEmRank_ = ibooker.book1D("RctEmNonIsoEmRank", "NON-ISO EM RANK", R6BINS, R6MIN, R6MAX);
120 
121  // bx histos
122  rctRegionBx_ = ibooker.book1D("RctRegionBx", "Region BX", 10, -2.5, 7.5);
123  rctEmBx_ = ibooker.book1D("RctEmBx", "EM BX", 10, -2.5, 7.5);
124 
125  // NOT CENTRAL BXs
126  rctNotCentralRegionsEtEtaPhi_ = ibooker.book2D("rctNotCentralRegionsEtEtaPhi", "REGION E_{T}", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
127  rctNotCentralRegionsOccEtaPhi_ = ibooker.book2D("rctNotCentralRegionsOccEtaPhi", "REGION OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
128  rctNotCentralIsoEmEtEtaPhi_ = ibooker.book2D("rctNotCentralEmIsoEmEtEtaPhi", "ISO EM E_{T}", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
129  rctNotCentralIsoEmOccEtaPhi_ = ibooker.book2D("rctNotCentralEmIsoEmOccEtaPhi", "ISO EM OCCUPANCY", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
130  rctNotCentralNonIsoEmEtEtaPhi_ = ibooker.book2D("rctNotCentralEmNonIsoEmEtEtaPhi", "NON-ISO EM E_{T}", ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
131  rctNotCentralNonIsoEmOccEtaPhi_ = ibooker.book2D("rctNotCentralEmNonIsoEmOccEtaPhi", "NON-ISO EM OCCUPANCY",ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
132 
133 }
MonitorElement * rctOverFlowEtaPhi_
Definition: L1TRCT.h:69
MonitorElement * rctQuietEtaPhi_
Definition: L1TRCT.h:72
const unsigned int R6BINS
Definition: L1TRCT.cc:24
MonitorElement * rctRegionsEtEtaPhi_
Definition: L1TRCT.h:66
const unsigned int PHIBINS
Definition: L1TRCT.cc:19
const unsigned int R10BINS
Definition: L1TRCT.cc:27
const float R6MAX
Definition: L1TRCT.cc:26
MonitorElement * rctRegionsOccEtaPhi_
Definition: L1TRCT.h:67
const float R10MIN
Definition: L1TRCT.cc:28
MonitorElement * triggerType_
Definition: L1TRCT.h:62
MonitorElement * bookInt(Args &&...args)
Definition: DQMStore.h:106
std::string histFolder_
Definition: L1TRCT.h:124
MonitorElement * runId_
Definition: L1TRCT.h:119
const float ETAMAX
Definition: L1TRCT.cc:33
const float PHIMAX
Definition: L1TRCT.cc:21
void Fill(long long x)
const unsigned int ETABINS
Definition: L1TRCT.cc:31
const float R6MIN
Definition: L1TRCT.cc:25
MonitorElement * lumisecId_
Definition: L1TRCT.h:120
MonitorElement * rctHfPlusTauEtaPhi_
Definition: L1TRCT.h:73
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
MonitorElement * rctIsoEmEtEtaPhi_
Definition: L1TRCT.h:80
MonitorElement * rctNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:82
MonitorElement * rctNotCentralIsoEmEtEtaPhi_
Definition: L1TRCT.h:89
const float ETAMIN
Definition: L1TRCT.cc:32
MonitorElement * rctIsoEmOccEtaPhi_
Definition: L1TRCT.h:81
int nev_
Definition: L1TRCT.h:123
MonitorElement * rctNotCentralRegionsOccEtaPhi_
Definition: L1TRCT.h:88
MonitorElement * rctNonIsoEmRank_
Definition: L1TRCT.h:85
MonitorElement * rctTauVetoEtaPhi_
Definition: L1TRCT.h:70
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
MonitorElement * rctNotCentralNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:92
MonitorElement * rctEmBx_
Definition: L1TRCT.h:77
MonitorElement * rctNotCentralRegionsEtEtaPhi_
Definition: L1TRCT.h:87
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
MonitorElement * rctNotCentralNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:91
MonitorElement * rctRegionRank_
Definition: L1TRCT.h:68
MonitorElement * rctMipEtaPhi_
Definition: L1TRCT.h:71
const float PHIMIN
Definition: L1TRCT.cc:20
const float R10MAX
Definition: L1TRCT.cc:29
MonitorElement * rctRegionBx_
Definition: L1TRCT.h:76
MonitorElement * rctNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:83
MonitorElement * rctNotCentralIsoEmOccEtaPhi_
Definition: L1TRCT.h:90
MonitorElement * rctIsoEmRank_
Definition: L1TRCT.h:84
void L1TRCT::dqmBeginRun ( const edm::Run r,
const edm::EventSetup c 
)
overrideprotected

Definition at line 72 of file L1TRCT.cc.

72  {
73  //runId_->Fill(r.id().run());
74  //
75 }

Member Data Documentation

int L1TRCT::filterTriggerType_
private

filter TriggerType

Definition at line 136 of file L1TRCT.h.

Referenced by analyze().

std::string L1TRCT::histFolder_
private

Definition at line 124 of file L1TRCT.h.

Referenced by bookHistograms().

MonitorElement* L1TRCT::layer2EmBx_
private

Definition at line 108 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2HfPlusTauEtaPhi_
private

Definition at line 104 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2IsoEmEtEtaPhi_
private

Definition at line 111 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2IsoEmOccEtaPhi_
private

Definition at line 112 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2IsoEmRank_
private

Definition at line 115 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2MipEtaPhi_
private

Definition at line 102 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2NonIsoEmEtEtaPhi_
private

Definition at line 113 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2NonIsoEmOccEtaPhi_
private

Definition at line 114 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2NonIsoEmRank_
private

Definition at line 116 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2OverFlowEtaPhi_
private

Definition at line 100 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2QuietEtaPhi_
private

Definition at line 103 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2RegionBx_
private

Definition at line 107 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2RegionRank_
private

Definition at line 99 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2RegionsEtEtaPhi_
private

Definition at line 97 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2RegionsOccEtaPhi_
private

Definition at line 98 of file L1TRCT.h.

MonitorElement* L1TRCT::layer2TauVetoEtaPhi_
private

Definition at line 101 of file L1TRCT.h.

std::ofstream L1TRCT::logFile_
private

Definition at line 128 of file L1TRCT.h.

MonitorElement* L1TRCT::lumisecId_
private

Definition at line 120 of file L1TRCT.h.

Referenced by bookHistograms().

bool L1TRCT::monitorDaemon_
private

Definition at line 127 of file L1TRCT.h.

int L1TRCT::nev_
private

Definition at line 123 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

std::string L1TRCT::outputFile_
private

Definition at line 125 of file L1TRCT.h.

Referenced by L1TRCT().

MonitorElement* L1TRCT::rctEmBx_
private

Definition at line 77 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctHfPlusTauEtaPhi_
private

Definition at line 73 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctIsoEmEtEtaPhi_
private

Definition at line 80 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctIsoEmOccEtaPhi_
private

Definition at line 81 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctIsoEmRank_
private

Definition at line 84 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctMipEtaPhi_
private

Definition at line 71 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNonIsoEmEtEtaPhi_
private

Definition at line 82 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNonIsoEmOccEtaPhi_
private

Definition at line 83 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNonIsoEmRank_
private

Definition at line 85 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNotCentralIsoEmEtEtaPhi_
private

Definition at line 89 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNotCentralIsoEmOccEtaPhi_
private

Definition at line 90 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNotCentralNonIsoEmEtEtaPhi_
private

Definition at line 91 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNotCentralNonIsoEmOccEtaPhi_
private

Definition at line 92 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNotCentralRegionsEtEtaPhi_
private

Definition at line 87 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctNotCentralRegionsOccEtaPhi_
private

Definition at line 88 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctOverFlowEtaPhi_
private

Definition at line 69 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctQuietEtaPhi_
private

Definition at line 72 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctRegionBx_
private

Definition at line 76 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctRegionRank_
private

Definition at line 68 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctRegionsEtEtaPhi_
private

Definition at line 66 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::rctRegionsOccEtaPhi_
private

Definition at line 67 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

edm::EDGetTokenT<L1CaloEmCollection> L1TRCT::rctSource_GCT_L1CEMCollection_
private

Definition at line 133 of file L1TRCT.h.

edm::EDGetTokenT<L1CaloRegionCollection> L1TRCT::rctSource_GCT_L1CRCollection_
private

Definition at line 132 of file L1TRCT.h.

edm::EDGetTokenT<L1CaloEmCollection> L1TRCT::rctSource_L1CEMCollection_
private

Definition at line 131 of file L1TRCT.h.

Referenced by analyze().

edm::EDGetTokenT<L1CaloRegionCollection> L1TRCT::rctSource_L1CRCollection_
private

Definition at line 130 of file L1TRCT.h.

Referenced by analyze().

MonitorElement* L1TRCT::rctTauVetoEtaPhi_
private

Definition at line 70 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TRCT::runId_
private

Definition at line 119 of file L1TRCT.h.

Referenced by bookHistograms().

int L1TRCT::selectBX_
private

Definition at line 137 of file L1TRCT.h.

Referenced by analyze().

MonitorElement* L1TRCT::triggerType_
private

Definition at line 62 of file L1TRCT.h.

Referenced by analyze(), and bookHistograms().

bool L1TRCT::verbose_
private

Definition at line 126 of file L1TRCT.h.

Referenced by analyze(), and L1TRCT().