CMS 3D CMS Logo

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

#include <L1TdeRCT.h>

Inheritance diagram for L1TdeRCT:
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

 L1TdeRCT (const edm::ParameterSet &ps)
 
 ~L1TdeRCT () 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 () 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
 
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, const edm::Run &, const edm::EventSetup &) override
 
void DivideME1D (MonitorElement *numerator, MonitorElement *denominator, MonitorElement *result)
 
void DivideME2D (MonitorElement *numerator, MonitorElement *denominator, MonitorElement *result)
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 
void readFEDVector (MonitorElement *, const edm::EventSetup &)
 
- 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

std::string dataInputTagName_
 
int doubleThreshold_
 
edm::EDGetTokenT< EcalTrigPrimDigiCollectionecalTPGData_
 
MonitorElementfedVectorMonitorLS_
 
MonitorElementfedVectorMonitorRUN_
 
int filterTriggerType_
 filter TriggerType More...
 
edm::EDGetTokenT< L1CaloEmCollectiongctSourceData_emData_
 
edm::EDGetTokenT< L1CaloRegionCollectiongctSourceData_rgnData_
 
edm::EDGetTokenT< L1GlobalTriggerReadoutRecordgtDigisLabel_
 
std::string gtEGAlgoName_
 
edm::EDGetTokenT< HcalTrigPrimDigiCollectionhcalTPGData_
 
std::string histFolder_
 
std::ofstream logFile_
 
bool monitorDaemon_
 
int nev_
 
int notrigCount
 
std::string outputFile_
 
MonitorElementrctBitDataHfPlusTau2D_
 
MonitorElementrctBitDataMip2D_
 
MonitorElementrctBitDataOverFlow2D_
 
MonitorElementrctBitDataQuiet2D_
 
MonitorElementrctBitDataTauVeto2D_
 
MonitorElementrctBitEmulHfPlusTau2D_
 
MonitorElementrctBitEmulMip2D_
 
MonitorElementrctBitEmulOverFlow2D_
 
MonitorElementrctBitEmulQuiet2D_
 
MonitorElementrctBitEmulTauVeto2D_
 
MonitorElementrctBitHfPlusTauEff2D_
 
MonitorElementrctBitHfPlusTauIneff2D_
 
MonitorElementrctBitHfPlusTauOvereff2D_
 
MonitorElementrctBitMatchedHfPlusTau2D_
 
MonitorElementrctBitMatchedMip2D_
 
MonitorElementrctBitMatchedOverFlow2D_
 
MonitorElementrctBitMatchedQuiet2D_
 
MonitorElementrctBitMatchedTauVeto2D_
 
MonitorElementrctBitMipEff2D_
 
MonitorElementrctBitMipIneff2D_
 
MonitorElementrctBitMipOvereff2D_
 
MonitorElementrctBitOverFlowEff2D_
 
MonitorElementrctBitOverFlowIneff2D_
 
MonitorElementrctBitOverFlowOvereff2D_
 
MonitorElementrctBitTauVetoEff2D_
 
MonitorElementrctBitTauVetoIneff2D_
 
MonitorElementrctBitTauVetoOvereff2D_
 
MonitorElementrctBitUnmatchedDataHfPlusTau2D_
 
MonitorElementrctBitUnmatchedDataMip2D_
 
MonitorElementrctBitUnmatchedDataOverFlow2D_
 
MonitorElementrctBitUnmatchedDataQuiet2D_
 
MonitorElementrctBitUnmatchedDataTauVeto2D_
 
MonitorElementrctBitUnmatchedEmulHfPlusTau2D_
 
MonitorElementrctBitUnmatchedEmulMip2D_
 
MonitorElementrctBitUnmatchedEmulOverFlow2D_
 
MonitorElementrctBitUnmatchedEmulQuiet2D_
 
MonitorElementrctBitUnmatchedEmulTauVeto2D_
 
MonitorElementrctInputTPGEcalOcc_
 
MonitorElementrctInputTPGEcalOccNoCut_
 
MonitorElementrctInputTPGEcalRank_
 
MonitorElementrctInputTPGHcalOcc_
 
MonitorElementrctInputTPGHcalRank_
 
MonitorElementrctInputTPGHcalSample_
 
MonitorElementrctIsoEffChannel_ [396]
 
MonitorElementrctIsoEmBitDiff_
 
MonitorElementrctIsoEmBitOff_
 
MonitorElementrctIsoEmBitOn_
 
MonitorElementrctIsoEmDataOcc1D_
 
MonitorElementrctIsoEmDataOcc_
 
MonitorElementrctIsoEmEff1_
 
MonitorElementrctIsoEmEff1Occ1D_
 
MonitorElementrctIsoEmEff1Occ_
 
MonitorElementrctIsoEmEff1oneD_
 
MonitorElementrctIsoEmEff2_
 
MonitorElementrctIsoEmEff2Occ1D_
 
MonitorElementrctIsoEmEff2Occ_
 
MonitorElementrctIsoEmEff2oneD_
 
MonitorElementrctIsoEmEmulOcc1D_
 
MonitorElementrctIsoEmEmulOcc_
 
MonitorElementrctIsoEmIneff1D_
 
MonitorElementrctIsoEmIneff2_
 
MonitorElementrctIsoEmIneff2Occ1D_
 
MonitorElementrctIsoEmIneff2Occ_
 
MonitorElementrctIsoEmIneff2oneD_
 
MonitorElementrctIsoEmIneff_
 
MonitorElementrctIsoEmIneffOcc1D_
 
MonitorElementrctIsoEmIneffOcc_
 
MonitorElementrctIsoEmOvereff1D_
 
MonitorElementrctIsoEmOvereff_
 
MonitorElementrctIsoEmOvereffOcc1D_
 
MonitorElementrctIsoEmOvereffOcc_
 
MonitorElementrctIsoIneffChannel_ [396]
 
MonitorElementrctIsoOvereffChannel_ [396]
 
MonitorElementrctNisoEffChannel_ [396]
 
MonitorElementrctNIsoEmBitDiff_
 
MonitorElementrctNIsoEmBitOff_
 
MonitorElementrctNIsoEmBitOn_
 
MonitorElementrctNisoEmDataOcc1D_
 
MonitorElementrctNisoEmDataOcc_
 
MonitorElementrctNisoEmEff1_
 
MonitorElementrctNisoEmEff1Occ1D_
 
MonitorElementrctNisoEmEff1Occ_
 
MonitorElementrctNisoEmEff1oneD_
 
MonitorElementrctNisoEmEff2_
 
MonitorElementrctNisoEmEff2Occ1D_
 
MonitorElementrctNisoEmEff2Occ_
 
MonitorElementrctNisoEmEff2oneD_
 
MonitorElementrctNisoEmEmulOcc1D_
 
MonitorElementrctNisoEmEmulOcc_
 
MonitorElementrctNisoEmIneff1D_
 
MonitorElementrctNisoEmIneff2_
 
MonitorElementrctNisoEmIneff2Occ1D_
 
MonitorElementrctNisoEmIneff2Occ_
 
MonitorElementrctNisoEmIneff2oneD_
 
MonitorElementrctNisoEmIneff_
 
MonitorElementrctNisoEmIneffOcc1D_
 
MonitorElementrctNisoEmIneffOcc_
 
MonitorElementrctNisoEmOvereff1D_
 
MonitorElementrctNisoEmOvereff_
 
MonitorElementrctNisoEmOvereffOcc1D_
 
MonitorElementrctNisoEmOvereffOcc_
 
MonitorElementrctNisoIneffChannel_ [396]
 
MonitorElementrctNisoOvereffChannel_ [396]
 
MonitorElementrctRegBitDiff_
 
MonitorElementrctRegBitOff_
 
MonitorElementrctRegBitOn_
 
MonitorElementrctRegDataOcc1D_
 
MonitorElementrctRegDataOcc2D_
 
MonitorElementrctRegEff1D_
 
MonitorElementrctRegEff2D_
 
MonitorElementrctRegEffChannel_ [396]
 
MonitorElementrctRegEmulOcc1D_
 
MonitorElementrctRegEmulOcc2D_
 
MonitorElementrctRegIneff1D_
 
MonitorElementrctRegIneff2D_
 
MonitorElementrctRegIneffChannel_ [396]
 
MonitorElementrctRegMatchedOcc1D_
 
MonitorElementrctRegMatchedOcc2D_
 
MonitorElementrctRegOvereff1D_
 
MonitorElementrctRegOvereff2D_
 
MonitorElementrctRegOvereffChannel_ [396]
 
MonitorElementrctRegSpEff1D_
 
MonitorElementrctRegSpEff2D_
 
MonitorElementrctRegSpEffOcc1D_
 
MonitorElementrctRegSpEffOcc2D_
 
MonitorElementrctRegSpIneff1D_
 
MonitorElementrctRegSpIneff2D_
 
MonitorElementrctRegSpIneffOcc1D_
 
MonitorElementrctRegSpIneffOcc2D_
 
MonitorElementrctRegUnmatchedDataOcc1D_
 
MonitorElementrctRegUnmatchedDataOcc2D_
 
MonitorElementrctRegUnmatchedEmulOcc1D_
 
MonitorElementrctRegUnmatchedEmulOcc2D_
 
edm::EDGetTokenT< L1CaloEmCollectionrctSourceData_emData_
 
edm::EDGetTokenT< L1CaloRegionCollectionrctSourceData_rgnData_
 
edm::EDGetTokenT< L1CaloEmCollectionrctSourceEmul_emEmul_
 
edm::EDGetTokenT< L1CaloRegionCollectionrctSourceEmul_rgnEmul_
 
int selectBX_
 
bool singlechannelhistos_
 
int trigCount
 
MonitorElementtrigEff_ [396]
 
MonitorElementtrigEffOcc_ [396]
 
MonitorElementtrigEffThresh_
 
MonitorElementtrigEffThreshOcc_
 
MonitorElementtrigEffTriggOcc_ [396]
 
MonitorElementtrigEffTriggThreshOcc_
 
MonitorElementtriggerAlgoNumbers_
 
MonitorElementtriggerType_
 
bool verbose_
 

Static Private Attributes

static const int crateFED [108]
 

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
 
- 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 DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 50 of file L1TdeRCT.h.

Constructor & Destructor Documentation

L1TdeRCT::L1TdeRCT ( const edm::ParameterSet ps)

Definition at line 99 of file L1TdeRCT.cc.

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

99  :
100  rctSourceEmul_rgnEmul_( consumes<L1CaloRegionCollection>(ps.getParameter< InputTag >("rctSourceEmul") )),
101  rctSourceEmul_emEmul_( consumes<L1CaloEmCollection>(ps.getParameter< InputTag >("rctSourceEmul") )),
102  rctSourceData_rgnData_( consumes<L1CaloRegionCollection>(ps.getParameter< InputTag >("rctSourceData") )),
103  rctSourceData_emData_( consumes<L1CaloEmCollection>(ps.getParameter< InputTag >("rctSourceData") )),
104  ecalTPGData_( consumes<EcalTrigPrimDigiCollection>(ps.getParameter< InputTag >("ecalTPGData") )),
105  hcalTPGData_( consumes<HcalTrigPrimDigiCollection>(ps.getParameter< InputTag >("hcalTPGData") )),
106  gtDigisLabel_( consumes<L1GlobalTriggerReadoutRecord>(ps.getParameter< InputTag >("gtDigisLabel") )),
107  gtEGAlgoName_ ( ps.getParameter< std::string >("gtEGAlgoName") ),
108  doubleThreshold_ ( ps.getParameter< int >("doubleThreshold") ),
109  filterTriggerType_ (ps.getParameter< int >("filterTriggerType") ),
110  selectBX_ (ps.getUntrackedParameter< int >("selectBX",2)),
111  dataInputTagName_(ps.getParameter<InputTag>("rctSourceData").label())
112 {
113 
114  singlechannelhistos_ = ps.getUntrackedParameter < bool > ("singlechannelhistos", false);
115 
117  if(verbose_) std::cout << "L1TdeRCT: single channels histos ON" << std::endl;
118 
119  // verbosity switch
120  verbose_ = ps.getUntrackedParameter < bool > ("verbose", false);
121 
122  if (verbose_)
123  std::cout << "L1TdeRCT: constructor...." << std::endl;
124 
125  outputFile_ =
126  ps.getUntrackedParameter < std::string > ("outputFile", "");
127  if (!outputFile_.empty()) {
128  if(verbose_) std::
129  cout << "L1T Monitoring histograms will be saved to " <<
130  outputFile_.c_str() << std::endl;
131  }
132 
133  bool disable =
134  ps.getUntrackedParameter < bool > ("disableROOToutput", false);
135  if (disable) {
136  outputFile_ = "";
137  }
138 
140  = ps.getUntrackedParameter<std::string>("HistFolder", "L1TEMU/L1TdeRCT");
141 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int selectBX_
Definition: L1TdeRCT.h:281
bool verbose_
Definition: L1TdeRCT.h:262
edm::EDGetTokenT< L1CaloEmCollection > rctSourceData_emData_
Definition: L1TdeRCT.h:270
std::string outputFile_
Definition: L1TdeRCT.h:260
int doubleThreshold_
Definition: L1TdeRCT.h:277
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtDigisLabel_
Definition: L1TdeRCT.h:275
std::string histFolder_
Definition: L1TdeRCT.h:261
bool singlechannelhistos_
Definition: L1TdeRCT.h:263
edm::EDGetTokenT< HcalTrigPrimDigiCollection > hcalTPGData_
Definition: L1TdeRCT.h:274
std::string gtEGAlgoName_
Definition: L1TdeRCT.h:276
edm::EDGetTokenT< EcalTrigPrimDigiCollection > ecalTPGData_
Definition: L1TdeRCT.h:273
std::string dataInputTagName_
Definition: L1TdeRCT.h:283
std::string const & label() const
Definition: InputTag.h:36
edm::EDGetTokenT< L1CaloRegionCollection > rctSourceEmul_rgnEmul_
Definition: L1TdeRCT.h:267
edm::EDGetTokenT< L1CaloRegionCollection > rctSourceData_rgnData_
Definition: L1TdeRCT.h:269
int filterTriggerType_
filter TriggerType
Definition: L1TdeRCT.h:280
edm::EDGetTokenT< L1CaloEmCollection > rctSourceEmul_emEmul_
Definition: L1TdeRCT.h:268
L1TdeRCT::~L1TdeRCT ( )
override

Definition at line 143 of file L1TdeRCT.cc.

144 {
145 }

Member Function Documentation

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

Definition at line 151 of file L1TdeRCT.cc.

References edm::SortedCollection< T, SORT >::begin(), gather_cfg::cout, L1GlobalTriggerReadoutRecord::decisionWord(), DivideME1D(), DivideME2D(), doubleThreshold_, ecalTPGData_, edm::SortedCollection< T, SORT >::end(), edm::EventBase::experimentType(), funct::false, MonitorElement::Fill(), HcalObjRepresent::Fill(), filterTriggerType_, runEdmFileComparison::found, edm::Event::getByToken(), gtDigisLabel_, gtEGAlgoName_, hcalTPGData_, gedPhotons_cfi::highEt, mps_fire::i, createfilelist::int, edm::EventBase::isRealData(), edm::HandleBase::isValid(), gen::k, gen::n, nev_, notrigCount, PHIBINS, PhiEtaMax, rctBitDataHfPlusTau2D_, rctBitDataMip2D_, rctBitDataOverFlow2D_, rctBitDataQuiet2D_, rctBitDataTauVeto2D_, rctBitEmulHfPlusTau2D_, rctBitEmulMip2D_, rctBitEmulOverFlow2D_, rctBitEmulQuiet2D_, rctBitEmulTauVeto2D_, rctBitHfPlusTauEff2D_, rctBitHfPlusTauIneff2D_, rctBitHfPlusTauOvereff2D_, rctBitMatchedHfPlusTau2D_, rctBitMatchedMip2D_, rctBitMatchedOverFlow2D_, rctBitMatchedQuiet2D_, rctBitMatchedTauVeto2D_, rctBitMipEff2D_, rctBitMipIneff2D_, rctBitMipOvereff2D_, rctBitOverFlowEff2D_, rctBitOverFlowIneff2D_, rctBitOverFlowOvereff2D_, rctBitTauVetoEff2D_, rctBitTauVetoIneff2D_, rctBitTauVetoOvereff2D_, rctBitUnmatchedDataHfPlusTau2D_, rctBitUnmatchedDataMip2D_, rctBitUnmatchedDataOverFlow2D_, rctBitUnmatchedDataQuiet2D_, rctBitUnmatchedDataTauVeto2D_, rctBitUnmatchedEmulHfPlusTau2D_, rctBitUnmatchedEmulMip2D_, rctBitUnmatchedEmulOverFlow2D_, rctBitUnmatchedEmulQuiet2D_, rctBitUnmatchedEmulTauVeto2D_, rctInputTPGEcalOcc_, rctInputTPGEcalOccNoCut_, rctInputTPGEcalRank_, rctInputTPGHcalOcc_, rctInputTPGHcalRank_, rctInputTPGHcalSample_, rctIsoEffChannel_, rctIsoEmBitDiff_, rctIsoEmBitOff_, rctIsoEmBitOn_, rctIsoEmDataOcc1D_, rctIsoEmDataOcc_, rctIsoEmEff1_, rctIsoEmEff1Occ1D_, rctIsoEmEff1Occ_, rctIsoEmEff1oneD_, rctIsoEmEff2_, rctIsoEmEff2Occ1D_, rctIsoEmEff2Occ_, rctIsoEmEff2oneD_, rctIsoEmEmulOcc1D_, rctIsoEmEmulOcc_, rctIsoEmIneff1D_, rctIsoEmIneff2_, rctIsoEmIneff2Occ1D_, rctIsoEmIneff2Occ_, rctIsoEmIneff2oneD_, rctIsoEmIneff_, rctIsoEmIneffOcc1D_, rctIsoEmIneffOcc_, rctIsoEmOvereff1D_, rctIsoEmOvereff_, rctIsoEmOvereffOcc1D_, rctIsoEmOvereffOcc_, rctIsoIneffChannel_, rctIsoOvereffChannel_, rctNisoEffChannel_, rctNIsoEmBitDiff_, rctNIsoEmBitOff_, rctNIsoEmBitOn_, rctNisoEmDataOcc1D_, rctNisoEmDataOcc_, rctNisoEmEff1_, rctNisoEmEff1Occ1D_, rctNisoEmEff1Occ_, rctNisoEmEff1oneD_, rctNisoEmEff2_, rctNisoEmEff2Occ1D_, rctNisoEmEff2Occ_, rctNisoEmEff2oneD_, rctNisoEmEmulOcc1D_, rctNisoEmEmulOcc_, rctNisoEmIneff1D_, rctNisoEmIneff2_, rctNisoEmIneff2Occ1D_, rctNisoEmIneff2Occ_, rctNisoEmIneff2oneD_, rctNisoEmIneff_, rctNisoEmIneffOcc1D_, rctNisoEmIneffOcc_, rctNisoEmOvereff1D_, rctNisoEmOvereff_, rctNisoEmOvereffOcc1D_, rctNisoEmOvereffOcc_, rctNisoIneffChannel_, rctNisoOvereffChannel_, rctRegBitDiff_, rctRegBitOff_, rctRegBitOn_, rctRegDataOcc1D_, rctRegDataOcc2D_, rctRegEff1D_, rctRegEff2D_, rctRegEffChannel_, rctRegEmulOcc1D_, rctRegEmulOcc2D_, rctRegIneff1D_, rctRegIneff2D_, rctRegIneffChannel_, rctRegMatchedOcc1D_, rctRegMatchedOcc2D_, rctRegOvereff1D_, rctRegOvereff2D_, rctRegOvereffChannel_, rctRegSpEff1D_, rctRegSpEff2D_, rctRegSpEffOcc1D_, rctRegSpEffOcc2D_, rctRegSpIneff1D_, rctRegSpIneff2D_, rctRegSpIneffOcc1D_, rctRegSpIneffOcc2D_, rctRegUnmatchedDataOcc1D_, rctRegUnmatchedDataOcc2D_, rctRegUnmatchedEmulOcc1D_, rctRegUnmatchedEmulOcc2D_, rctSourceData_emData_, rctSourceData_rgnData_, rctSourceEmul_emEmul_, rctSourceEmul_rgnEmul_, selectBX_, singlechannelhistos_, trigCount, trigEff_, trigEffOcc_, trigEffThresh_, trigEffThreshOcc_, trigEffTriggOcc_, trigEffTriggThreshOcc_, triggerAlgoNumbers_, triggerType_, and verbose_.

152 {
153  nev_++;
154  if (verbose_) {
155  std::cout << "L1TdeRCT: analyze...." << std::endl;
156  }
157 
158  // filter according trigger type
159  // enum ExperimentType {
160  // Undefined = 0,
161  // PhysicsTrigger = 1,
162  // CalibrationTrigger = 2,
163  // RandomTrigger = 3,
164  // Reserved = 4,
165  // TracedEvent = 5,
166  // TestTrigger = 6,
167  // ErrorTrigger = 15
168 
169  // fill a histogram with the trigger type, for normalization fill also last bin
170  // ErrorTrigger + 1
171  double triggerType = static_cast<double> (e.experimentType()) + 0.001;
172  double triggerTypeLast = static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
173  + 0.001;
174  triggerType_->Fill(triggerType);
175  triggerType_->Fill(triggerTypeLast + 1);
176 
177  // filter only if trigger type is greater than 0, negative values disable filtering
178  if (filterTriggerType_ >= 0) {
179 
180  // now filter, for real data only
181  if (e.isRealData()) {
182  if (!(e.experimentType() == filterTriggerType_)) {
183 
184  edm::LogInfo("L1TdeRCT") << "\n Event of TriggerType "
185  << e.experimentType() << " rejected" << std::endl;
186  return;
187 
188  }
189  }
190 
191  }
192 
193  // for GT decision word
195 
196  // get GT decision word
197  e.getByToken( gtDigisLabel_ , gtRecord );
198  const DecisionWord dWord = gtRecord->decisionWord(); // this will get the decision word *before* masking disabled bits
199  int effEGThresholdBitNumber = 999;
200  if (gtEGAlgoName_ == "L1_SingleEG1")
201  {
202  effEGThresholdBitNumber = 46;
203  }
204  if (gtEGAlgoName_ == "L1_SingleEG5_0001")
205  {
206  effEGThresholdBitNumber = 47;
207  }
208  if (gtEGAlgoName_ == "L1_SingleEG8_0001")
209  {
210  effEGThresholdBitNumber = 48;
211  }
212  if (gtEGAlgoName_ == "L1_SingleEG10_0001")
213  {
214  effEGThresholdBitNumber = 49;
215  }
216  if (gtEGAlgoName_ == "L1_SingleEG12_0001")
217  {
218  effEGThresholdBitNumber = 50;
219  }
220  if (gtEGAlgoName_ == "L1_SingleEG15_0001")
221  {
222  effEGThresholdBitNumber = 51;
223  }
224  if (gtEGAlgoName_ == "L1_SingleEG20_0001")
225  {
226  effEGThresholdBitNumber = 52;
227  }
228 
229  int algoBitNumber = 0;
230  bool triggered = false;
231  bool independent_triggered = false;
232  DecisionWord::const_iterator algoItr;
233  for (algoItr = dWord.begin(); algoItr != dWord.end(); algoItr++)
234  {
235  if (*algoItr)
236  {
237  triggerAlgoNumbers_->Fill(algoBitNumber);
238  if (algoBitNumber == effEGThresholdBitNumber)
239  {
240  triggered = true;// Fill triggered events (numerator) here!
241  }
242  if (algoBitNumber <= 45 || algoBitNumber >= 53)
243  {
244  independent_triggered = true;// use the muon path only !
245  }
246  }
247  algoBitNumber++;
248  }
249 
250 
251  if(triggered)
252  trigCount++;
253  else
254  notrigCount++;
255 
256  // get TPGs
259 
260  // Get the RCT digis
263 
264  // Get the RCT digis
267 
268  bool doEcal = true;
269  bool doHcal = true;
270 
271  // TPG, first try:
272  e.getByToken(ecalTPGData_,ecalTpData);
273  e.getByToken(hcalTPGData_,hcalTpData);
274 
275  if (!ecalTpData.isValid()) {
276  edm::LogInfo("TPG DataNotFound") << "can't find EcalTrigPrimDigiCollection";
277  if (verbose_)std::cout << "Can not find ecalTpData!" << std::endl ;
278 
279  doEcal = false ;
280  }
281 
282  if(doEcal)
283  {
284  for(EcalTrigPrimDigiCollection::const_iterator iEcalTp = ecalTpData->begin(); iEcalTp != ecalTpData->end(); iEcalTp++){
285  if(iEcalTp->compressedEt() > 0)
286  {
287 
288  rctInputTPGEcalRank_ -> Fill(1.*(iEcalTp->compressedEt())) ;
289 
290  if(iEcalTp->id().ieta() > 0)
291  {
292  rctInputTPGEcalOccNoCut_ -> Fill(1.*(iEcalTp->id().ieta())-0.5,iEcalTp->id().iphi()) ;
293  if(iEcalTp->compressedEt() > 3) rctInputTPGEcalOcc_ -> Fill(1.*(iEcalTp->id().ieta())-0.5,iEcalTp->id().iphi()) ;
294  }
295  else
296  {
297  rctInputTPGEcalOccNoCut_ -> Fill(1.*(iEcalTp->id().ieta())+0.5,iEcalTp->id().iphi()) ;
298  if(iEcalTp->compressedEt() > 3) rctInputTPGEcalOcc_ -> Fill(1.*(iEcalTp->id().ieta())+0.5,iEcalTp->id().iphi()) ;
299  }
300 
301 if(verbose_) std::cout << " ECAL data: Energy: " << iEcalTp->compressedEt() << " eta " << iEcalTp->id().ieta() << " phi " << iEcalTp->id().iphi() << std::endl ;
302  }
303  }
304  }
305 
306  if (!hcalTpData.isValid()) {
307  edm::LogInfo("TPG DataNotFound") << "can't find HcalTrigPrimDigiCollection";
308  if (verbose_)std::cout << "Can not find hcalTpData!" << std::endl ;
309 
310  doHcal = false ;
311  }
312 
313 
314  if(doHcal)
315  {
316 
317  for(HcalTrigPrimDigiCollection::const_iterator iHcalTp = hcalTpData->begin(); iHcalTp != hcalTpData->end(); iHcalTp++)
318  {
319  int highSample=0;
320  int highEt=0;
321 
322  for (int nSample = 0; nSample < 10; nSample++)
323  {
324  if (iHcalTp->sample(nSample).compressedEt() != 0)
325  {
326  if(verbose_) std::cout << "HCAL data: Et "
327  << iHcalTp->sample(nSample).compressedEt()
328  << " fg "
329  << iHcalTp->sample(nSample).fineGrain()
330  << " ieta " << iHcalTp->id().ieta()
331  << " iphi " << iHcalTp->id().iphi()
332  << " sample " << nSample
333  << std::endl ;
334  if (iHcalTp->sample(nSample).compressedEt() > highEt)
335  {
336  highSample = nSample;
337  highEt = iHcalTp->sample(nSample).compressedEt() ;
338  }
339  }
340 
341  }
342 
343  if(highEt != 0)
344  {
345  if(iHcalTp->id().ieta() > 0)
346  rctInputTPGHcalOcc_ -> Fill(1.*(iHcalTp->id().ieta())-0.5,iHcalTp->id().iphi()) ;
347  else
348  rctInputTPGHcalOcc_ -> Fill(1.*(iHcalTp->id().ieta())+0.5,iHcalTp->id().iphi()) ;
349  rctInputTPGHcalSample_ -> Fill(highSample,highEt) ;
350  rctInputTPGHcalRank_ -> Fill(highEt) ;
351  }
352 
353  }
354  }
355 
356 
359 
360  if (!rgnData.isValid()) {
361  edm::LogInfo("DataNotFound") << "can't find L1CaloRegionCollection";
362  if (verbose_)std::cout << "Can not find rgnData!" << std::endl ;
363  return;
364  }
365 
366  if (!rgnEmul.isValid()) {
367  edm::LogInfo("DataNotFound") << "can't find L1CaloRegionCollection";
368  if (verbose_)std::cout << "Can not find rgnEmul!" << std::endl ;
369  return;
370  }
371 
374 
375  if (!emData.isValid()) {
376  edm::LogInfo("DataNotFound") << "can't find L1CaloEmCollection";
377  if (verbose_)std::cout << "Can not find emData!" << std::endl ;
378  return;
379  }
380 
381  if (!emEmul.isValid()) {
382  edm::LogInfo("DataNotFound") << "can't find L1CaloEmCollection";
383  if (verbose_)std::cout << "Can not find emEmul!" << std::endl ;
384  return;
385  }
386 
387 
388  // Isolated and non-isolated EM
389 
390  // StepI: Reset
391 
392  int nelectrIsoData = 0;
393  int nelectrNisoData = 0;
394  int nelectrIsoEmul = 0;
395  int nelectrNisoEmul = 0;
396 
397  int electronDataRank[2][PhiEtaMax]={{0}};
398  int electronDataEta[2][PhiEtaMax]={{0}};
399  int electronDataPhi[2][PhiEtaMax]={{0}};
400  int electronEmulRank[2][PhiEtaMax]={{0}};
401  int electronEmulEta[2][PhiEtaMax]={{0}};
402  int electronEmulPhi[2][PhiEtaMax]={{0}};
403 
404  // region/bit arrays
405  int nRegionData = 0;
406  int nRegionEmul = 0;
407 
408  int regionDataRank[PhiEtaMax] = {0};
409  int regionDataEta [PhiEtaMax] = {0};
410  int regionDataPhi [PhiEtaMax] = {0};
411 
412  bool regionDataOverFlow [PhiEtaMax] = {false};
413  bool regionDataTauVeto [PhiEtaMax] = {false};
414  bool regionDataMip [PhiEtaMax] = {false};
415  bool regionDataQuiet [PhiEtaMax] = {false};
416  bool regionDataHfPlusTau[PhiEtaMax] = {false};
417 
418  int regionEmulRank[PhiEtaMax] = {0};
419  int regionEmulEta [PhiEtaMax] = {0};
420  int regionEmulPhi [PhiEtaMax] = {0};
421 
422  bool regionEmulOverFlow [PhiEtaMax] = {false};
423  bool regionEmulTauVeto [PhiEtaMax] = {false};
424  bool regionEmulMip [PhiEtaMax] = {false};
425  bool regionEmulQuiet [PhiEtaMax] = {false};
426  bool regionEmulHfPlusTau[PhiEtaMax] = {false};
427 
428  // StepII: fill variables
429 
430  for (L1CaloEmCollection::const_iterator iem = emEmul->begin();
431  iem != emEmul->end();
432  iem++)
433  {
434  if(iem->rank() >= 1)
435  {
436  if(iem->isolated())
437  {
438  rctIsoEmEmulOcc_->Fill(iem->regionId().ieta(), iem->regionId().iphi());
439 
440  // to show bad channles in the 2D efficiency plots
441  rctIsoEmIneffOcc_->Fill (iem->regionId().ieta(), iem->regionId().iphi(), 0.01);
442  rctIsoEmEff1Occ_->Fill (iem->regionId().ieta(), iem->regionId().iphi(), 0.01);
443 
444  int channel;
445 
446  channel=PHIBINS*iem->regionId().ieta()+iem->regionId().iphi();
447  rctIsoEmEmulOcc1D_->Fill(channel);
448  electronEmulRank[0][nelectrIsoEmul]=iem->rank() ;
449  electronEmulEta[0][nelectrIsoEmul]=iem->regionId().ieta();
450  electronEmulPhi[0][nelectrIsoEmul]=iem->regionId().iphi();
451  nelectrIsoEmul++ ;
452  }
453 
454  else
455  {
456  rctNisoEmEmulOcc_->Fill(iem->regionId().ieta(), iem->regionId().iphi());
457 
458  // to show bad channles in the 2D efficiency plots
459  rctNisoEmIneffOcc_->Fill (iem->regionId().ieta(), iem->regionId().iphi(), 0.01);
460  rctNisoEmEff1Occ_->Fill (iem->regionId().ieta(), iem->regionId().iphi(), 0.01);
461 
462  int channel;
463 //
464 
465  channel=PHIBINS*iem->regionId().ieta()+iem->regionId().iphi();
466  rctNisoEmEmulOcc1D_->Fill(channel);
467  electronEmulRank[1][nelectrNisoEmul]=iem->rank() ;
468  electronEmulEta[1][nelectrNisoEmul]=iem->regionId().ieta();
469  electronEmulPhi[1][nelectrNisoEmul]=iem->regionId().iphi();
470  nelectrNisoEmul++ ;
471  }
472  }
473  }
474 
475 
476  for (L1CaloEmCollection::const_iterator iem = emData->begin();
477  iem != emData->end();
478  iem++)
479  {
480 
481  if(selectBX_!=-1 && selectBX_!=iem->bx()) continue;
482 
483  if(iem->rank() >= 1)
484  {
485  if (iem->isolated())
486  {
487  rctIsoEmDataOcc_->Fill(iem->regionId().ieta(), iem->regionId().iphi());
488 
489  // new stuff to avoid 0's in emulator 2D //
490  // rctIsoEmEmulOcc_->Fill(iem->regionId().ieta(), iem->regionId().iphi(),0.01);
491  rctIsoEmOvereffOcc_->Fill (iem->regionId().ieta(),
492  iem->regionId().iphi(), 0.01);
493 
494  int channel;
495 
496  channel=PHIBINS*iem->regionId().ieta()+iem->regionId().iphi();
497  rctIsoEmDataOcc1D_->Fill(channel);
498 
499  // new stuff to avoid 0's
500  // rctIsoEmEmulOcc1D_->Fill(channel);
501 
502  electronDataRank[0][nelectrIsoData]=iem->rank() ;
503  electronDataEta[0][nelectrIsoData]=iem->regionId().ieta();
504  electronDataPhi[0][nelectrIsoData]=iem->regionId().iphi();
505  nelectrIsoData++ ;
506  }
507 
508  else
509  {
510  rctNisoEmDataOcc_->Fill(iem->regionId().ieta(), iem->regionId().iphi());
511 
512  // new stuff to avoid 0's in emulator 2D //
513  // rctNisoEmEmulOcc_->Fill(iem->regionId().ieta(), iem->regionId().iphi(),0.01);
514  rctNisoEmOvereffOcc_->Fill (iem->regionId().ieta(),
515  iem->regionId().iphi(), 0.01);
516 
517  int channel;
518 
519  channel=PHIBINS*iem->regionId().ieta()+iem->regionId().iphi();
520  rctNisoEmDataOcc1D_->Fill(channel);
521 
522  // new stuff to avoid 0's
523  // rctNisoEmEmulOcc1D_->Fill(channel);
524 
525  electronDataRank[1][nelectrNisoData]=iem->rank() ;
526  electronDataEta[1][nelectrNisoData]=iem->regionId().ieta();
527  electronDataPhi[1][nelectrNisoData]=iem->regionId().iphi();
528  nelectrNisoData++ ;
529  }
530  }
531  }
532 
533  // fill region/bit arrays for emulator
534  for(L1CaloRegionCollection::const_iterator ireg = rgnEmul->begin();
535  ireg != rgnEmul->end();
536  ireg++)
537  {
538 
539 // std::cout << "Emul: " << nRegionEmul << " " << ireg->gctEta() << " " << ireg->gctPhi() << std::endl;
540  if(ireg->overFlow()) rctBitEmulOverFlow2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
541  if(ireg->tauVeto()) rctBitEmulTauVeto2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
542  if(ireg->mip()) rctBitEmulMip2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
543  if(ireg->quiet()) rctBitEmulQuiet2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
544  if(ireg->fineGrain()) rctBitEmulHfPlusTau2D_->Fill(ireg->gctEta(), ireg->gctPhi());
545  if(ireg->et() > 0)
546  {
547  rctRegEmulOcc1D_->Fill(PHIBINS*ireg->gctEta() + ireg->gctPhi());
548  rctRegEmulOcc2D_->Fill(ireg->gctEta(), ireg->gctPhi());
549  }
550 
551  // to show bad channels in 2D efficiency plots:
552  if(ireg->overFlow()) {
553  rctBitUnmatchedEmulOverFlow2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
554  rctBitMatchedOverFlow2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
555  }
556 
557  if(ireg->tauVeto()) {
558  rctBitUnmatchedEmulTauVeto2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
559  rctBitMatchedTauVeto2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
560  }
561 
562  if(ireg->mip()) {
563  rctBitUnmatchedEmulMip2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
564  rctBitMatchedMip2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
565  }
566 
567  if(ireg->quiet()) {
568  rctBitUnmatchedEmulQuiet2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
569  rctBitMatchedQuiet2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
570  }
571 
572  if(ireg->fineGrain()) {
573  rctBitUnmatchedEmulHfPlusTau2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
574  rctBitMatchedHfPlusTau2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
575  }
576 
577  if(ireg->et() > 0) {
578  rctRegUnmatchedEmulOcc2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
579  rctRegMatchedOcc2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01);
580 /* rctRegDeltaEtOcc2D_->Fill (ireg->gctEta(), ireg->gctPhi(), 0.01); */
581  }
582 
583  nRegionEmul = PHIBINS * ireg->gctEta() + ireg->gctPhi();
584 
585  regionEmulRank [nRegionEmul] = ireg->et() ;
586  regionEmulEta [nRegionEmul] = ireg->gctEta();
587  regionEmulPhi [nRegionEmul] = ireg->gctPhi();
588  regionEmulOverFlow [nRegionEmul] = ireg->overFlow();
589  regionEmulTauVeto [nRegionEmul] = ireg->tauVeto();
590  regionEmulMip [nRegionEmul] = ireg->mip();
591  regionEmulQuiet [nRegionEmul] = ireg->quiet();
592  regionEmulHfPlusTau[nRegionEmul] = ireg->fineGrain();
593  }
594  // fill region/bit arrays for hardware
595  for(L1CaloRegionCollection::const_iterator ireg = rgnData->begin();
596  ireg != rgnData->end();
597  ireg++)
598  {
599 
600  if(selectBX_!=-1 && selectBX_!=ireg->bx()) continue;
601 
602 
603 // std::cout << "Data: " << nRegionData << " " << ireg->gctEta() << " " << ireg->gctPhi() << std::endl;
604  if(ireg->overFlow()) rctBitDataOverFlow2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
605  if(ireg->tauVeto()) rctBitDataTauVeto2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
606  if(ireg->mip()) rctBitDataMip2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
607  if(ireg->quiet()) rctBitDataQuiet2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
608  if(ireg->fineGrain()) rctBitDataHfPlusTau2D_->Fill(ireg->gctEta(), ireg->gctPhi());
609  if(ireg->et() > 0)
610  {
611  rctRegDataOcc1D_ ->Fill(PHIBINS*ireg->gctEta() + ireg->gctPhi());
612  rctRegDataOcc2D_ ->Fill(ireg->gctEta(), ireg->gctPhi());
613  }
614  // to show bad channels in 2D inefficiency:
615  // if(ireg->overFlow()) rctBitEmulOverFlow2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
616  // if(ireg->tauVeto()) rctBitEmulTauVeto2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
617  // if(ireg->mip()) rctBitEmulMip2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
618  // if(ireg->quiet()) rctBitEmulQuiet2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
619  // if(ireg->fineGrain()) rctBitEmulHfPlusTau2D_->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
620  // if(ireg->et() > 0) rctRegEmulOcc2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
621  if(ireg->overFlow()) rctBitUnmatchedDataOverFlow2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
622  if(ireg->tauVeto()) rctBitUnmatchedDataTauVeto2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
623  if(ireg->mip()) rctBitUnmatchedDataMip2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
624  if(ireg->quiet()) rctBitUnmatchedDataQuiet2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
625  if(ireg->fineGrain()) rctBitUnmatchedDataHfPlusTau2D_->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
626  if(ireg->et() > 0) rctRegUnmatchedDataOcc2D_ ->Fill(ireg->gctEta(), ireg->gctPhi(), 0.01);
627 
628  nRegionData = PHIBINS * ireg->gctEta() + ireg->gctPhi();
629 
630  regionDataRank [nRegionData] = ireg->et() ;
631  regionDataEta [nRegionData] = ireg->gctEta();
632  regionDataPhi [nRegionData] = ireg->gctPhi();
633  regionDataOverFlow [nRegionData] = ireg->overFlow();
634  regionDataTauVeto [nRegionData] = ireg->tauVeto();
635  regionDataMip [nRegionData] = ireg->mip();
636  regionDataQuiet [nRegionData] = ireg->quiet();
637  regionDataHfPlusTau[nRegionData] = ireg->fineGrain();
638  }
639 
640  if(verbose_)
641  {
642  std::cout << "I found Data! Iso: " << nelectrIsoData << " Niso: " << nelectrNisoData << std::endl ;
643  for(int i=0; i<nelectrIsoData; i++)
644  std::cout << " Iso Energy " << electronDataRank[0][i] << " eta " << electronDataEta[0][i] << " phi " << electronDataPhi[0][i] << std::endl ;
645  for(int i=0; i<nelectrNisoData; i++)
646  std::cout << " Niso Energy " << electronDataRank[1][i] << " eta " << electronDataEta[1][i] << " phi " << electronDataPhi[1][i] << std::endl ;
647 
648  std::cout << "I found Emul! Iso: " << nelectrIsoEmul << " Niso: " << nelectrNisoEmul << std::endl ;
649  for(int i=0; i<nelectrIsoEmul; i++)
650  std::cout << " Iso Energy " << electronEmulRank[0][i] << " eta " << electronEmulEta[0][i] << " phi " << electronEmulPhi[0][i] << std::endl ;
651  for(int i=0; i<nelectrNisoEmul; i++)
652  std::cout << " Niso Energy " << electronEmulRank[1][i] << " eta " << electronEmulEta[1][i] << " phi " << electronEmulPhi[1][i] << std::endl ;
653 
654  std::cout << "I found Data! Regions: " << PhiEtaMax << std::endl ;
655  for(int i=0; i<(int)PhiEtaMax; i++)
656  if(regionDataRank[i] !=0 ) std::cout << " Energy " << regionDataRank[i] << " eta " << regionDataEta[i] << " phi " << regionDataPhi[i] << std::endl ;
657 
658  std::cout << "I found Emul! Regions: " << PhiEtaMax << std::endl ;
659  for(int i=0; i<(int)PhiEtaMax; i++)
660  if(regionEmulRank[i] !=0 ) std::cout << " Energy " << regionEmulRank[i] << " eta " << regionEmulEta[i] << " phi " << regionEmulPhi[i] << std::endl ;
661  }
662 
663  // StepIII: calculate and fill
664 
665  for(int k=0; k<2; k++)
666  {
667  int nelectrE, nelectrD;
668 
669  if(k==0)
670  {
671  nelectrE=nelectrIsoEmul;
672  nelectrD=nelectrIsoData;
673  }
674 
675  else
676  {
677  nelectrE=nelectrNisoEmul;
678  nelectrD=nelectrNisoData;
679  }
680 
681  for(int i = 0; i < nelectrE; i++)
682  {
683  //bool triggered = l1SingleEG2; //false; //HACK until true trigger implimented
684  double trigThresh = doubleThreshold_; //ditto
686  int chnl=PHIBINS*electronEmulEta[k][i]+electronEmulPhi[k][i];
687  if(k==1 && independent_triggered) { //non-iso
688  //std::cout << "eta " << electronEmulEta[k][i] << " phi " << electronEmulPhi[k][i] << " with rank " << electronEmulRank[k][i] << std::endl;
689  trigEffOcc_[chnl]->Fill(electronEmulRank[k][i]);
690 // }
691  if(triggered)
692  trigEffTriggOcc_[chnl]->Fill(electronEmulRank[k][i]); }
693  }
694  //find number of objects with rank above 2x trigger threshold
695  //and number after requiring a trigger too
696  if(electronEmulRank[k][i]>=trigThresh){
697  if(k==1 && independent_triggered) { //non-iso
698  trigEffThreshOcc_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i]);
699  trigEffTriggThreshOcc_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.01);
700 // }
701  if(triggered)
702  trigEffTriggThreshOcc_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98001); }
703  }
704 
705 
706 
707  Bool_t found = kFALSE;
708 
709  for(int j = 0; j < nelectrD; j++)
710  {
711  if(electronEmulEta[k][i]==electronDataEta[k][j] &&
712  electronEmulPhi[k][i]==electronDataPhi[k][j])
713  {
714  if(k==0)
715  {
716  rctIsoEmEff1Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98001);
717  // Weight is for ROOT; when added to initial weight of 0.01, should just exceed 0.99
718 
719  int chnl;
720 
721  chnl=PHIBINS*electronEmulEta[k][i]+electronEmulPhi[k][i];
722  rctIsoEmEff1Occ1D_->Fill(chnl);
724  {
725  int energy_difference;
726 
727  energy_difference=(electronEmulRank[k][i] - electronDataRank[k][j]);
728  rctIsoEffChannel_[chnl]->Fill(energy_difference);
729  }
730 
731  if(electronEmulRank[k][i]==electronDataRank[k][j])
732  {
733  rctIsoEmEff2Occ1D_->Fill(chnl);
734  rctIsoEmEff2Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98012);
735  // Weight is for ROOT; should just exceed 0.99
736  // NOTE: Weight is different for eff 2 because this isn't filled initially
737  // for current definition of Eff2 and Ineff2 we need to add additional
738  // factor 0.99 since we divide over eff1 which is 0.99001 e.g. we use 0.99001**2 !
739  rctIsoEmIneff2Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.0099);
740  }
741  else
742  {
743  rctIsoEmIneff2Occ1D_->Fill(chnl);
744  rctIsoEmIneff2Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.9801);
745  //Check for the bit that is different and store it
746  bitset<8> bitDifference( electronEmulRank[k][i]^electronDataRank[k][j] );
747  for( size_t n=0; n < bitDifference.size(); n++){
748  if( n < 4 ){ rctIsoEmBitDiff_->Fill( electronEmulEta[k][i], electronEmulPhi[k][i]+n*0.25, bitDifference[n] ); }
749  if( n >= 4 ){ rctIsoEmBitDiff_->Fill( electronEmulEta[k][i]+0.5, electronEmulPhi[k][i]+(n-4)*0.25, bitDifference[n] ); }
750  }
751  }
752  }
753 
754  else
755  {
756  rctNisoEmEff1Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98001);
757  // Weight is for ROOT; when added to initial weight of 0.01, should just exceed 0.99
758 
759  int chnl;
760 
761  chnl=PHIBINS*electronEmulEta[k][i]+electronEmulPhi[k][i];
762  rctNisoEmEff1Occ1D_->Fill(chnl);
764  {
765  int energy_difference;
766 
767  energy_difference=(electronEmulRank[k][i] - electronDataRank[k][j]) ;
768  rctNisoEffChannel_[chnl]->Fill(energy_difference) ;
769  }
770 
771 
772  if(electronEmulRank[k][i]==electronDataRank[k][j])
773  {
774  rctNisoEmEff2Occ1D_->Fill(chnl);
775  rctNisoEmEff2Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98012);
776  // Weight is for ROOT; should just exceed 0.99
777  // NOTE: Weight is different for eff 2 because this isn't filled initially
778  // see comments fo Iso
779  rctNisoEmIneff2Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.0099);
780  }
781  else
782  {
784  rctNisoEmIneff2Occ_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.9801);
785  //Check for the bit that is different and store it
786  bitset<8> bitDifference( electronEmulRank[k][i]^electronDataRank[k][j] );
787  for( size_t n=0; n < bitDifference.size(); n++){
788  if( n < 4 ){ rctNIsoEmBitDiff_->Fill( electronEmulEta[k][i], electronEmulPhi[k][i]+n*0.25, bitDifference[n] ); }
789  if( n >= 4 ){ rctNIsoEmBitDiff_->Fill( electronEmulEta[k][i]+0.5, electronEmulPhi[k][i]+(n-4)*0.25, bitDifference[n] ); }
790  }
791  }
792  }
793 
794  found = kTRUE;
795  }
796  }
797 
798  if(found == kFALSE)
799  {
800  if(k==0)
801  {
802  rctIsoEmIneffOcc_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98);
803  // Weight is for ROOT; when added to initial weight of 0.01, should equal 0.99
804 
805  int chnl;
806 
807  //Store the bit map for the emulator
808  bitset<8> bit( electronEmulRank[k][i] );
809  for( size_t n=0; n < bit.size(); n++){
810  if( n < 4 ){ rctIsoEmBitOff_->Fill( electronEmulEta[k][i], electronEmulPhi[k][i]+n*0.25, bit[n] ); }
811  if( n >= 4 ){ rctIsoEmBitOff_->Fill( electronEmulEta[k][i]+0.5, electronEmulPhi[k][i]+(n-4)*0.25, bit[n] ); }
812  }
813 
814  chnl=PHIBINS*electronEmulEta[k][i]+electronEmulPhi[k][i];
815  rctIsoEmIneffOcc1D_->Fill(chnl);
817  {
818  rctIsoIneffChannel_[chnl]->Fill(electronEmulRank[k][i]);
819  }
820  }
821 
822  else
823  {
824  rctNisoEmIneffOcc_->Fill(electronEmulEta[k][i], electronEmulPhi[k][i], 0.98);
825  // Weight is for ROOT; when added to initial weight of 0.01, should equal 0.99
826 
827  int chnl;
828 
829  chnl=PHIBINS*electronEmulEta[k][i]+electronEmulPhi[k][i];
830  rctNisoEmIneffOcc1D_->Fill(chnl);
831 
832  //Store the bit map for the emulator
833  bitset<8> bit( electronEmulRank[k][i] );
834  for( size_t n=0; n < bit.size(); n++){
835  if( n < 4 ){ rctNIsoEmBitOff_->Fill( electronEmulEta[k][i], electronEmulPhi[k][i]+n*0.25, bit[n] ); }
836  if( n >= 4 ){ rctNIsoEmBitOff_->Fill( electronEmulEta[k][i]+0.5, electronEmulPhi[k][i]+(n-4)*0.25, bit[n] ); }
837  }
838 
840  {
841  rctNisoIneffChannel_[chnl]->Fill(electronEmulRank[k][i]);
842  }
843  }
844  }
845 
846  }
847 
850 // DivideME1D(rctIsoEmEff2Occ1D_, rctIsoEmEmulOcc1D_, rctIsoEmEff2oneD_);
851 // DivideME2D(rctIsoEmEff2Occ_, rctIsoEmEmulOcc_, rctIsoEmEff2_) ;
854 // DivideME1D(rctIsoEmIneff2Occ1D_, rctIsoEmEmulOcc1D_, rctIsoEmIneff2oneD_);
855 // DivideME2D(rctIsoEmIneff2Occ_, rctIsoEmEmulOcc_, rctIsoEmIneff2_) ;
858 
861 // DivideME1D(rctNisoEmEff2Occ1D_, rctNisoEmEmulOcc1D_, rctNisoEmEff2oneD_);
862 // DivideME2D(rctNisoEmEff2Occ_, rctNisoEmEmulOcc_, rctNisoEmEff2_);
865 // DivideME1D(rctNisoEmIneff2Occ1D_, rctNisoEmEmulOcc1D_, rctNisoEmIneff2oneD_);
866 // DivideME2D(rctNisoEmIneff2Occ_, rctNisoEmEmulOcc_, rctNisoEmIneff2_);
869 
874 
877  for(int i = 0; i < nelectrE; i++)
878  {
879  int chnl=PHIBINS*electronEmulEta[k][i]+electronEmulPhi[k][i];
880  DivideME1D(trigEffTriggOcc_[chnl], trigEffOcc_[chnl], trigEff_[chnl]);
881  }
882  }
883 
884  for(int i = 0; i < nelectrD; i++)
885  {
886  Bool_t found = kFALSE;
887 
888  for(int j = 0; j < nelectrE; j++)
889  {
890  if(electronEmulEta[k][j]==electronDataEta[k][i] &&
891  electronEmulPhi[k][j]==electronDataPhi[k][i])
892  {
893  found = kTRUE;
894  }
895  }
896 
897  if(found == kFALSE)
898  {
899  if(k==0)
900  {
901  rctIsoEmOvereffOcc_->Fill(electronDataEta[k][i], electronDataPhi[k][i], 0.98);
902  // Weight is for ROOT; when added to initial weight of 0.01, should equal 0.99
903 
904  int chnl;
905 
906  //Store the bit map for the emulator
907  bitset<8> bit( electronDataRank[k][i] );
908  for( size_t n=0; n < bit.size(); n++){
909  if( n < 4 ){ rctIsoEmBitOn_->Fill( electronDataEta[k][i], electronDataPhi[k][i]+n*0.25, bit[n] ); }
910  if( n >= 4 ){ rctIsoEmBitOn_->Fill( electronDataEta[k][i]+0.5, electronDataPhi[k][i]+(n-4)*0.25, bit[n] ); }
911  }
912 
913  chnl=PHIBINS*electronDataEta[k][i]+electronDataPhi[k][i];
915 
917  {
918  rctIsoOvereffChannel_[chnl]->Fill(electronDataRank[k][i]);
919  }
920  }
921 
922  else
923  {
924  rctNisoEmOvereffOcc_->Fill(electronDataEta[k][i], electronDataPhi[k][i], 0.98);
925  // Weight is for ROOT; when added to initial weight of 0.01, should equal 0.99
926 
927  int chnl;
928 
929  //Store the bit map for the emulator
930  bitset<8> bit( electronDataRank[k][i] );
931  for( size_t n=0; n < bit.size(); n++){
932  if( n < 4 ){ rctNIsoEmBitOn_->Fill( electronDataEta[k][i], electronDataPhi[k][i]+n*0.25, bit[n] ); }
933  if( n >= 4 ){ rctNIsoEmBitOn_->Fill( electronDataEta[k][i]+0.5, electronDataPhi[k][i]+(n-4)*0.25, bit[n] ); }
934  }
935 
936  chnl=PHIBINS*electronDataEta[k][i]+electronDataPhi[k][i];
938 
940  {
941  rctNisoOvereffChannel_[chnl]->Fill(electronDataRank[k][i]);
942  }
943  }
944  }
945  }
946 
947  }
948 
949  // we try new definition of overefficiency:
954 
955 
956  // calculate region/bit information
957  for(unsigned int i = 0; i < (int)PhiEtaMax; i++)
958  {
959  Bool_t regFound = kFALSE;
960  Bool_t overFlowFound = kFALSE;
961  Bool_t tauVetoFound = kFALSE;
962  Bool_t mipFound = kFALSE;
963  Bool_t quietFound = kFALSE;
964  Bool_t hfPlusTauFound = kFALSE;
965 
966 // for(int j = 0; j < nRegionData; j++)
967 // {
968 // if(regionEmulEta[i] == regionDataEta[j] &&
969 // regionEmulPhi[i] == regionDataPhi[j])
970 // {
971  if(regionDataRank[i] >= 1 && regionEmulRank[i] >= 1)
972  {
973  int chnl;
974 
975  chnl = PHIBINS*regionEmulEta[i] + regionEmulPhi[i];
976  rctRegMatchedOcc1D_->Fill(chnl);
977  rctRegMatchedOcc2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.98001);
978  // Weight is for ROOT; when added to initial weight of 0.01, should just exceed 0.99
979 
980  if(singlechannelhistos_) rctRegEffChannel_[chnl]->Fill(regionEmulRank[i] - regionDataRank[i]);
981 
982  // see comments for Iso Eff2
983 
984  if(regionEmulRank[i] == regionDataRank[i])
985  {
986  rctRegSpEffOcc1D_->Fill(chnl);
987 // rctRegSpEffOcc2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.99001);
988  rctRegSpEffOcc2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.98012);
989  rctRegSpIneffOcc2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.0099);
990  }
991  else
992  {
993  rctRegSpIneffOcc1D_->Fill(chnl);
994  rctRegSpIneffOcc2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.9801);
995 
996  bitset<10> bitDifference( regionEmulRank[i]^regionDataRank[i] );
997  for( size_t n=0; n < bitDifference.size(); n++){
998  if( n < 5 ){ rctRegBitDiff_->Fill( regionEmulEta[i], regionEmulPhi[i]+n*0.2, bitDifference[n] ); }
999  if( n >= 5 ){ rctRegBitDiff_->Fill( regionEmulEta[i]+0.5, regionEmulPhi[i]+(n-5)*0.2, bitDifference[n] ); }
1000  }
1001 
1002  }
1003  // Weight is for ROOT; should just exceed 0.99
1004  // NOTE: Weight is different for eff 2 because this isn't filled initially
1005 
1006  regFound = kTRUE;
1007  }
1008 
1009  if(regionEmulOverFlow[i] == true &&
1010  regionDataOverFlow[i] == true)
1011  {
1012  rctBitMatchedOverFlow2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.98001);
1013  overFlowFound = kTRUE;
1014  }
1015 
1016  if(regionEmulTauVeto[i] == true &&
1017  regionDataTauVeto[i] == true)
1018  {
1019  rctBitMatchedTauVeto2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.98001);
1020  tauVetoFound = kTRUE;
1021  }
1022 
1023  if (regionEmulMip[i] == true && regionDataMip[i] == true) {
1024  rctBitMatchedMip2D_->Fill (regionEmulEta[i], regionEmulPhi[i], 0.98001);
1025  mipFound = kTRUE;
1026  }
1027 
1028  if (regionEmulQuiet[i] == true && regionDataQuiet[i] == true) {
1029  rctBitMatchedQuiet2D_->Fill (regionEmulEta[i], regionEmulPhi[i], 0.98001);
1030  quietFound = kTRUE;
1031  }
1032 
1033  if (regionEmulHfPlusTau[i] == true && regionDataHfPlusTau[i] == true) {
1034  rctBitMatchedHfPlusTau2D_->Fill (regionEmulEta[i], regionEmulPhi[i], 0.98001);
1035  hfPlusTauFound = kTRUE;
1036  }
1037 
1038 
1039 // }
1040 // }
1041 
1042 
1043 
1044  if(regFound == kFALSE && regionEmulRank[i] >= 1 )
1045  {
1046  int chnl;
1047 
1048  bitset<10> bit( regionEmulRank[i] );
1049  for( size_t n=0; n < bit.size(); n++){
1050  if( n < 5 ){ rctRegBitOff_->Fill( regionEmulEta[i], regionEmulPhi[i]+n*0.2, bit[n] ); }
1051  if( n >= 5 ){ rctRegBitOff_->Fill( regionEmulEta[i]+0.5, regionEmulPhi[i]+(n-5)*0.2, bit[n] ); }
1052  }
1053 
1054  chnl = PHIBINS*regionEmulEta[i] + regionEmulPhi[i];
1056  rctRegUnmatchedEmulOcc2D_->Fill(regionEmulEta[i], regionEmulPhi[i],0.98);
1057  // Weight is for ROOT; when added to initial weight of 0.01, should equal 0.99
1058 
1059  if(singlechannelhistos_) rctRegIneffChannel_[chnl]->Fill(regionEmulRank[i]);
1060  }
1061 
1062  if(overFlowFound == kFALSE && regionEmulOverFlow[i] == true)
1063  {
1064  rctBitUnmatchedEmulOverFlow2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.98);
1065  }
1066 
1067  if(tauVetoFound == kFALSE && regionEmulTauVeto[i] == true)
1068  {
1069  rctBitUnmatchedEmulTauVeto2D_->Fill(regionEmulEta[i], regionEmulPhi[i], 0.98);
1070  }
1071 
1072  if (mipFound == kFALSE && regionEmulMip[i] == true) {
1073  rctBitUnmatchedEmulMip2D_->Fill (regionEmulEta[i], regionEmulPhi[i], 0.98);
1074  }
1075 
1076  if (quietFound == kFALSE && regionEmulQuiet[i] == true) {
1077  rctBitUnmatchedEmulQuiet2D_->Fill (regionEmulEta[i], regionEmulPhi[i], 0.98);
1078  }
1079 
1080  if (hfPlusTauFound == kFALSE && regionEmulHfPlusTau[i] == true ) {
1081  rctBitUnmatchedEmulHfPlusTau2D_->Fill (regionEmulEta[i], regionEmulPhi[i], 0.98);
1082  }
1083 
1084 
1085 }
1086 
1087 
1090 // DivideME1D(rctRegSpEffOcc1D_, rctRegEmulOcc1D_, rctRegSpEff1D_);
1091 // DivideME2D(rctRegSpEffOcc2D_, rctRegEmulOcc2D_, rctRegSpEff2D_);
1094 // DivideME1D(rctRegSpIneffOcc1D_, rctRegEmulOcc1D_, rctRegSpIneff1D_);
1095 // DivideME2D(rctRegSpIneffOcc2D_, rctRegEmulOcc2D_, rctRegSpIneff2D_);
1101  // QUIETBIT: To add quiet bit information, uncomment following line:
1102  // DivideME2D (rctBitMatchedQuiet2D_, rctBitEmulQuiet2D_, rctBitQuietEff2D_);
1104 
1110  // QUIETBIT: To add quiet bit information, uncomment the following line:
1111  // DivideME2D (rctBitUnmatchedEmulQuiet2D_, rctBitEmulQuiet2D_, rctBitQuietIneff2D_);
1113 
1114 
1115  // for(int i = 0; i < nRegionData; i++)
1116  for (int i = 0; i < (int)PhiEtaMax; i++)
1117 {
1118  Bool_t regFound = kFALSE;
1119  Bool_t overFlowFound = kFALSE;
1120  Bool_t tauVetoFound = kFALSE;
1121  Bool_t mipFound = kFALSE;
1122  Bool_t quietFound = kFALSE;
1123  Bool_t hfPlusTauFound = kFALSE;
1124 
1125 // for(int j = 0; j < nRegionEmul; j++)
1126 // {
1127 // if(regionEmulEta[j] == regionDataEta[i] &&
1128 // regionEmulPhi[j] == regionDataPhi[i])
1129 // {
1130 
1131  if(regionEmulRank[i] >= 1 && regionDataRank[i] >= 1)
1132  regFound = kTRUE;
1133 
1134  if(regionDataOverFlow[i] == true &&
1135  regionEmulOverFlow[i] == true)
1136  overFlowFound = kTRUE;
1137 
1138  if(regionDataTauVeto[i] == true &&
1139  regionEmulTauVeto[i] == true)
1140  tauVetoFound = kTRUE;
1141 
1142  if (regionDataMip[i] == true && regionEmulMip[i] == true)
1143  mipFound = kTRUE;
1144 
1145  if (regionDataQuiet[i] == true && regionEmulQuiet[i] == true)
1146  quietFound = kTRUE;
1147 
1148  if (regionDataHfPlusTau[i] == true && regionEmulHfPlusTau[i] == true)
1149  hfPlusTauFound = kTRUE;
1150 // }
1151 // }
1152 
1153  if(regFound == kFALSE && regionDataRank[i] >= 1)
1154  {
1155  int chnl;
1156 
1157  bitset<10> bit( regionDataRank[i] );
1158  for( size_t n=0; n < bit.size(); n++){
1159  if( n < 5 ){ rctRegBitOn_->Fill( regionDataEta[i], regionDataPhi[i]+n*0.2, bit[n] ); }
1160  if( n >= 5 ){ rctRegBitOn_->Fill( regionDataEta[i]+0.5, regionDataPhi[i]+(n-5)*0.2, bit[n] ); }
1161  }
1162 
1163 
1164  chnl = PHIBINS*regionDataEta[i] + regionDataPhi[i];
1166  rctRegUnmatchedDataOcc2D_->Fill(regionDataEta[i], regionDataPhi[i], 0.98);
1167  // Weight is for ROOT; when added to initial weight of 0.01, should equal 0.99
1168 
1169  // we try a new definition of overefficiency:
1170  // DivideME1D(rctRegUnmatchedDataOcc1D_, rctRegDataOcc1D_, rctRegOvereff1D_);
1171  // DivideME2D(rctRegUnmatchedDataOcc2D_, rctRegDataOcc2D_, rctRegOvereff2D_);
1172 
1173  if(singlechannelhistos_) rctRegOvereffChannel_[chnl]->Fill(regionDataRank[i]);
1174  }
1175 
1176  if(overFlowFound == kFALSE && regionDataOverFlow[i] == true )
1177  {
1178  rctBitUnmatchedDataOverFlow2D_->Fill(regionDataEta[i], regionDataPhi[i], 0.98);
1179  }
1180 
1181  if(tauVetoFound == kFALSE && regionDataTauVeto[i] == true )
1182  {
1183  rctBitUnmatchedDataTauVeto2D_->Fill(regionDataEta[i], regionDataPhi[i], 0.98);
1184  }
1185 
1186  if (mipFound == kFALSE && regionDataMip[i] == true ) {
1187  rctBitUnmatchedDataMip2D_->Fill (regionDataEta[i], regionDataPhi[i], 0.98);
1188  }
1189 
1190  if (quietFound == kFALSE && regionDataQuiet[i] == true ) {
1191  rctBitUnmatchedDataQuiet2D_->Fill (regionDataEta[i], regionDataPhi[i], 0.98);
1192  }
1193 
1194  if (hfPlusTauFound == kFALSE && regionDataHfPlusTau[i] == true ) {
1195  rctBitUnmatchedDataHfPlusTau2D_->Fill (regionDataEta[i], regionDataPhi[i], 0.98);
1196  }
1197 
1198 }
1199 
1200  // we try a new definition of overefficiency:
1207  // QUIETBIT: To add quiet bit information, uncomment following 2 lines:
1208  // DivideME2D (rctBitUnmatchedDataQuiet2D_, rctBitDataQuiet2D_,
1209  // rctBitQuietOvereff2D_);
1212 
1213 }
MonitorElement * rctBitUnmatchedDataTauVeto2D_
Definition: L1TdeRCT.h:128
void DivideME2D(MonitorElement *numerator, MonitorElement *denominator, MonitorElement *result)
Definition: L1TdeRCT.cc:1215
MonitorElement * rctRegUnmatchedDataOcc1D_
Definition: L1TdeRCT.h:83
MonitorElement * rctIsoEmBitDiff_
Definition: L1TdeRCT.h:195
MonitorElement * rctRegMatchedOcc1D_
Definition: L1TdeRCT.h:82
MonitorElement * rctNisoEmEmulOcc1D_
Definition: L1TdeRCT.h:211
MonitorElement * rctNisoEmIneff2oneD_
Definition: L1TdeRCT.h:219
MonitorElement * rctNisoEmIneff1D_
Definition: L1TdeRCT.h:220
MonitorElement * rctNisoEmEff2Occ1D_
Definition: L1TdeRCT.h:213
MonitorElement * rctInputTPGHcalOcc_
Definition: L1TdeRCT.h:163
MonitorElement * rctNisoEmEff2oneD_
Definition: L1TdeRCT.h:218
MonitorElement * rctNisoEmIneff2Occ1D_
Definition: L1TdeRCT.h:214
int selectBX_
Definition: L1TdeRCT.h:281
MonitorElement * rctBitMatchedTauVeto2D_
Definition: L1TdeRCT.h:126
MonitorElement * rctBitDataMip2D_
Definition: L1TdeRCT.h:133
MonitorElement * rctBitUnmatchedDataHfPlusTau2D_
Definition: L1TdeRCT.h:153
int nev_
Definition: L1TdeRCT.h:259
const unsigned int PHIBINS
Definition: L1TdeRCT.cc:30
MonitorElement * rctBitEmulTauVeto2D_
Definition: L1TdeRCT.h:124
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:579
MonitorElement * rctIsoEmIneff2Occ_
Definition: L1TdeRCT.h:171
MonitorElement * trigEffThresh_
Definition: L1TdeRCT.h:241
MonitorElement * rctBitHfPlusTauIneff2D_
Definition: L1TdeRCT.h:155
bool verbose_
Definition: L1TdeRCT.h:262
MonitorElement * rctIsoEmIneff2Occ1D_
Definition: L1TdeRCT.h:184
MonitorElement * rctIsoEmEmulOcc1D_
Definition: L1TdeRCT.h:181
MonitorElement * rctBitUnmatchedEmulTauVeto2D_
Definition: L1TdeRCT.h:127
edm::EDGetTokenT< L1CaloEmCollection > rctSourceData_emData_
Definition: L1TdeRCT.h:270
MonitorElement * rctBitUnmatchedEmulQuiet2D_
Definition: L1TdeRCT.h:143
MonitorElement * trigEffThreshOcc_
Definition: L1TdeRCT.h:242
MonitorElement * rctNisoEffChannel_[396]
Definition: L1TdeRCT.h:231
MonitorElement * rctRegOvereff1D_
Definition: L1TdeRCT.h:90
std::vector< EcalTriggerPrimitiveDigi >::const_iterator const_iterator
int doubleThreshold_
Definition: L1TdeRCT.h:277
MonitorElement * rctIsoEmEff2_
Definition: L1TdeRCT.h:175
MonitorElement * rctNisoEmOvereffOcc1D_
Definition: L1TdeRCT.h:216
MonitorElement * trigEffOcc_[396]
Definition: L1TdeRCT.h:245
MonitorElement * rctRegOvereff2D_
Definition: L1TdeRCT.h:105
MonitorElement * rctIsoEmOvereffOcc1D_
Definition: L1TdeRCT.h:186
MonitorElement * triggerType_
Definition: L1TdeRCT.h:77
MonitorElement * rctBitTauVetoEff2D_
Definition: L1TdeRCT.h:129
MonitorElement * rctBitMatchedQuiet2D_
Definition: L1TdeRCT.h:142
MonitorElement * rctBitTauVetoOvereff2D_
Definition: L1TdeRCT.h:131
MonitorElement * rctRegDataOcc1D_
Definition: L1TdeRCT.h:80
MonitorElement * rctIsoEmIneffOcc_
Definition: L1TdeRCT.h:172
MonitorElement * rctBitDataQuiet2D_
Definition: L1TdeRCT.h:141
MonitorElement * rctBitMatchedHfPlusTau2D_
Definition: L1TdeRCT.h:151
MonitorElement * rctIsoEmEff2Occ_
Definition: L1TdeRCT.h:170
MonitorElement * rctRegEmulOcc2D_
Definition: L1TdeRCT.h:95
MonitorElement * rctRegUnmatchedEmulOcc2D_
Definition: L1TdeRCT.h:98
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtDigisLabel_
Definition: L1TdeRCT.h:275
MonitorElement * rctRegSpEff2D_
Definition: L1TdeRCT.h:106
bool isRealData() const
Definition: EventBase.h:64
MonitorElement * rctBitUnmatchedEmulOverFlow2D_
Definition: L1TdeRCT.h:119
MonitorElement * rctIsoEmBitOn_
Definition: L1TdeRCT.h:193
MonitorElement * rctRegIneff2D_
Definition: L1TdeRCT.h:104
MonitorElement * rctIsoEmEff2Occ1D_
Definition: L1TdeRCT.h:183
bool singlechannelhistos_
Definition: L1TdeRCT.h:263
MonitorElement * rctBitMipIneff2D_
Definition: L1TdeRCT.h:138
MonitorElement * rctBitOverFlowOvereff2D_
Definition: L1TdeRCT.h:123
void Fill(long long x)
MonitorElement * rctInputTPGHcalSample_
Definition: L1TdeRCT.h:165
MonitorElement * rctIsoEmOvereff_
Definition: L1TdeRCT.h:178
MonitorElement * rctBitDataOverFlow2D_
Definition: L1TdeRCT.h:117
MonitorElement * rctIsoEmDataOcc_
Definition: L1TdeRCT.h:167
MonitorElement * rctNisoEmEff1oneD_
Definition: L1TdeRCT.h:217
edm::EDGetTokenT< HcalTrigPrimDigiCollection > hcalTPGData_
Definition: L1TdeRCT.h:274
MonitorElement * rctNisoEmIneff2Occ_
Definition: L1TdeRCT.h:201
MonitorElement * rctNisoEmOvereffOcc_
Definition: L1TdeRCT.h:203
MonitorElement * rctRegBitOn_
Definition: L1TdeRCT.h:109
MonitorElement * rctRegBitDiff_
Definition: L1TdeRCT.h:111
MonitorElement * rctNisoEmDataOcc_
Definition: L1TdeRCT.h:197
MonitorElement * rctNisoEmIneff2_
Definition: L1TdeRCT.h:206
MonitorElement * rctBitDataHfPlusTau2D_
Definition: L1TdeRCT.h:150
std::string gtEGAlgoName_
Definition: L1TdeRCT.h:276
void DivideME1D(MonitorElement *numerator, MonitorElement *denominator, MonitorElement *result)
Definition: L1TdeRCT.cc:1225
MonitorElement * rctRegIneffChannel_[396]
Definition: L1TdeRCT.h:237
MonitorElement * rctInputTPGEcalOcc_
Definition: L1TdeRCT.h:160
MonitorElement * rctRegDataOcc2D_
Definition: L1TdeRCT.h:94
MonitorElement * rctInputTPGEcalRank_
Definition: L1TdeRCT.h:162
MonitorElement * rctIsoEmIneff1D_
Definition: L1TdeRCT.h:190
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
std::vector< bool > DecisionWord
typedefs
MonitorElement * rctBitMipOvereff2D_
Definition: L1TdeRCT.h:139
MonitorElement * trigEff_[396]
Definition: L1TdeRCT.h:244
MonitorElement * rctBitMatchedOverFlow2D_
Definition: L1TdeRCT.h:118
MonitorElement * rctBitEmulOverFlow2D_
Definition: L1TdeRCT.h:116
MonitorElement * rctRegEmulOcc1D_
Definition: L1TdeRCT.h:81
edm::EDGetTokenT< EcalTrigPrimDigiCollection > ecalTPGData_
Definition: L1TdeRCT.h:273
MonitorElement * rctIsoEmBitOff_
Definition: L1TdeRCT.h:194
MonitorElement * rctBitEmulMip2D_
Definition: L1TdeRCT.h:132
MonitorElement * rctIsoEmIneff2_
Definition: L1TdeRCT.h:176
MonitorElement * rctBitEmulQuiet2D_
Definition: L1TdeRCT.h:140
MonitorElement * rctNisoEmEmulOcc_
Definition: L1TdeRCT.h:198
MonitorElement * rctBitEmulHfPlusTau2D_
Definition: L1TdeRCT.h:149
MonitorElement * triggerAlgoNumbers_
Definition: L1TdeRCT.h:74
MonitorElement * rctNisoIneffChannel_[396]
Definition: L1TdeRCT.h:232
MonitorElement * rctRegSpIneff2D_
Definition: L1TdeRCT.h:107
bool isValid() const
Definition: HandleBase.h:74
MonitorElement * rctIsoEmEmulOcc_
Definition: L1TdeRCT.h:168
MonitorElement * rctIsoEmEff1Occ_
Definition: L1TdeRCT.h:169
MonitorElement * rctNisoEmOvereff1D_
Definition: L1TdeRCT.h:221
MonitorElement * rctNisoEmEff2Occ_
Definition: L1TdeRCT.h:200
MonitorElement * rctBitUnmatchedEmulHfPlusTau2D_
Definition: L1TdeRCT.h:152
const DecisionWord & decisionWord(int bxInEventValue) const
MonitorElement * rctRegEff1D_
Definition: L1TdeRCT.h:88
MonitorElement * rctBitMatchedMip2D_
Definition: L1TdeRCT.h:134
MonitorElement * rctNisoEmEff2_
Definition: L1TdeRCT.h:205
MonitorElement * rctRegSpEff1D_
Definition: L1TdeRCT.h:91
int k[5][pyjets_maxn]
const_iterator end() const
MonitorElement * rctIsoEmEff1Occ1D_
Definition: L1TdeRCT.h:182
MonitorElement * rctIsoEmEff1oneD_
Definition: L1TdeRCT.h:187
int notrigCount
Definition: L1TdeRCT.h:286
MonitorElement * rctNisoEmIneff_
Definition: L1TdeRCT.h:207
MonitorElement * rctRegSpEffOcc1D_
Definition: L1TdeRCT.h:85
MonitorElement * rctRegMatchedOcc2D_
Definition: L1TdeRCT.h:96
MonitorElement * rctNIsoEmBitDiff_
Definition: L1TdeRCT.h:225
MonitorElement * rctBitHfPlusTauOvereff2D_
Definition: L1TdeRCT.h:156
MonitorElement * rctNisoEmEff1Occ_
Definition: L1TdeRCT.h:199
MonitorElement * rctIsoEmOvereff1D_
Definition: L1TdeRCT.h:191
MonitorElement * rctIsoEmEff1_
Definition: L1TdeRCT.h:174
MonitorElement * rctBitTauVetoIneff2D_
Definition: L1TdeRCT.h:130
MonitorElement * rctInputTPGHcalRank_
Definition: L1TdeRCT.h:164
const unsigned int PhiEtaMax
Definition: L1TdeRCT.cc:70
MonitorElement * trigEffTriggThreshOcc_
Definition: L1TdeRCT.h:243
MonitorElement * rctIsoEmIneffOcc1D_
Definition: L1TdeRCT.h:185
MonitorElement * rctRegEffChannel_[396]
Definition: L1TdeRCT.h:236
MonitorElement * rctBitHfPlusTauEff2D_
Definition: L1TdeRCT.h:154
MonitorElement * rctNisoEmIneffOcc1D_
Definition: L1TdeRCT.h:215
MonitorElement * rctRegOvereffChannel_[396]
Definition: L1TdeRCT.h:238
MonitorElement * rctBitOverFlowIneff2D_
Definition: L1TdeRCT.h:122
MonitorElement * rctRegSpIneffOcc1D_
Definition: L1TdeRCT.h:86
MonitorElement * rctBitUnmatchedDataMip2D_
Definition: L1TdeRCT.h:136
MonitorElement * trigEffTriggOcc_[396]
Definition: L1TdeRCT.h:246
MonitorElement * rctBitMipEff2D_
Definition: L1TdeRCT.h:137
MonitorElement * rctIsoEmIneff2oneD_
Definition: L1TdeRCT.h:189
MonitorElement * rctRegUnmatchedDataOcc2D_
Definition: L1TdeRCT.h:97
MonitorElement * rctBitUnmatchedEmulMip2D_
Definition: L1TdeRCT.h:135
MonitorElement * rctBitOverFlowEff2D_
Definition: L1TdeRCT.h:121
MonitorElement * rctNIsoEmBitOff_
Definition: L1TdeRCT.h:224
edm::EDGetTokenT< L1CaloRegionCollection > rctSourceEmul_rgnEmul_
Definition: L1TdeRCT.h:267
MonitorElement * rctIsoIneffChannel_[396]
Definition: L1TdeRCT.h:228
MonitorElement * rctRegSpEffOcc2D_
Definition: L1TdeRCT.h:100
edm::EventAuxiliary::ExperimentType experimentType() const
Definition: EventBase.h:65
MonitorElement * rctIsoEmOvereffOcc_
Definition: L1TdeRCT.h:173
MonitorElement * rctNisoEmDataOcc1D_
Definition: L1TdeRCT.h:210
edm::EDGetTokenT< L1CaloRegionCollection > rctSourceData_rgnData_
Definition: L1TdeRCT.h:269
MonitorElement * rctNIsoEmBitOn_
Definition: L1TdeRCT.h:223
MonitorElement * rctRegIneff1D_
Definition: L1TdeRCT.h:89
MonitorElement * rctNisoEmEff1Occ1D_
Definition: L1TdeRCT.h:212
MonitorElement * rctIsoEmDataOcc1D_
Definition: L1TdeRCT.h:180
MonitorElement * rctBitDataTauVeto2D_
Definition: L1TdeRCT.h:125
MonitorElement * rctIsoEffChannel_[396]
Definition: L1TdeRCT.h:227
MonitorElement * rctNisoEmOvereff_
Definition: L1TdeRCT.h:208
MonitorElement * rctRegEff2D_
Definition: L1TdeRCT.h:103
int filterTriggerType_
filter TriggerType
Definition: L1TdeRCT.h:280
MonitorElement * rctInputTPGEcalOccNoCut_
Definition: L1TdeRCT.h:161
MonitorElement * rctNisoOvereffChannel_[396]
Definition: L1TdeRCT.h:233
MonitorElement * rctNisoEmIneffOcc_
Definition: L1TdeRCT.h:202
MonitorElement * rctIsoEmEff2oneD_
Definition: L1TdeRCT.h:188
edm::EDGetTokenT< L1CaloEmCollection > rctSourceEmul_emEmul_
Definition: L1TdeRCT.h:268
MonitorElement * rctBitUnmatchedDataQuiet2D_
Definition: L1TdeRCT.h:144
const_iterator begin() const
int trigCount
Definition: L1TdeRCT.h:286
MonitorElement * rctRegSpIneff1D_
Definition: L1TdeRCT.h:92
MonitorElement * rctRegSpIneffOcc2D_
Definition: L1TdeRCT.h:101
MonitorElement * rctRegBitOff_
Definition: L1TdeRCT.h:110
MonitorElement * rctIsoEmIneff_
Definition: L1TdeRCT.h:177
MonitorElement * rctRegUnmatchedEmulOcc1D_
Definition: L1TdeRCT.h:84
MonitorElement * rctBitUnmatchedDataOverFlow2D_
Definition: L1TdeRCT.h:120
MonitorElement * rctIsoOvereffChannel_[396]
Definition: L1TdeRCT.h:229
MonitorElement * rctNisoEmEff1_
Definition: L1TdeRCT.h:204
void L1TdeRCT::beginLuminosityBlock ( const edm::LuminosityBlock ls,
const edm::EventSetup es 
)
overrideprotected

Definition at line 1904 of file L1TdeRCT.cc.

References fedVectorMonitorLS_, and readFEDVector().

1905 {
1907 }
void readFEDVector(MonitorElement *, const edm::EventSetup &)
Definition: L1TdeRCT.cc:1909
MonitorElement * fedVectorMonitorLS_
Definition: L1TdeRCT.h:254
void L1TdeRCT::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run run,
const edm::EventSetup es 
)
overrideprotected

Definition at line 1236 of file L1TdeRCT.cc.

References BITETABINS, BITETAMAX, BITETAMIN, BITPHIBINS, BITPHIMAX, BITPHIMIN, BITRPHIBINS, BITRPHIMAX, BITRPHIMIN, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), CHNLBINS, CHNLMAX, CHNLMIN, crateFED, dataInputTagName_, DEBINS, DEMAX, DEMIN, ELBINS, ELMAX, ELMIN, ETABINS, ETAMAX, ETAMIN, fedVectorMonitorLS_, fedVectorMonitorRUN_, MonitorElement::getTH2F(), histFolder_, mps_fire::i, funct::m, dataset::name, nev_, notrigCount, PHIBINS, PHIMAX, PHIMIN, rctBitDataHfPlusTau2D_, rctBitDataMip2D_, rctBitDataOverFlow2D_, rctBitDataQuiet2D_, rctBitDataTauVeto2D_, rctBitEmulHfPlusTau2D_, rctBitEmulMip2D_, rctBitEmulOverFlow2D_, rctBitEmulQuiet2D_, rctBitEmulTauVeto2D_, rctBitHfPlusTauEff2D_, rctBitHfPlusTauIneff2D_, rctBitHfPlusTauOvereff2D_, rctBitMatchedHfPlusTau2D_, rctBitMatchedMip2D_, rctBitMatchedOverFlow2D_, rctBitMatchedQuiet2D_, rctBitMatchedTauVeto2D_, rctBitMipEff2D_, rctBitMipIneff2D_, rctBitMipOvereff2D_, rctBitOverFlowEff2D_, rctBitOverFlowIneff2D_, rctBitOverFlowOvereff2D_, rctBitTauVetoEff2D_, rctBitTauVetoIneff2D_, rctBitTauVetoOvereff2D_, rctBitUnmatchedDataHfPlusTau2D_, rctBitUnmatchedDataMip2D_, rctBitUnmatchedDataOverFlow2D_, rctBitUnmatchedDataQuiet2D_, rctBitUnmatchedDataTauVeto2D_, rctBitUnmatchedEmulHfPlusTau2D_, rctBitUnmatchedEmulMip2D_, rctBitUnmatchedEmulOverFlow2D_, rctBitUnmatchedEmulQuiet2D_, rctBitUnmatchedEmulTauVeto2D_, rctInputTPGEcalOcc_, rctInputTPGEcalOccNoCut_, rctInputTPGEcalRank_, rctInputTPGHcalOcc_, rctInputTPGHcalRank_, rctInputTPGHcalSample_, rctIsoEffChannel_, rctIsoEmBitDiff_, rctIsoEmBitOff_, rctIsoEmBitOn_, rctIsoEmDataOcc1D_, rctIsoEmDataOcc_, rctIsoEmEff1_, rctIsoEmEff1Occ1D_, rctIsoEmEff1Occ_, rctIsoEmEff1oneD_, rctIsoEmEff2_, rctIsoEmEff2Occ1D_, rctIsoEmEff2Occ_, rctIsoEmEff2oneD_, rctIsoEmEmulOcc1D_, rctIsoEmEmulOcc_, rctIsoEmIneff1D_, rctIsoEmIneff2_, rctIsoEmIneff2Occ1D_, rctIsoEmIneff2Occ_, rctIsoEmIneff2oneD_, rctIsoEmIneff_, rctIsoEmIneffOcc1D_, rctIsoEmIneffOcc_, rctIsoEmOvereff1D_, rctIsoEmOvereff_, rctIsoEmOvereffOcc1D_, rctIsoEmOvereffOcc_, rctIsoIneffChannel_, rctIsoOvereffChannel_, rctNisoEffChannel_, rctNIsoEmBitDiff_, rctNIsoEmBitOff_, rctNIsoEmBitOn_, rctNisoEmDataOcc1D_, rctNisoEmDataOcc_, rctNisoEmEff1_, rctNisoEmEff1Occ1D_, rctNisoEmEff1Occ_, rctNisoEmEff1oneD_, rctNisoEmEff2_, rctNisoEmEff2Occ1D_, rctNisoEmEff2Occ_, rctNisoEmEff2oneD_, rctNisoEmEmulOcc1D_, rctNisoEmEmulOcc_, rctNisoEmIneff1D_, rctNisoEmIneff2_, rctNisoEmIneff2Occ1D_, rctNisoEmIneff2Occ_, rctNisoEmIneff2oneD_, rctNisoEmIneff_, rctNisoEmIneffOcc1D_, rctNisoEmIneffOcc_, rctNisoEmOvereff1D_, rctNisoEmOvereff_, rctNisoEmOvereffOcc1D_, rctNisoEmOvereffOcc_, rctNisoIneffChannel_, rctNisoOvereffChannel_, rctRegBitDiff_, rctRegBitOff_, rctRegBitOn_, rctRegDataOcc1D_, rctRegDataOcc2D_, rctRegEff1D_, rctRegEff2D_, rctRegEffChannel_, rctRegEmulOcc1D_, rctRegEmulOcc2D_, rctRegIneff1D_, rctRegIneff2D_, rctRegIneffChannel_, rctRegMatchedOcc1D_, rctRegMatchedOcc2D_, rctRegOvereff1D_, rctRegOvereff2D_, rctRegOvereffChannel_, rctRegSpEff1D_, rctRegSpEff2D_, rctRegSpEffOcc1D_, rctRegSpEffOcc2D_, rctRegSpIneff1D_, rctRegSpIneff2D_, rctRegSpIneffOcc1D_, rctRegSpIneffOcc2D_, rctRegUnmatchedDataOcc1D_, rctRegUnmatchedDataOcc2D_, rctRegUnmatchedEmulOcc1D_, rctRegUnmatchedEmulOcc2D_, readFEDVector(), DQMStore::IBooker::setCurrentFolder(), singlechannelhistos_, TPGETABINS, TPGETAMAX, TPGETAMIN, TPGPHIBINS, TPGPHIMAX, TPGPHIMIN, TPGRANK, TPGRANKMAX, TPGRANKMIN, trigCount, trigEff_, trigEffOcc_, trigEffThresh_, trigEffThreshOcc_, trigEffTriggOcc_, trigEffTriggThreshOcc_, triggerAlgoNumbers_, and triggerType_.

1237 {
1238  // get hold of back-end interface
1239  nev_ = 0;
1240  //DQMStore *dbe = 0;
1241  //dbe = Service < DQMStore > ().operator->();
1242 
1243  //if (dbe) {
1244  // dbe->setCurrentFolder(histFolder_);
1245  // dbe->rmdir(histFolder_);
1246  //}
1247 
1248 
1249  //if (dbe) {
1250 
1251  ibooker.setCurrentFolder(histFolder_);
1252 
1253  triggerType_ =
1254  ibooker.book1D("TriggerType", "TriggerType", 17, -0.5, 16.5);
1255 
1257  ibooker.book1D("gtTriggerAlgoNumbers", "gtTriggerAlgoNumbers", 128, -0.5, 127.5);
1258 
1260  ibooker.book2D("rctInputTPGEcalOcc", "rctInputTPGEcalOcc", TPGETABINS, TPGETAMIN,
1262 
1264  ibooker.book2D("rctInputTPGEcalOccNoCut", "rctInputTPGEcalOccNoCut", TPGETABINS, TPGETAMIN,
1266 
1268  ibooker.book1D("rctInputTPGEcalRank", "rctInputTPGEcalRank", TPGRANK, TPGRANKMIN, TPGRANKMAX) ;
1269 
1271  ibooker.book2D("rctInputTPGHcalOcc", "rctInputTPGHcalOcc", TPGETABINS, TPGETAMIN,
1273 
1275  ibooker.book1D("rctInputTPGHcalSample", "rctInputTPGHcalSample", 10, -0.5, 9.5) ;
1276 
1278  ibooker.book1D("rctInputTPGHcalRank", "rctInputTPGHcalRank", TPGRANK, TPGRANKMIN, TPGRANKMAX) ;
1279 
1280  ibooker.setCurrentFolder(histFolder_+"/EffCurves/NisoEm/");
1281 
1282  trigEffThresh_ =
1283  ibooker.book2D("trigEffThresh", "Rank occupancy >= 2x trig thresh (source: "+dataInputTagName_+")",
1285 
1286  ibooker.setCurrentFolder(histFolder_+"/EffCurves/NisoEm/ServiceData");
1287 
1289  ibooker.book2D("trigEffThreshOcc", "Rank occupancy >= 2x trig thresh (source: "+dataInputTagName_+")",
1292  ibooker.book2D("trigEffTriggThreshOcc", "Rank occupancy >= 2x trig thresh, triggered (source: "+dataInputTagName_+")",
1294 
1295  ibooker.setCurrentFolder(histFolder_+"/IsoEm");
1296 
1297  rctIsoEmEff1_ =
1298  ibooker.book2D("rctIsoEmEff1", "rctIsoEmEff1 (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1300 
1302  ibooker.book1D("rctIsoEmEff1oneD", "rctIsoEmEff1oneD",
1304 
1305  rctIsoEmEff2_ =
1306  ibooker.book2D("rctIsoEmEff2", "rctIsoEmEff2, energy matching required (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1308 
1310  ibooker.book1D("rctIsoEmEff2oneD", "rctIsoEmEff2oneD, energy matching required",
1312 
1313  rctIsoEmIneff2_ =
1314  ibooker.book2D("rctIsoEmIneff2", "rctIsoEmIneff2, energy matching required (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1316 
1318  ibooker.book1D("rctIsoEmIneff2oneD", "rctIsoEmIneff2oneD, energy matching required",
1320 
1321 
1322  rctIsoEmIneff_ =
1323  ibooker.book2D("rctIsoEmIneff", "rctIsoEmIneff (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1325 
1327  ibooker.book1D("rctIsoEmIneff1D", "rctIsoEmIneff1D",
1329 
1331  ibooker.book2D("rctIsoEmOvereff", "rctIsoEmOvereff (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1333 
1335  ibooker.book1D("rctIsoEmOvereff1D", "rctIsoEmOvereff1D",
1337 
1338  ibooker.setCurrentFolder(histFolder_+"/IsoEm/ServiceData");
1339 
1341  ibooker.book2D("rctIsoEmDataOcc", "rctIsoEmDataOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1343 
1345  ibooker.book1D("rctIsoEmDataOcc1D", "rctIsoEmDataOcc1D",
1347 
1349  ibooker.book2D("rctIsoEmEmulOcc", "rctIsoEmEmulOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1351 
1353  ibooker.book1D("rctIsoEmEmulOcc1D", "rctIsoEmEmulOcc1D",
1355 
1357  ibooker.book2D("rctIsoEmEff1Occ", "rctIsoEmEff1Occ (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1359 
1361  ibooker.book1D("rctIsoEmEff1Occ1D", "rctIsoEmEff1Occ1D",
1363 
1365  ibooker.book2D("rctIsoEmEff2Occ", "rctIsoEmEff2Occ (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1367 
1369  ibooker.book1D("rctIsoEmEff2Occ1D", "rctIsoEmEff2Occ1D",
1371 
1373  ibooker.book2D("rctIsoEmIneff2Occ", "rctIsoEmIneff2Occ (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1375 
1377  ibooker.book1D("rctIsoEmIneff2Occ1D", "rctIsoEmIneff2Occ1D",
1379 
1381  ibooker.book2D("rctIsoEmIneffOcc", "rctIsoEmIneffOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1383 
1385  ibooker.book1D("rctIsoEmIneffOcc1D", "rctIsoEmIneffOcc1D",
1387 
1389  ibooker.book2D("rctIsoEmOvereffOcc", "rctIsoEmOvereffOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1391 
1393  ibooker.book1D("rctIsoEmOvereffOcc1D", "rctIsoEmOvereffOcc1D",
1395 
1396 
1397  ibooker.setCurrentFolder(histFolder_+"/NisoEm");
1398  rctNisoEmEff1_ =
1399  ibooker.book2D("rctNisoEmEff1", "rctNisoEmEff1 (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1401 
1403  ibooker.book1D("rctNisoEmEff1oneD", "rctNisoEmEff1oneD",
1405 
1406  rctNisoEmEff2_ =
1407  ibooker.book2D("rctNisoEmEff2", "rctNisoEmEff2, energy matching required (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1409 
1411  ibooker.book1D("rctNisoEmEff2oneD", "rctNisoEmEff2oneD, energy matching required",
1413 
1415  ibooker.book2D("rctNisoEmIneff2", "rctNisoEmIneff2, energy matching required (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1417 
1419  ibooker.book1D("rctNisoEmIneff2oneD", "rctNisoEmIneff2oneD, energy matching required",
1421 
1422 
1423  rctNisoEmIneff_ =
1424  ibooker.book2D("rctNisoEmIneff", "rctNisoEmIneff (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1426 
1428  ibooker.book1D("rctNisoEmIneff1D", "rctNisoEmIneff1D",
1430 
1432  ibooker.book2D("rctNisoEmOvereff", "rctNisoEmOvereff (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1434 
1436  ibooker.book1D("rctNisoEmOvereff1D", "rctNisoEmOvereff1D",
1438 
1439  ibooker.setCurrentFolder(histFolder_+"/NisoEm/ServiceData");
1440 
1442  ibooker.book2D("rctNisoEmDataOcc", "rctNisoEmDataOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1444 
1446  ibooker.book1D("rctNisoEmDataOcc1D", "rctNisoEmDataOcc1D",
1448 
1450  ibooker.book2D("rctNisoEmEmulOcc", "rctNisoEmEmulOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1452 
1454  ibooker.book1D("rctNisoEmEmulOcc1D", "rctNisoEmEmulOcc1D",
1456 
1458  ibooker.book2D("rctNisoEmEff1Occ", "rctNisoEmEff1Occ (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1460 
1462  ibooker.book1D("rctNisoEmEff1Occ1D", "rctNisoEmEff1Occ1D",
1464 
1466  ibooker.book2D("rctNisoEmEff2Occ", "rctNisoEmEff2Occ (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1468 
1470  ibooker.book1D("rctNisoEmEff2Occ1D", "rctNisoEmEff2Occ1D",
1472 
1474  ibooker.book2D("rctNisoEmIneff2Occ", "rctNisoEmIneff2Occ (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1476 
1478  ibooker.book1D("rctNisoEmIneff2Occ1D", "rctNisoEmIneff2Occ1D",
1480 
1482  ibooker.book2D("rctNisoEmIneffOcc", "rctNisoEmIneffOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1484 
1486  ibooker.book1D("rctNisoEmIneffOcc1D", "rctNisoEmIneffOcc1D",
1488 
1490  ibooker.book2D("rctNisoEmOvereffOcc", "rctNisoEmOvereffOcc (source: "+dataInputTagName_+")", ETABINS, ETAMIN,
1492 
1494  ibooker.book1D("rctNisoEmOvereffOcc1D", "rctNisoEmOvereffOcc1D",
1496 
1497  // region information
1498  ibooker.setCurrentFolder(histFolder_+"/RegionData");
1499 
1500  rctRegEff1D_ =
1501  ibooker.book1D("rctRegEff1D", "1D region efficiency",
1503 
1504  rctRegIneff1D_ =
1505  ibooker.book1D("rctRegIneff1D", "1D region inefficiency",
1507 
1509  ibooker.book1D("rctRegOvereff1D", "1D region overefficiency",
1511 
1512  rctRegSpEff1D_ =
1513  ibooker.book1D("rctRegSpEff1D", "1D region efficiency, energy matching required",
1515 
1517  ibooker.book1D("rctRegSpIneff1D", "1D region inefficiency, energy matching required",
1519 
1520  rctRegEff2D_ =
1521  ibooker.book2D("rctRegEff2D", "2D region efficiency (source: "+dataInputTagName_+")",
1523 
1524  rctRegIneff2D_ =
1525  ibooker.book2D("rctRegIneff2D", "2D region inefficiency (source: "+dataInputTagName_+")",
1527 
1529  ibooker.book2D("rctRegOvereff2D", "2D region overefficiency (source: "+dataInputTagName_+")",
1531 
1532  rctRegSpEff2D_ =
1533  ibooker.book2D("rctRegSpEff2D", "2D region efficiency, energy matching required (source: "+dataInputTagName_+")",
1535 
1537  ibooker.book2D("rctRegSpIneff2D", "2D region inefficiency, energy matching required (source: "+dataInputTagName_+")",
1539 
1540  ibooker.setCurrentFolder(histFolder_+"/RegionData/ServiceData");
1541 
1543  ibooker.book1D("rctRegDataOcc1D", "1D region occupancy from data",
1545 
1547  ibooker.book1D("rctRegEmulOcc1D", "1D region occupancy from emulator",
1549 
1551  ibooker.book1D("rctRegMatchedOcc1D", "1D region occupancy for matched hits",
1553 
1555  ibooker.book1D("rctRegUnmatchedDataOcc1D", "1D region occupancy for unmatched hardware hits",
1557 
1559  ibooker.book1D("rctRegUnmatchedEmulOcc1D", "1D region occupancy for unmatched emulator hits",
1561 
1563  ibooker.book1D("rctRegSpEffOcc1D", "1D region occupancy for \\Delta E_{T} efficiency",
1565 
1567  ibooker.book1D("rctRegSpIneffOcc1D", "1D region occupancy for \\Delta E_{T} efficiency ",
1569 
1571  ibooker.book2D("rctRegDataOcc2D", "2D region occupancy from hardware (source: "+dataInputTagName_+")",
1573 
1575  ibooker.book2D("rctRegEmulOcc2D", "2D region occupancy from emulator",
1577 
1579  ibooker.book2D("rctRegMatchedOcc2D", "2D region occupancy for matched hits",
1581 
1583  ibooker.book2D("rctRegUnmatchedDataOcc2D", "2D region occupancy for unmatched hardware hits",
1585 
1587  ibooker.book2D("rctRegUnmatchedEmulOcc2D", "2D region occupancy for unmatched emulator hits",
1589 
1590 // rctRegDeltaEt2D_ =
1591 // dbe->book2D("rctRegDeltaEt2D", " \\Delta E_{T} for each channel",
1592 // CHNLBINS, CHNLMIN, CHNLMAX, 100, -50., 50.);
1593 
1595  ibooker.book2D("rctRegSpEffOcc2D", "2D region occupancy for \\Delta E_{T} efficiency",
1597 
1599  ibooker.book2D("rctRegSpIneffOcc2D", "2D region occupancy for \\Delta E_{T} inefficiency",
1601 
1602  // bit information
1603  ibooker.setCurrentFolder(histFolder_+"/BitData");
1604 
1606  ibooker.book2D("rctBitOverFlowEff2D", "2D overflow bit efficiency (source: "+dataInputTagName_+")",
1608 
1610  ibooker.book2D("rctBitOverFlowIneff2D", "2D overflow bit inefficiency (source: "+dataInputTagName_+")",
1612 
1614  ibooker.book2D("rctBitOverFlowOvereff2D", "2D overflow bit overefficiency (source: "+dataInputTagName_+")",
1616 
1618  ibooker.book2D("rctBitTauVetoEff2D", "2D tau veto bit efficiency (source: "+dataInputTagName_+")",
1620 
1622  ibooker.book2D("rctBitTauVetoIneff2D", "2D tau veto bit inefficiency (source: "+dataInputTagName_+")",
1624 
1626  ibooker.book2D("rctBitTauVetoOvereff2D", "2D tau veto bit overefficiency (source: "+dataInputTagName_+")",
1628 
1629  rctBitMipEff2D_ =
1630  ibooker.book2D("rctBitMipEff2D", "2D mip bit efficiency",
1632 
1634  ibooker.book2D("rctBitMipIneff2D", "2D mip bit inefficiency",
1636 
1638  ibooker.book2D("rctBitMipOvereff2D", "2D mip bit overefficiency",
1640 
1641  // QUIETBIT: To add quiet bit information, uncomment following 11 lines:
1642  // rctBitQuietEff2D_ =
1643  // dbe->book2D("rctBitQuietEff2D", "2D quiet bit efficiency",
1644  // ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
1645 
1646  // rctBitQuietIneff2D_ =
1647  // dbe->book2D("rctBitQuietIneff2D", "2D quiet bit inefficiency",
1648  // ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
1649 
1650  // rctBitQuietOvereff2D_ =
1651  // dbe->book2D("rctBitQuietOvereff2D", "2D quiet bit overefficiency",
1652  // ETABINS, ETAMIN, ETAMAX, PHIBINS, PHIMIN, PHIMAX);
1653 
1655  ibooker.book2D("rctBitHfPlusTauEff2D", "2D HfPlusTau bit efficiency (source: "+dataInputTagName_+")",
1657 
1659  ibooker.book2D("rctBitHfPlusTauIneff2D", "2D HfPlusTau bit inefficiency (source: "+dataInputTagName_+")",
1661 
1663  ibooker.book2D("rctBitHfPlusTauOvereff2D", "2D HfPlusTau bit overefficiency (source: "+dataInputTagName_+")",
1665 
1666  ibooker.setCurrentFolder(histFolder_+"/BitData/ServiceData");
1667 
1669  ibooker.book2D("rctBitEmulOverFlow2D", "2D overflow bit from emulator",
1671 
1673  ibooker.book2D("rctBitDataOverFlow2D", "2D overflow bit from hardware (source: "+dataInputTagName_+")",
1675 
1677  ibooker.book2D("rctBitMatchedOverFlow2D", "2D overflow bit for matched hits",
1679 
1681  ibooker.book2D("rctBitUnmatchedEmulOverFlow2D", "2D overflow bit for unmatched emulator hits",
1683 
1685  ibooker.book2D("rctBitUnmatchedDataOverFlow2D", "2D overflow bit for unmatched hardware hits",
1687 
1689  ibooker.book2D("rctBitEmulTauVeto2D", "2D tau veto bit from emulator",
1691 
1693  ibooker.book2D("rctBitDataTauVeto2D", "2D tau veto bit from hardware (source: "+dataInputTagName_+")",
1695 
1697  ibooker.book2D("rctBitMatchedTauVeto2D", "2D tau veto bit for matched hits",
1699 
1701  ibooker.book2D("rctBitUnmatchedEmulTauVeto2D", "2D tau veto bit for unmatched emulator hits",
1703 
1705  ibooker.book2D("rctBitUnmatchedDataTauVeto2D", "2D tau veto bit for unmatched hardware hits",
1707 
1709  ibooker.book2D("rctBitEmulMip2D", "2D mip bit from emulator",
1711 
1713  ibooker.book2D("rctBitDataMip2D", "2D mip bit from hardware",
1715 
1717  ibooker.book2D("rctBitMatchedMip2D", "2D mip bit for matched hits",
1719 
1721  ibooker.book2D("rctBitUnmatchedEmulMip2D", "2D mip bit for unmatched emulator hits",
1723 
1725  ibooker.book2D("rctBitUnmatchedDataMip2D", "2D mip bit for unmatched hardware hits",
1727 
1729  ibooker.book2D("rctBitEmulQuiet2D", "2D quiet bit from emulator",
1731 
1733  ibooker.book2D("rctBitDataQuiet2D", "2D quiet bit from hardware",
1735 
1737  ibooker.book2D("rctBitMatchedQuiet2D", "2D quiet bit for matched hits",
1739 
1741  ibooker.book2D("rctBitUnmatchedEmulQuiet2D", "2D quiet bit for unmatched emulator hits",
1743 
1745  ibooker.book2D("rctBitUnmatchedDataQuiet2D", "2D quiet bit for unmatched hardware hits",
1747 
1749  ibooker.book2D("rctBitEmulHfPlusTau2D", "2D HfPlusTau bit from emulator",
1751 
1753  ibooker.book2D("rctBitDataHfPlusTau2D", "2D HfPlusTau bit from hardware (source: "+dataInputTagName_+")",
1755 
1757  ibooker.book2D("rctBitMatchedHfPlusTau2D", "2D HfPlusTau bit for matched hits",
1759 
1761  ibooker.book2D("rctBitUnmatchedEmulHfPlusTau2D", "2D HfPlusTau bit for unmatched emulator hits",
1763 
1765  ibooker.book2D("rctBitUnmatchedDataHfPlusTau2D", "2D HfPlusTau bit for unmatched hardware hits",
1767 
1768  ibooker.setCurrentFolder(histFolder_+"/BitMon");
1769  rctRegBitOn_ =
1770  ibooker.book2D("rctRegBitOn", "Monitoring for Bits Stuck On",
1772 
1773  rctRegBitOff_ =
1774  ibooker.book2D("rctRegBitOff", "Monitoring for Bits Stuck Off",
1776 
1777  rctRegBitDiff_ =
1778  ibooker.book2D("rctRegBitDiff", "Monitoring for Bits Difference",
1780 
1781  rctIsoEmBitOn_ =
1782  ibooker.book2D("rctIsoEmBitOn", "Monitoring for Bits Stuck On",
1784 
1785  rctIsoEmBitOff_ =
1786  ibooker.book2D("rctIsoEmBitOff", "Monitoring for Bits Stuck Off",
1788 
1789  rctIsoEmBitDiff_ =
1790  ibooker.book2D("rctIsoEmBitDiff", "Monitoring for Bits Difference",
1792 
1793  rctNIsoEmBitOn_ =
1794  ibooker.book2D("rctNIsoEmBitOn", "Monitoring for Bits Stuck On",
1796 
1797  rctNIsoEmBitOff_ =
1798  ibooker.book2D("rctNIsoEmBitOff", "Monitoring for Bits Stuck Off",
1800 
1802  ibooker.book2D("rctNIsoEmBitDiff", "Monitoring for Bits Difference",
1804 
1805 
1806  ibooker.setCurrentFolder(histFolder_+"/DBData");
1807  fedVectorMonitorRUN_ = ibooker.book2D("rctFedVectorMonitorRUN", "FED Vector Monitor Per Run",108,0,108,2,0,2);
1808  fedVectorMonitorLS_ = ibooker.book2D("rctFedVectorMonitorLS", "FED Vector Monitor Per LS",108,0,108,2,0,2);
1809 
1810  for(unsigned int i=0;i<108;++i) {
1811  char fed[10];
1812  sprintf(fed,"%d",crateFED[i]);
1813  fedVectorMonitorRUN_->getTH2F()->GetXaxis()->SetBinLabel(i+1,fed);
1814  fedVectorMonitorLS_->getTH2F()->GetXaxis()->SetBinLabel(i+1,fed);
1815  }
1816  fedVectorMonitorRUN_->getTH2F()->GetYaxis()->SetBinLabel(1,"OUT");
1817  fedVectorMonitorRUN_->getTH2F()->GetYaxis()->SetBinLabel(2,"IN");
1818  fedVectorMonitorLS_->getTH2F()->GetYaxis()->SetBinLabel(1,"OUT");
1819  fedVectorMonitorLS_->getTH2F()->GetYaxis()->SetBinLabel(2,"IN");
1820 
1821 // for single channels
1822 
1824  {
1825  for(int m=0; m<12; m++)
1826  {
1827  if(m==0) ibooker.setCurrentFolder(histFolder_+"/IsoEm/ServiceData/Eff1SnglChnls");
1828  if(m==1) ibooker.setCurrentFolder(histFolder_+"/NisoEm/ServiceData/Eff1SnglChnls");
1829  if(m==2) ibooker.setCurrentFolder(histFolder_+"/RegionData/ServiceData/EffSnglChnls");
1830  if(m==3) ibooker.setCurrentFolder(histFolder_+"/IsoEm/ServiceData/IneffSnglChnls");
1831  if(m==4) ibooker.setCurrentFolder(histFolder_+"/NisoEm/ServiceData/IneffSnglChnls");
1832  if(m==5) ibooker.setCurrentFolder(histFolder_+"/RegionData/ServiceData/IneffSnglChnls");
1833  if(m==6) ibooker.setCurrentFolder(histFolder_+"/IsoEm/ServiceData/OvereffSnglChnls");
1834  if(m==7) ibooker.setCurrentFolder(histFolder_+"/NisoEm/ServiceData/OvereffSnglChnls");
1835  if(m==8) ibooker.setCurrentFolder(histFolder_+"/RegionData/ServiceData/OvereffSnglChnls");
1836  if(m==9) ibooker.setCurrentFolder(histFolder_+"/EffCurves/NisoEm/ServiceData/SingleChannels");
1837  if(m==10) ibooker.setCurrentFolder(histFolder_+"/EffCurves/NisoEm/ServiceData/SingleChannels");
1838  if(m==11) ibooker.setCurrentFolder(histFolder_+"/EffCurves/NisoEm/ServiceData/SingleChannels");
1839 
1840  for(int i=0; i<ETAMAX; i++)
1841  {
1842  for(int j=0; j<PHIMAX; j++)
1843  {
1844  char name[80], channel[80]={""} ;
1845 
1846  if(m==0) strcpy(name,"(Eemul-Edata)Chnl") ;
1847  if(m==1) strcpy(name,"(Eemul-Edata)Chnl") ;
1848  if(m==2) strcpy(name,"(Eemul-Edata)Chnl") ;
1849  if(m==3) strcpy(name,"EemulChnl") ;
1850  if(m==4) strcpy(name,"EemulChnl") ;
1851  if(m==5) strcpy(name,"EemulChnl") ;
1852  if(m==6) strcpy(name,"EdataChnl") ;
1853  if(m==7) strcpy(name,"EdataChnl") ;
1854  if(m==8) strcpy(name,"EdataChnl") ;
1855  if(m==9) strcpy(name,"EemulChnlEff") ;
1856  if(m==10) strcpy(name,"EemulChnlTrig") ;
1857  if(m==11) strcpy(name,"EemulChnl") ;
1858 
1859  if(i<10 && j<10) sprintf(channel,"_0%d0%d",i,j);
1860  else if(i<10) sprintf(channel,"_0%d%d",i,j);
1861  else if(j<10) sprintf(channel,"_%d0%d",i,j);
1862  else sprintf(channel,"_%d%d",i,j);
1863  strcat(name,channel);
1864 
1865  int chnl=PHIBINS*i+j;
1866 
1867  if(m==0) rctIsoEffChannel_[chnl] =
1868  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1869  if(m==1) rctNisoEffChannel_[chnl] =
1870  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1871  if(m==2) rctRegEffChannel_[chnl] =
1872  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1873  if(m==3) rctIsoIneffChannel_[chnl] =
1874  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1875  if(m==4) rctNisoIneffChannel_[chnl] =
1876  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1877  if(m==5) rctRegIneffChannel_[chnl] =
1878  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1879  if(m==6) rctIsoOvereffChannel_[chnl] =
1880  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1881  if(m==7) rctNisoOvereffChannel_[chnl] =
1882  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1883  if(m==8) rctRegOvereffChannel_[chnl] =
1884  ibooker.book1D(name, name, DEBINS, DEMIN, DEMAX);
1885  if(m==9) trigEff_[chnl] =
1886  ibooker.book1D(name, name, ELBINS, ELMIN, ELMAX);
1887  if(m==10) trigEffOcc_[chnl] =
1888  ibooker.book1D(name, name, ELBINS, ELMIN, ELMAX);
1889  if(m==11) trigEffTriggOcc_[chnl] =
1890  ibooker.book1D(name, name, ELBINS, ELMIN, ELMAX);
1891  }
1892  }
1893  }
1894  }
1895 
1896 //end of single channels
1897 
1898  notrigCount=0;
1899  trigCount=0;
1900 
1902 }
MonitorElement * rctBitUnmatchedDataTauVeto2D_
Definition: L1TdeRCT.h:128
MonitorElement * rctRegUnmatchedDataOcc1D_
Definition: L1TdeRCT.h:83
MonitorElement * rctIsoEmBitDiff_
Definition: L1TdeRCT.h:195
const float BITRPHIMAX
Definition: L1TdeRCT.cc:48
MonitorElement * rctRegMatchedOcc1D_
Definition: L1TdeRCT.h:82
MonitorElement * rctNisoEmEmulOcc1D_
Definition: L1TdeRCT.h:211
MonitorElement * rctNisoEmIneff2oneD_
Definition: L1TdeRCT.h:219
MonitorElement * rctNisoEmIneff1D_
Definition: L1TdeRCT.h:220
static const int crateFED[108]
Definition: L1TdeRCT.h:252
const float BITRPHIMIN
Definition: L1TdeRCT.cc:47
MonitorElement * rctNisoEmEff2Occ1D_
Definition: L1TdeRCT.h:213
MonitorElement * rctInputTPGHcalOcc_
Definition: L1TdeRCT.h:163
const unsigned int TPGETABINS
Definition: L1TdeRCT.cc:54
MonitorElement * rctNisoEmEff2oneD_
Definition: L1TdeRCT.h:218
MonitorElement * rctNisoEmIneff2Occ1D_
Definition: L1TdeRCT.h:214
const float ELMIN
Definition: L1TdeRCT.cc:67
MonitorElement * rctBitMatchedTauVeto2D_
Definition: L1TdeRCT.h:126
const unsigned int ELBINS
Definition: L1TdeRCT.cc:66
MonitorElement * rctBitDataMip2D_
Definition: L1TdeRCT.h:133
const float PHIMAX
Definition: L1TdeRCT.cc:32
MonitorElement * rctBitUnmatchedDataHfPlusTau2D_
Definition: L1TdeRCT.h:153
int nev_
Definition: L1TdeRCT.h:259
const unsigned int PHIBINS
Definition: L1TdeRCT.cc:30
MonitorElement * rctBitEmulTauVeto2D_
Definition: L1TdeRCT.h:124
MonitorElement * rctIsoEmIneff2Occ_
Definition: L1TdeRCT.h:171
void readFEDVector(MonitorElement *, const edm::EventSetup &)
Definition: L1TdeRCT.cc:1909
MonitorElement * trigEffThresh_
Definition: L1TdeRCT.h:241
MonitorElement * rctBitHfPlusTauIneff2D_
Definition: L1TdeRCT.h:155
MonitorElement * rctIsoEmIneff2Occ1D_
Definition: L1TdeRCT.h:184
MonitorElement * rctIsoEmEmulOcc1D_
Definition: L1TdeRCT.h:181
MonitorElement * rctBitUnmatchedEmulTauVeto2D_
Definition: L1TdeRCT.h:127
MonitorElement * rctBitUnmatchedEmulQuiet2D_
Definition: L1TdeRCT.h:143
MonitorElement * trigEffThreshOcc_
Definition: L1TdeRCT.h:242
const float ETAMIN
Definition: L1TdeRCT.cc:35
MonitorElement * rctNisoEffChannel_[396]
Definition: L1TdeRCT.h:231
MonitorElement * rctRegOvereff1D_
Definition: L1TdeRCT.h:90
const unsigned int ETABINS
Definition: L1TdeRCT.cc:34
MonitorElement * rctIsoEmEff2_
Definition: L1TdeRCT.h:175
const float TPGETAMAX
Definition: L1TdeRCT.cc:56
MonitorElement * rctNisoEmOvereffOcc1D_
Definition: L1TdeRCT.h:216
MonitorElement * trigEffOcc_[396]
Definition: L1TdeRCT.h:245
MonitorElement * rctRegOvereff2D_
Definition: L1TdeRCT.h:105
MonitorElement * rctIsoEmOvereffOcc1D_
Definition: L1TdeRCT.h:186
MonitorElement * triggerType_
Definition: L1TdeRCT.h:77
MonitorElement * rctBitTauVetoEff2D_
Definition: L1TdeRCT.h:129
MonitorElement * rctBitMatchedQuiet2D_
Definition: L1TdeRCT.h:142
MonitorElement * rctBitTauVetoOvereff2D_
Definition: L1TdeRCT.h:131
MonitorElement * rctRegDataOcc1D_
Definition: L1TdeRCT.h:80
MonitorElement * rctIsoEmIneffOcc_
Definition: L1TdeRCT.h:172
MonitorElement * rctBitDataQuiet2D_
Definition: L1TdeRCT.h:141
MonitorElement * rctBitMatchedHfPlusTau2D_
Definition: L1TdeRCT.h:151
MonitorElement * rctIsoEmEff2Occ_
Definition: L1TdeRCT.h:170
MonitorElement * rctRegEmulOcc2D_
Definition: L1TdeRCT.h:95
MonitorElement * rctRegUnmatchedEmulOcc2D_
Definition: L1TdeRCT.h:98
MonitorElement * rctRegSpEff2D_
Definition: L1TdeRCT.h:106
std::string histFolder_
Definition: L1TdeRCT.h:261
MonitorElement * rctBitUnmatchedEmulOverFlow2D_
Definition: L1TdeRCT.h:119
MonitorElement * rctIsoEmBitOn_
Definition: L1TdeRCT.h:193
MonitorElement * rctRegIneff2D_
Definition: L1TdeRCT.h:104
MonitorElement * rctIsoEmEff2Occ1D_
Definition: L1TdeRCT.h:183
bool singlechannelhistos_
Definition: L1TdeRCT.h:263
MonitorElement * rctBitMipIneff2D_
Definition: L1TdeRCT.h:138
const float TPGPHIMIN
Definition: L1TdeRCT.cc:51
MonitorElement * rctBitOverFlowOvereff2D_
Definition: L1TdeRCT.h:123
MonitorElement * rctInputTPGHcalSample_
Definition: L1TdeRCT.h:165
MonitorElement * rctIsoEmOvereff_
Definition: L1TdeRCT.h:178
MonitorElement * rctBitDataOverFlow2D_
Definition: L1TdeRCT.h:117
MonitorElement * rctIsoEmDataOcc_
Definition: L1TdeRCT.h:167
MonitorElement * fedVectorMonitorLS_
Definition: L1TdeRCT.h:254
const float CHNLMIN
Definition: L1TdeRCT.cc:72
MonitorElement * rctNisoEmEff1oneD_
Definition: L1TdeRCT.h:217
MonitorElement * rctNisoEmIneff2Occ_
Definition: L1TdeRCT.h:201
MonitorElement * rctNisoEmOvereffOcc_
Definition: L1TdeRCT.h:203
const float CHNLMAX
Definition: L1TdeRCT.cc:73
MonitorElement * rctRegBitOn_
Definition: L1TdeRCT.h:109
MonitorElement * rctRegBitDiff_
Definition: L1TdeRCT.h:111
MonitorElement * rctNisoEmDataOcc_
Definition: L1TdeRCT.h:197
MonitorElement * rctNisoEmIneff2_
Definition: L1TdeRCT.h:206
const float DEMIN
Definition: L1TdeRCT.cc:63
MonitorElement * rctBitDataHfPlusTau2D_
Definition: L1TdeRCT.h:150
MonitorElement * rctRegIneffChannel_[396]
Definition: L1TdeRCT.h:237
MonitorElement * rctInputTPGEcalOcc_
Definition: L1TdeRCT.h:160
MonitorElement * rctRegDataOcc2D_
Definition: L1TdeRCT.h:94
MonitorElement * rctInputTPGEcalRank_
Definition: L1TdeRCT.h:162
MonitorElement * rctIsoEmIneff1D_
Definition: L1TdeRCT.h:190
const unsigned int BITPHIBINS
Definition: L1TdeRCT.cc:42
MonitorElement * rctBitMipOvereff2D_
Definition: L1TdeRCT.h:139
MonitorElement * trigEff_[396]
Definition: L1TdeRCT.h:244
const unsigned int DEBINS
Definition: L1TdeRCT.cc:62
const float BITETAMAX
Definition: L1TdeRCT.cc:40
MonitorElement * rctBitMatchedOverFlow2D_
Definition: L1TdeRCT.h:118
const unsigned int CHNLBINS
Definition: L1TdeRCT.cc:71
MonitorElement * rctBitEmulOverFlow2D_
Definition: L1TdeRCT.h:116
MonitorElement * rctRegEmulOcc1D_
Definition: L1TdeRCT.h:81
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
MonitorElement * rctIsoEmBitOff_
Definition: L1TdeRCT.h:194
MonitorElement * fedVectorMonitorRUN_
Definition: L1TdeRCT.h:253
MonitorElement * rctBitEmulMip2D_
Definition: L1TdeRCT.h:132
MonitorElement * rctIsoEmIneff2_
Definition: L1TdeRCT.h:176
MonitorElement * rctBitEmulQuiet2D_
Definition: L1TdeRCT.h:140
MonitorElement * rctNisoEmEmulOcc_
Definition: L1TdeRCT.h:198
MonitorElement * rctBitEmulHfPlusTau2D_
Definition: L1TdeRCT.h:149
const float BITETAMIN
Definition: L1TdeRCT.cc:39
const float TPGRANKMAX
Definition: L1TdeRCT.cc:60
MonitorElement * triggerAlgoNumbers_
Definition: L1TdeRCT.h:74
const float BITPHIMIN
Definition: L1TdeRCT.cc:43
MonitorElement * rctNisoIneffChannel_[396]
Definition: L1TdeRCT.h:232
MonitorElement * rctRegSpIneff2D_
Definition: L1TdeRCT.h:107
const float ELMAX
Definition: L1TdeRCT.cc:68
MonitorElement * rctIsoEmEmulOcc_
Definition: L1TdeRCT.h:168
MonitorElement * rctIsoEmEff1Occ_
Definition: L1TdeRCT.h:169
std::string dataInputTagName_
Definition: L1TdeRCT.h:283
MonitorElement * rctNisoEmOvereff1D_
Definition: L1TdeRCT.h:221
MonitorElement * rctNisoEmEff2Occ_
Definition: L1TdeRCT.h:200
MonitorElement * rctBitUnmatchedEmulHfPlusTau2D_
Definition: L1TdeRCT.h:152
MonitorElement * rctRegEff1D_
Definition: L1TdeRCT.h:88
TH2F * getTH2F() const
MonitorElement * rctBitMatchedMip2D_
Definition: L1TdeRCT.h:134
MonitorElement * rctNisoEmEff2_
Definition: L1TdeRCT.h:205
MonitorElement * rctRegSpEff1D_
Definition: L1TdeRCT.h:91
MonitorElement * rctIsoEmEff1Occ1D_
Definition: L1TdeRCT.h:182
MonitorElement * rctIsoEmEff1oneD_
Definition: L1TdeRCT.h:187
const float BITPHIMAX
Definition: L1TdeRCT.cc:44
int notrigCount
Definition: L1TdeRCT.h:286
MonitorElement * rctNisoEmIneff_
Definition: L1TdeRCT.h:207
MonitorElement * rctRegSpEffOcc1D_
Definition: L1TdeRCT.h:85
MonitorElement * rctRegMatchedOcc2D_
Definition: L1TdeRCT.h:96
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * rctNIsoEmBitDiff_
Definition: L1TdeRCT.h:225
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
const float ETAMAX
Definition: L1TdeRCT.cc:36
MonitorElement * rctBitHfPlusTauOvereff2D_
Definition: L1TdeRCT.h:156
MonitorElement * rctNisoEmEff1Occ_
Definition: L1TdeRCT.h:199
const float PHIMIN
Definition: L1TdeRCT.cc:31
MonitorElement * rctIsoEmOvereff1D_
Definition: L1TdeRCT.h:191
MonitorElement * rctIsoEmEff1_
Definition: L1TdeRCT.h:174
MonitorElement * rctBitTauVetoIneff2D_
Definition: L1TdeRCT.h:130
const unsigned int TPGRANK
Definition: L1TdeRCT.cc:58
MonitorElement * rctInputTPGHcalRank_
Definition: L1TdeRCT.h:164
MonitorElement * trigEffTriggThreshOcc_
Definition: L1TdeRCT.h:243
MonitorElement * rctIsoEmIneffOcc1D_
Definition: L1TdeRCT.h:185
MonitorElement * rctRegEffChannel_[396]
Definition: L1TdeRCT.h:236
MonitorElement * rctBitHfPlusTauEff2D_
Definition: L1TdeRCT.h:154
MonitorElement * rctNisoEmIneffOcc1D_
Definition: L1TdeRCT.h:215
MonitorElement * rctRegOvereffChannel_[396]
Definition: L1TdeRCT.h:238
const float DEMAX
Definition: L1TdeRCT.cc:64
MonitorElement * rctBitOverFlowIneff2D_
Definition: L1TdeRCT.h:122
MonitorElement * rctRegSpIneffOcc1D_
Definition: L1TdeRCT.h:86
MonitorElement * rctBitUnmatchedDataMip2D_
Definition: L1TdeRCT.h:136
MonitorElement * trigEffTriggOcc_[396]
Definition: L1TdeRCT.h:246
const unsigned int TPGPHIBINS
Definition: L1TdeRCT.cc:50
MonitorElement * rctBitMipEff2D_
Definition: L1TdeRCT.h:137
MonitorElement * rctIsoEmIneff2oneD_
Definition: L1TdeRCT.h:189
MonitorElement * rctRegUnmatchedDataOcc2D_
Definition: L1TdeRCT.h:97
MonitorElement * rctBitUnmatchedEmulMip2D_
Definition: L1TdeRCT.h:135
MonitorElement * rctBitOverFlowEff2D_
Definition: L1TdeRCT.h:121
MonitorElement * rctNIsoEmBitOff_
Definition: L1TdeRCT.h:224
MonitorElement * rctIsoIneffChannel_[396]
Definition: L1TdeRCT.h:228
MonitorElement * rctRegSpEffOcc2D_
Definition: L1TdeRCT.h:100
const unsigned int BITRPHIBINS
Definition: L1TdeRCT.cc:46
MonitorElement * rctIsoEmOvereffOcc_
Definition: L1TdeRCT.h:173
MonitorElement * rctNisoEmDataOcc1D_
Definition: L1TdeRCT.h:210
const unsigned int BITETABINS
Definition: L1TdeRCT.cc:38
MonitorElement * rctNIsoEmBitOn_
Definition: L1TdeRCT.h:223
MonitorElement * rctRegIneff1D_
Definition: L1TdeRCT.h:89
MonitorElement * rctNisoEmEff1Occ1D_
Definition: L1TdeRCT.h:212
MonitorElement * rctIsoEmDataOcc1D_
Definition: L1TdeRCT.h:180
const float TPGRANKMIN
Definition: L1TdeRCT.cc:59
MonitorElement * rctBitDataTauVeto2D_
Definition: L1TdeRCT.h:125
MonitorElement * rctIsoEffChannel_[396]
Definition: L1TdeRCT.h:227
const float TPGETAMIN
Definition: L1TdeRCT.cc:55
MonitorElement * rctNisoEmOvereff_
Definition: L1TdeRCT.h:208
MonitorElement * rctRegEff2D_
Definition: L1TdeRCT.h:103
MonitorElement * rctInputTPGEcalOccNoCut_
Definition: L1TdeRCT.h:161
MonitorElement * rctNisoOvereffChannel_[396]
Definition: L1TdeRCT.h:233
MonitorElement * rctNisoEmIneffOcc_
Definition: L1TdeRCT.h:202
MonitorElement * rctIsoEmEff2oneD_
Definition: L1TdeRCT.h:188
MonitorElement * rctBitUnmatchedDataQuiet2D_
Definition: L1TdeRCT.h:144
int trigCount
Definition: L1TdeRCT.h:286
MonitorElement * rctRegSpIneff1D_
Definition: L1TdeRCT.h:92
MonitorElement * rctRegSpIneffOcc2D_
Definition: L1TdeRCT.h:101
const float TPGPHIMAX
Definition: L1TdeRCT.cc:52
MonitorElement * rctRegBitOff_
Definition: L1TdeRCT.h:110
MonitorElement * rctIsoEmIneff_
Definition: L1TdeRCT.h:177
MonitorElement * rctRegUnmatchedEmulOcc1D_
Definition: L1TdeRCT.h:84
MonitorElement * rctBitUnmatchedDataOverFlow2D_
Definition: L1TdeRCT.h:120
MonitorElement * rctIsoOvereffChannel_[396]
Definition: L1TdeRCT.h:229
MonitorElement * rctNisoEmEff1_
Definition: L1TdeRCT.h:204
void L1TdeRCT::DivideME1D ( MonitorElement numerator,
MonitorElement denominator,
MonitorElement result 
)
protected

Definition at line 1225 of file L1TdeRCT.cc.

References MonitorElement::getTH1F(), and pileupDistInMC::num.

Referenced by analyze().

1225  {
1226 
1227  TH1F* num = numerator->getTH1F();
1228  TH1F* den = denominator->getTH1F();
1229  TH1F* res = result->getTH1F();
1230 
1231  res->Divide(num,den,1,1,"");
1232 
1233 }
TH1F * getTH1F() const
Definition: Electron.h:6
void L1TdeRCT::DivideME2D ( MonitorElement numerator,
MonitorElement denominator,
MonitorElement result 
)
protected

Definition at line 1215 of file L1TdeRCT.cc.

References MonitorElement::getTH2F(), and pileupDistInMC::num.

Referenced by analyze().

1215  {
1216 
1217  TH2F* num = numerator->getTH2F();
1218  TH2F* den = denominator->getTH2F();
1219  TH2F* res = result->getTH2F();
1220 
1221  res->Divide(num,den,1,1,"");
1222 
1223 }
Definition: Electron.h:6
TH2F * getTH2F() const
void L1TdeRCT::dqmBeginRun ( const edm::Run ,
const edm::EventSetup  
)
overrideprotected

Definition at line 147 of file L1TdeRCT.cc.

147  {
148  //
149 }
void L1TdeRCT::readFEDVector ( MonitorElement histogram,
const edm::EventSetup es 
)
protected

Definition at line 1909 of file L1TdeRCT.cc.

References crateFED, spr::find(), edm::EventSetup::get(), mps_fire::i, RunInfo::m_fed_in, edm::ESHandle< T >::product(), MonitorElement::setBinContent(), and heppy_report::summary.

Referenced by beginLuminosityBlock(), and bookHistograms().

1910 {
1911  // adding fed mask into channel mask
1913  es.get<RunInfoRcd>().get(sum);
1914  const RunInfo* summary=sum.product();
1915 
1916  std::vector<int> caloFeds; // pare down the feds to the intresting ones
1917 
1918  const std::vector<int> Feds = summary->m_fed_in;
1919  for(std::vector<int>::const_iterator cf = Feds.begin(); cf != Feds.end(); ++cf){
1920  int fedNum = *cf;
1921  if(( fedNum > 600 && fedNum <724) || fedNum==1118 || fedNum==1120 || fedNum==1122)
1922  caloFeds.push_back(fedNum);
1923  }
1924 
1925  for(unsigned int i=0;i<108;++i) {
1926  std::vector<int>::iterator fv = std::find(caloFeds.begin(),caloFeds.end(),crateFED[i]);
1927  if(fv!=caloFeds.end()) {
1928  histogram->setBinContent(i+1,2,1);
1929  histogram->setBinContent(i+1,1,0);
1930  }
1931  else
1932  {
1933  histogram->setBinContent(i+1,2,0);
1934  histogram->setBinContent(i+1,1,1);
1935 
1936  }
1937 
1938  }
1939 
1940 }
static const int crateFED[108]
Definition: L1TdeRCT.h:252
void setBinContent(int binx, double content)
set content of bin (1-D)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
std::vector< int > m_fed_in
Definition: RunInfo.h:26
T get() const
Definition: EventSetup.h:63
T const * product() const
Definition: ESHandle.h:86

Member Data Documentation

const int L1TdeRCT::crateFED
staticprivate
Initial value:
=
{613, 614, 603, 702, 718,1118,
611, 612, 602, 700, 718, 1118,
627, 610, 601,716, 722, 1122,
625, 626, 609, 714, 722, 1122,
623, 624, 608, 712, 722, 1122,
621, 622, 607, 710, 720, 1120,
619, 620, 606, 708, 720, 1120,
617, 618, 605, 706, 720, 1120,
615, 616, 604, 704, 718, 1118,
631, 632, 648, 703, 719, 1118,
629, 630, 647, 701, 719, 1118,
645, 628, 646, 717, 723, 1122,
643, 644, 654, 715, 723, 1122,
641, 642, 653, 713, 723, 1122,
639, 640, 652, 711, 721, 1120,
637, 638, 651, 709, 721, 1120,
635, 636, 650, 707, 721, 1120,
633, 634, 649, 705, 719, 1118
}

Definition at line 252 of file L1TdeRCT.h.

Referenced by bookHistograms(), and readFEDVector().

std::string L1TdeRCT::dataInputTagName_
private

Definition at line 283 of file L1TdeRCT.h.

Referenced by bookHistograms().

int L1TdeRCT::doubleThreshold_
private

Definition at line 277 of file L1TdeRCT.h.

Referenced by analyze().

edm::EDGetTokenT<EcalTrigPrimDigiCollection> L1TdeRCT::ecalTPGData_
private

Definition at line 273 of file L1TdeRCT.h.

Referenced by analyze().

MonitorElement* L1TdeRCT::fedVectorMonitorLS_
private

Definition at line 254 of file L1TdeRCT.h.

Referenced by beginLuminosityBlock(), and bookHistograms().

MonitorElement* L1TdeRCT::fedVectorMonitorRUN_
private

Definition at line 253 of file L1TdeRCT.h.

Referenced by bookHistograms().

int L1TdeRCT::filterTriggerType_
private

filter TriggerType

Definition at line 280 of file L1TdeRCT.h.

Referenced by analyze().

edm::EDGetTokenT<L1CaloEmCollection> L1TdeRCT::gctSourceData_emData_
private

Definition at line 272 of file L1TdeRCT.h.

edm::EDGetTokenT<L1CaloRegionCollection> L1TdeRCT::gctSourceData_rgnData_
private

Definition at line 271 of file L1TdeRCT.h.

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> L1TdeRCT::gtDigisLabel_
private

Definition at line 275 of file L1TdeRCT.h.

Referenced by analyze().

std::string L1TdeRCT::gtEGAlgoName_
private

Definition at line 276 of file L1TdeRCT.h.

Referenced by analyze().

edm::EDGetTokenT<HcalTrigPrimDigiCollection> L1TdeRCT::hcalTPGData_
private

Definition at line 274 of file L1TdeRCT.h.

Referenced by analyze().

std::string L1TdeRCT::histFolder_
private

Definition at line 261 of file L1TdeRCT.h.

Referenced by bookHistograms(), and L1TdeRCT().

std::ofstream L1TdeRCT::logFile_
private

Definition at line 265 of file L1TdeRCT.h.

bool L1TdeRCT::monitorDaemon_
private

Definition at line 264 of file L1TdeRCT.h.

int L1TdeRCT::nev_
private

Definition at line 259 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

int L1TdeRCT::notrigCount
private

Definition at line 286 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

std::string L1TdeRCT::outputFile_
private

Definition at line 260 of file L1TdeRCT.h.

Referenced by L1TdeRCT().

MonitorElement* L1TdeRCT::rctBitDataHfPlusTau2D_
private

Definition at line 150 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitDataMip2D_
private

Definition at line 133 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitDataOverFlow2D_
private

Definition at line 117 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitDataQuiet2D_
private

Definition at line 141 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitDataTauVeto2D_
private

Definition at line 125 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitEmulHfPlusTau2D_
private

Definition at line 149 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitEmulMip2D_
private

Definition at line 132 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitEmulOverFlow2D_
private

Definition at line 116 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitEmulQuiet2D_
private

Definition at line 140 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitEmulTauVeto2D_
private

Definition at line 124 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitHfPlusTauEff2D_
private

Definition at line 154 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitHfPlusTauIneff2D_
private

Definition at line 155 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitHfPlusTauOvereff2D_
private

Definition at line 156 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMatchedHfPlusTau2D_
private

Definition at line 151 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMatchedMip2D_
private

Definition at line 134 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMatchedOverFlow2D_
private

Definition at line 118 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMatchedQuiet2D_
private

Definition at line 142 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMatchedTauVeto2D_
private

Definition at line 126 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMipEff2D_
private

Definition at line 137 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMipIneff2D_
private

Definition at line 138 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitMipOvereff2D_
private

Definition at line 139 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitOverFlowEff2D_
private

Definition at line 121 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitOverFlowIneff2D_
private

Definition at line 122 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitOverFlowOvereff2D_
private

Definition at line 123 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitTauVetoEff2D_
private

Definition at line 129 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitTauVetoIneff2D_
private

Definition at line 130 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitTauVetoOvereff2D_
private

Definition at line 131 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedDataHfPlusTau2D_
private

Definition at line 153 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedDataMip2D_
private

Definition at line 136 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedDataOverFlow2D_
private

Definition at line 120 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedDataQuiet2D_
private

Definition at line 144 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedDataTauVeto2D_
private

Definition at line 128 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedEmulHfPlusTau2D_
private

Definition at line 152 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedEmulMip2D_
private

Definition at line 135 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedEmulOverFlow2D_
private

Definition at line 119 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedEmulQuiet2D_
private

Definition at line 143 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctBitUnmatchedEmulTauVeto2D_
private

Definition at line 127 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctInputTPGEcalOcc_
private

Definition at line 160 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctInputTPGEcalOccNoCut_
private

Definition at line 161 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctInputTPGEcalRank_
private

Definition at line 162 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctInputTPGHcalOcc_
private

Definition at line 163 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctInputTPGHcalRank_
private

Definition at line 164 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctInputTPGHcalSample_
private

Definition at line 165 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEffChannel_[396]
private

Definition at line 227 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmBitDiff_
private

Definition at line 195 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmBitOff_
private

Definition at line 194 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmBitOn_
private

Definition at line 193 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmDataOcc1D_
private

Definition at line 180 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmDataOcc_
private

Definition at line 167 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff1_
private

Definition at line 174 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff1Occ1D_
private

Definition at line 182 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff1Occ_
private

Definition at line 169 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff1oneD_
private

Definition at line 187 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff2_
private

Definition at line 175 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff2Occ1D_
private

Definition at line 183 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff2Occ_
private

Definition at line 170 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEff2oneD_
private

Definition at line 188 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEmulOcc1D_
private

Definition at line 181 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmEmulOcc_
private

Definition at line 168 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneff1D_
private

Definition at line 190 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneff2_
private

Definition at line 176 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneff2Occ1D_
private

Definition at line 184 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneff2Occ_
private

Definition at line 171 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneff2oneD_
private

Definition at line 189 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneff_
private

Definition at line 177 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneffOcc1D_
private

Definition at line 185 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmIneffOcc_
private

Definition at line 172 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmOvereff1D_
private

Definition at line 191 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmOvereff_
private

Definition at line 178 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmOvereffOcc1D_
private

Definition at line 186 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoEmOvereffOcc_
private

Definition at line 173 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoIneffChannel_[396]
private

Definition at line 228 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctIsoOvereffChannel_[396]
private

Definition at line 229 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEffChannel_[396]
private

Definition at line 231 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNIsoEmBitDiff_
private

Definition at line 225 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNIsoEmBitOff_
private

Definition at line 224 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNIsoEmBitOn_
private

Definition at line 223 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmDataOcc1D_
private

Definition at line 210 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmDataOcc_
private

Definition at line 197 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff1_
private

Definition at line 204 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff1Occ1D_
private

Definition at line 212 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff1Occ_
private

Definition at line 199 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff1oneD_
private

Definition at line 217 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff2_
private

Definition at line 205 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff2Occ1D_
private

Definition at line 213 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff2Occ_
private

Definition at line 200 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEff2oneD_
private

Definition at line 218 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEmulOcc1D_
private

Definition at line 211 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmEmulOcc_
private

Definition at line 198 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneff1D_
private

Definition at line 220 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneff2_
private

Definition at line 206 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneff2Occ1D_
private

Definition at line 214 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneff2Occ_
private

Definition at line 201 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneff2oneD_
private

Definition at line 219 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneff_
private

Definition at line 207 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneffOcc1D_
private

Definition at line 215 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmIneffOcc_
private

Definition at line 202 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmOvereff1D_
private

Definition at line 221 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmOvereff_
private

Definition at line 208 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmOvereffOcc1D_
private

Definition at line 216 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoEmOvereffOcc_
private

Definition at line 203 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoIneffChannel_[396]
private

Definition at line 232 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctNisoOvereffChannel_[396]
private

Definition at line 233 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegBitDiff_
private

Definition at line 111 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegBitOff_
private

Definition at line 110 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegBitOn_
private

Definition at line 109 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegDataOcc1D_
private

Definition at line 80 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegDataOcc2D_
private

Definition at line 94 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegEff1D_
private

Definition at line 88 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegEff2D_
private

Definition at line 103 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegEffChannel_[396]
private

Definition at line 236 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegEmulOcc1D_
private

Definition at line 81 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegEmulOcc2D_
private

Definition at line 95 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegIneff1D_
private

Definition at line 89 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegIneff2D_
private

Definition at line 104 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegIneffChannel_[396]
private

Definition at line 237 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegMatchedOcc1D_
private

Definition at line 82 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegMatchedOcc2D_
private

Definition at line 96 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegOvereff1D_
private

Definition at line 90 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegOvereff2D_
private

Definition at line 105 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegOvereffChannel_[396]
private

Definition at line 238 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpEff1D_
private

Definition at line 91 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpEff2D_
private

Definition at line 106 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpEffOcc1D_
private

Definition at line 85 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpEffOcc2D_
private

Definition at line 100 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpIneff1D_
private

Definition at line 92 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpIneff2D_
private

Definition at line 107 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpIneffOcc1D_
private

Definition at line 86 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegSpIneffOcc2D_
private

Definition at line 101 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegUnmatchedDataOcc1D_
private

Definition at line 83 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegUnmatchedDataOcc2D_
private

Definition at line 97 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegUnmatchedEmulOcc1D_
private

Definition at line 84 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::rctRegUnmatchedEmulOcc2D_
private

Definition at line 98 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

edm::EDGetTokenT<L1CaloEmCollection> L1TdeRCT::rctSourceData_emData_
private

Definition at line 270 of file L1TdeRCT.h.

Referenced by analyze().

edm::EDGetTokenT<L1CaloRegionCollection> L1TdeRCT::rctSourceData_rgnData_
private

Definition at line 269 of file L1TdeRCT.h.

Referenced by analyze().

edm::EDGetTokenT<L1CaloEmCollection> L1TdeRCT::rctSourceEmul_emEmul_
private

Definition at line 268 of file L1TdeRCT.h.

Referenced by analyze().

edm::EDGetTokenT<L1CaloRegionCollection> L1TdeRCT::rctSourceEmul_rgnEmul_
private

Definition at line 267 of file L1TdeRCT.h.

Referenced by analyze().

int L1TdeRCT::selectBX_
private

Definition at line 281 of file L1TdeRCT.h.

Referenced by analyze().

bool L1TdeRCT::singlechannelhistos_
private

Definition at line 263 of file L1TdeRCT.h.

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

int L1TdeRCT::trigCount
private

Definition at line 286 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::trigEff_[396]
private

Definition at line 244 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::trigEffOcc_[396]
private

Definition at line 245 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::trigEffThresh_
private

Definition at line 241 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::trigEffThreshOcc_
private

Definition at line 242 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::trigEffTriggOcc_[396]
private

Definition at line 246 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::trigEffTriggThreshOcc_
private

Definition at line 243 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::triggerAlgoNumbers_
private

Definition at line 74 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* L1TdeRCT::triggerType_
private

Definition at line 77 of file L1TdeRCT.h.

Referenced by analyze(), and bookHistograms().

bool L1TdeRCT::verbose_
private

Definition at line 262 of file L1TdeRCT.h.

Referenced by analyze(), and L1TdeRCT().