Skip to content

Commit

Permalink
plot bx for all triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
jingyucms committed Feb 25, 2015
1 parent 83a7973 commit 6c01d22
Show file tree
Hide file tree
Showing 2 changed files with 269 additions and 132 deletions.
17 changes: 17 additions & 0 deletions DQM/L1TMonitor/interface/L1TGT.h
Expand Up @@ -32,10 +32,17 @@
#include "DQMServices/Core/interface/MonitorElement.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"

//L1 trigger includes
#include "CondFormats/L1TObjects/interface/L1GtTriggerMenu.h"
#include "CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetupFwd.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetup.h"

#include "DQMServices/Core/interface/DQMEDAnalyzer.h"

//
Expand Down Expand Up @@ -166,6 +173,12 @@ class L1TGT: public DQMEDAnalyzer {
MonitorElement* m_monOrbitNrDiffTcsFdlEvmLs;
MonitorElement* m_monLsNrDiffTcsFdlEvmLs;

MonitorElement* h_L1AlgoBX1;
MonitorElement* h_L1AlgoBX2;
MonitorElement* h_L1AlgoBX3;
MonitorElement* h_L1AlgoBX4;
MonitorElement* h_L1TechBX;

//MonitorElement* m_monDiffEvmDaqFdl;

private:
Expand All @@ -180,6 +193,10 @@ class L1TGT: public DQMEDAnalyzer {
boost::uint64_t preGps_;
boost::uint64_t preOrb_;

std::string algoBitToName[128];
std::string techBitToName[64];
std::map <std::string,bool> l1TriggerDecision,l1TechTriggerDecision;
std::map<std::string,bool>::iterator trig_iter;

std::vector<std::pair<int,int> > m_pairLsNumberPfIndex;
typedef std::vector<std::pair<int, int> >::const_iterator CItVecPair;
Expand Down

0 comments on commit 6c01d22

Please sign in to comment.