CMS 3D CMS Logo

L1TRPCTPG.h
Go to the documentation of this file.
1 #ifndef L1TRPCTPG_H
2 #define L1TRPCTPG_H
3 
4 /*
5  * \file L1TRPCTPG.h
6  *
7  * \author J. Berryhill
8  *
9 */
10 
11 // system include files
12 #include <memory>
13 #include <unistd.h>
14 
15 // user include files
16 
27 
39 
45 
47 
48 #include <iostream>
49 #include <fstream>
50 #include <vector>
51 
52 //
53 // class decleration
54 //
55 
56 class L1TRPCTPG : public DQMEDAnalyzer {
57 public:
58  // Constructor
59  L1TRPCTPG(const edm::ParameterSet& ps);
60 
61  // Destructor
62  ~L1TRPCTPG() override;
63 
64 protected:
65  // Analyze
66  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
67 
68  // BeginRun
69  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
70  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
71 
72 private:
73  // ----------member data ---------------------------
74 
81 
82  std::map<uint32_t, std::map<std::string, MonitorElement*> > rpctpgmeCollection;
83 
84  int nev_; // Number of events processed
85  std::string outputFile_; //file name for ROOT ouput
86  bool verbose_;
88  std::ofstream logFile_;
93 };
94 
95 #endif
L1TRPCTPG::rpctpgSource_token_
edm::EDGetTokenT< RPCDigiCollection > rpctpgSource_token_
Definition: L1TRPCTPG.h:90
L1TRPCTPG::outputFile_
std::string outputFile_
Definition: L1TRPCTPG.h:85
Handle.h
L1TRPCTPG::rpctpgbx
MonitorElement * rpctpgbx
Definition: L1TRPCTPG.h:76
L1TRPCTPG::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TRPCTPG.cc:41
MessageLogger.h
L1TRPCTPG::m_digiBxCSC
MonitorElement * m_digiBxCSC
Definition: L1TRPCTPG.h:80
ESHandle.h
edm::Run
Definition: Run.h:45
L1TRPCTPG::rpctpgmeCollection
std::map< uint32_t, std::map< std::string, MonitorElement * > > rpctpgmeCollection
Definition: L1TRPCTPG.h:82
edm::EDGetTokenT< RPCDigiCollection >
L1MuGMTReadoutCollection.h
L1TRPCTPG::verbose_
bool verbose_
Definition: L1TRPCTPG.h:86
L1TRPCTPG::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TRPCTPG.cc:61
L1TRPCTPG::m_digiBxDT
MonitorElement * m_digiBxDT
Definition: L1TRPCTPG.h:79
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
L1MuRegionalCand.h
RPCGeomServ.h
MakerMacros.h
L1TRPCTPG::m_digiBxRPCBar
MonitorElement * m_digiBxRPCBar
Definition: L1TRPCTPG.h:77
LocalError.h
Service.h
RPCDigi.h
L1TRPCTPG::logFile_
std::ofstream logFile_
Definition: L1TRPCTPG.h:88
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RPCDetId.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
RPCRecHitCollection.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
L1TRPCTPG::rpctpgndigi
MonitorElement * rpctpgndigi[3]
Definition: L1TRPCTPG.h:75
L1TRPCTPG::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: L1TRPCTPG.cc:37
edm::EventSetup
Definition: EventSetup.h:58
L1TRPCTPG
Data Format.
Definition: L1TRPCTPG.h:56
L1TRPCTPG::~L1TRPCTPG
~L1TRPCTPG() override
Definition: L1TRPCTPG.cc:35
GeomDet.h
L1MuGMTCand.h
Frameworkfwd.h
LocalPoint.h
L1TRPCTPG::nev_
int nev_
Definition: L1TRPCTPG.h:84
L1TRPCTPG::L1TRPCTPG
L1TRPCTPG(const edm::ParameterSet &ps)
Definition: L1TRPCTPG.cc:13
RPCDigiCollection.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TRPCTPG::rpctfSource_
edm::InputTag rpctfSource_
Definition: L1TRPCTPG.h:91
ParameterSet.h
L1TRPCTPG::rpctfSource_token_
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_token_
Definition: L1TRPCTPG.h:92
L1TRPCTPG::rpctpgSource_
edm::InputTag rpctpgSource_
Definition: L1TRPCTPG.h:89
MuonGeometryRecord.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
L1MuGMTExtendedCand.h
RPCGeometry.h
edm::InputTag
Definition: InputTag.h:15
L1TRPCTPG::monitorDaemon_
bool monitorDaemon_
Definition: L1TRPCTPG.h:87
L1TRPCTPG::m_digiBxRPCEnd
MonitorElement * m_digiBxRPCEnd
Definition: L1TRPCTPG.h:78
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37