CMS 3D CMS Logo

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

#include <L1TGT.h>

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

Public Member Functions

 L1TGT (const edm::ParameterSet &ps)
 
virtual ~L1TGT ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
virtual void bookHistograms (DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
 
virtual void dqmBeginRun (const edm::Run &, const edm::EventSetup &)
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 end section More...
 
- 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 Types

enum  activeDAQ {
  FDL = 0, PSB9, PSB13, PSB14,
  PSB15, PSB19, PSB20, PSB21,
  GMT
}
 
enum  activeEVM { TCS, FDLEVM }
 
typedef std::vector< std::pair
< int, int > >::const_iterator 
CItVecPair
 

Private Member Functions

void countPfsIndicesPerLs ()
 
bool isActive (int word, int bit)
 book all histograms for the module More...
 

Private Attributes

MonitorElementalgo_bits
 
MonitorElementalgo_bits_corr
 
MonitorElementalgo_bits_lumi
 
MonitorElementalgo_tt_bits_corr
 
std::string algoBitToName [128]
 
MonitorElementBST_beamMode
 
MonitorElementBST_beamMomentum
 
MonitorElementBST_intensityBeam1
 
MonitorElementBST_intensityBeam2
 
MonitorElementBST_lhcFillNumber
 
MonitorElementBST_MasterStatus
 
MonitorElementBST_turnCountNumber
 
MonitorElementdbx_module
 
MonitorElementevent_lumi
 
MonitorElementevent_number
 
MonitorElementevent_type
 
MonitorElementevnum_trignum_lumi
 
MonitorElementgpsfreq
 
MonitorElementgpsfreqlum
 
MonitorElementgpsfreqwide
 
edm::EDGetTokenT
< L1GlobalTriggerEvmReadoutRecord
gtEvmSource_
 input tag for L1 GT EVM readout record More...
 
MonitorElementgtfe_bx
 
edm::EDGetTokenT
< L1GlobalTriggerReadoutRecord
gtSource_L1GT_
 input parameters More...
 
edm::EDGetTokenT
< L1MuGMTReadoutCollection
gtSource_L1MuGMT_
 
MonitorElementh_L1AlgoBX1
 
MonitorElementh_L1AlgoBX2
 
MonitorElementh_L1AlgoBX3
 
MonitorElementh_L1AlgoBX4
 
MonitorElementh_L1TechBX
 
std::map< std::string, bool > l1TechTriggerDecision
 
std::map< std::string, bool > l1TriggerDecision
 
std::string m_histFolder
 histogram folder for L1 GT plots More...
 
MonitorElementm_monL1PfIndicesPerLs
 
MonitorElementm_monL1PrescaleFactorSet
 
MonitorElementm_monLsNrDiffTcsFdlEvm
 
MonitorElementm_monLsNrDiffTcsFdlEvmLs
 
MonitorElementm_monOrbitNrDiffTcsFdlEvm
 
MonitorElementm_monOrbitNrDiffTcsFdlEvmLs
 
int m_nrEvJob
 number of events processed More...
 
int m_nrEvRun
 
std::vector< std::pair< int,
int > > 
m_pairLsNumberPfIndex
 
bool m_runInEndLumi
 
bool m_runInEventLoop
 switches to choose the running of various methods More...
 
MonitorElementorbit_lumi
 
boost::uint64_t preGps_
 
boost::uint64_t preOrb_
 
MonitorElementsetupversion_lumi
 
std::string techBitToName [64]
 
std::map< std::string, bool >
::iterator 
trig_iter
 
MonitorElementtrigger_lumi
 
MonitorElementtrigger_number
 
MonitorElementtt_bits
 
MonitorElementtt_bits_corr
 
MonitorElementtt_bits_lumi
 
bool verbose_
 verbosity switch More...
 

Static Private Attributes

static const int MaxLsNrDiffTcsFdlEvm = 24
 
static const int MaxOrbitNrDiffTcsFdlEvm = 24
 

Additional Inherited Members

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

Detailed Description

Description: DQM for L1 Global Trigger.

Author
J. Berryhill, I. Mikulec
Vasile Mihai Ghete - HEPHY Vienna

Definition at line 50 of file L1TGT.h.

Member Typedef Documentation

typedef std::vector<std::pair<int, int> >::const_iterator L1TGT::CItVecPair
private

Definition at line 197 of file L1TGT.h.

Member Enumeration Documentation

enum L1TGT::activeDAQ
private
Enumerator
FDL 
PSB9 
PSB13 
PSB14 
PSB15 
PSB19 
PSB20 
PSB21 
GMT 

Definition at line 87 of file L1TGT.h.

87  {
89  };
enum L1TGT::activeEVM
private
Enumerator
TCS 
FDLEVM 

Definition at line 93 of file L1TGT.h.

93  {
94  TCS, FDLEVM
95  };

Constructor & Destructor Documentation

L1TGT::L1TGT ( const edm::ParameterSet ps)

Definition at line 18 of file L1TGT.cc.

L1TGT::~L1TGT ( )
virtual

Definition at line 33 of file L1TGT.cc.

Member Function Documentation

void L1TGT::analyze ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)
protectedvirtual

get Global Trigger algo and technical trigger bit statistics

Implements edm::stream::EDAnalyzerBase.

Definition at line 320 of file L1TGT.cc.

void L1TGT::beginLuminosityBlock ( const edm::LuminosityBlock iLumi,
const edm::EventSetup evSetup 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 314 of file L1TGT.cc.

void L1TGT::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &  evSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 40 of file L1TGT.cc.

void L1TGT::countPfsIndicesPerLs ( )
private

Definition at line 756 of file L1TGT.cc.

void L1TGT::dqmBeginRun ( const edm::Run iRrun,
const edm::EventSetup evSetup 
)
protectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 308 of file L1TGT.cc.

void L1TGT::endLuminosityBlock ( const edm::LuminosityBlock iLumi,
const edm::EventSetup evSetup 
)
protectedvirtual

end section

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 739 of file L1TGT.cc.

bool L1TGT::isActive ( int  word,
int  bit 
)
private

book all histograms for the module

Definition at line 749 of file L1TGT.cc.

Member Data Documentation

MonitorElement* L1TGT::algo_bits
private

Definition at line 122 of file L1TGT.h.

MonitorElement* L1TGT::algo_bits_corr
private

Definition at line 123 of file L1TGT.h.

MonitorElement* L1TGT::algo_bits_lumi
private

Definition at line 127 of file L1TGT.h.

MonitorElement* L1TGT::algo_tt_bits_corr
private

Definition at line 126 of file L1TGT.h.

std::string L1TGT::algoBitToName[128]
private

Definition at line 191 of file L1TGT.h.

MonitorElement* L1TGT::BST_beamMode
private

Definition at line 145 of file L1TGT.h.

MonitorElement* L1TGT::BST_beamMomentum
private

Definition at line 146 of file L1TGT.h.

MonitorElement* L1TGT::BST_intensityBeam1
private

Definition at line 147 of file L1TGT.h.

MonitorElement* L1TGT::BST_intensityBeam2
private

Definition at line 148 of file L1TGT.h.

MonitorElement* L1TGT::BST_lhcFillNumber
private

Definition at line 144 of file L1TGT.h.

MonitorElement* L1TGT::BST_MasterStatus
private

Definition at line 142 of file L1TGT.h.

MonitorElement* L1TGT::BST_turnCountNumber
private

Definition at line 143 of file L1TGT.h.

MonitorElement* L1TGT::dbx_module
private

Definition at line 140 of file L1TGT.h.

MonitorElement* L1TGT::event_lumi
private

Definition at line 132 of file L1TGT.h.

MonitorElement* L1TGT::event_number
private

Definition at line 131 of file L1TGT.h.

MonitorElement* L1TGT::event_type
private

Definition at line 129 of file L1TGT.h.

MonitorElement* L1TGT::evnum_trignum_lumi
private

Definition at line 135 of file L1TGT.h.

MonitorElement* L1TGT::gpsfreq
private

Definition at line 149 of file L1TGT.h.

MonitorElement* L1TGT::gpsfreqlum
private

Definition at line 151 of file L1TGT.h.

MonitorElement* L1TGT::gpsfreqwide
private

Definition at line 150 of file L1TGT.h.

edm::EDGetTokenT<L1GlobalTriggerEvmReadoutRecord> L1TGT::gtEvmSource_
private

input tag for L1 GT EVM readout record

Definition at line 111 of file L1TGT.h.

MonitorElement* L1TGT::gtfe_bx
private

Definition at line 139 of file L1TGT.h.

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> L1TGT::gtSource_L1GT_
private

input parameters

input tag for L1 GT DAQ readout record

Definition at line 107 of file L1TGT.h.

edm::EDGetTokenT<L1MuGMTReadoutCollection> L1TGT::gtSource_L1MuGMT_
private

Definition at line 108 of file L1TGT.h.

MonitorElement* L1TGT::h_L1AlgoBX1
private

Definition at line 171 of file L1TGT.h.

MonitorElement* L1TGT::h_L1AlgoBX2
private

Definition at line 172 of file L1TGT.h.

MonitorElement* L1TGT::h_L1AlgoBX3
private

Definition at line 173 of file L1TGT.h.

MonitorElement* L1TGT::h_L1AlgoBX4
private

Definition at line 174 of file L1TGT.h.

MonitorElement* L1TGT::h_L1TechBX
private

Definition at line 175 of file L1TGT.h.

std::map<std::string,bool> L1TGT::l1TechTriggerDecision
private

Definition at line 193 of file L1TGT.h.

std::map<std::string,bool> L1TGT::l1TriggerDecision
private

Definition at line 193 of file L1TGT.h.

std::string L1TGT::m_histFolder
private

histogram folder for L1 GT plots

Definition at line 186 of file L1TGT.h.

MonitorElement* L1TGT::m_monL1PfIndicesPerLs
private

Definition at line 154 of file L1TGT.h.

MonitorElement* L1TGT::m_monL1PrescaleFactorSet
private

Definition at line 153 of file L1TGT.h.

MonitorElement* L1TGT::m_monLsNrDiffTcsFdlEvm
private

Definition at line 157 of file L1TGT.h.

MonitorElement* L1TGT::m_monLsNrDiffTcsFdlEvmLs
private

Definition at line 169 of file L1TGT.h.

MonitorElement* L1TGT::m_monOrbitNrDiffTcsFdlEvm
private

Definition at line 156 of file L1TGT.h.

MonitorElement* L1TGT::m_monOrbitNrDiffTcsFdlEvmLs
private

Definition at line 168 of file L1TGT.h.

int L1TGT::m_nrEvJob
private

number of events processed

Definition at line 182 of file L1TGT.h.

int L1TGT::m_nrEvRun
private

Definition at line 183 of file L1TGT.h.

std::vector<std::pair<int,int> > L1TGT::m_pairLsNumberPfIndex
private

Definition at line 196 of file L1TGT.h.

bool L1TGT::m_runInEndLumi
private

Definition at line 115 of file L1TGT.h.

bool L1TGT::m_runInEventLoop
private

switches to choose the running of various methods

Definition at line 114 of file L1TGT.h.

const int L1TGT::MaxLsNrDiffTcsFdlEvm = 24
staticprivate

Definition at line 166 of file L1TGT.h.

const int L1TGT::MaxOrbitNrDiffTcsFdlEvm = 24
staticprivate

Definition at line 165 of file L1TGT.h.

MonitorElement* L1TGT::orbit_lumi
private

Definition at line 136 of file L1TGT.h.

boost::uint64_t L1TGT::preGps_
private

Definition at line 188 of file L1TGT.h.

boost::uint64_t L1TGT::preOrb_
private

Definition at line 189 of file L1TGT.h.

MonitorElement* L1TGT::setupversion_lumi
private

Definition at line 137 of file L1TGT.h.

std::string L1TGT::techBitToName[64]
private

Definition at line 192 of file L1TGT.h.

std::map<std::string,bool>::iterator L1TGT::trig_iter
private

Definition at line 194 of file L1TGT.h.

MonitorElement* L1TGT::trigger_lumi
private

Definition at line 134 of file L1TGT.h.

MonitorElement* L1TGT::trigger_number
private

Definition at line 133 of file L1TGT.h.

MonitorElement* L1TGT::tt_bits
private

Definition at line 124 of file L1TGT.h.

MonitorElement* L1TGT::tt_bits_corr
private

Definition at line 125 of file L1TGT.h.

MonitorElement* L1TGT::tt_bits_lumi
private

Definition at line 128 of file L1TGT.h.

bool L1TGT::verbose_
private

verbosity switch

Definition at line 118 of file L1TGT.h.