CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TFED.h
Go to the documentation of this file.
1 #ifndef L1TFED_H
2 #define L1TFED_H
3 
4 /*
5  * \file L1TFED.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
18 
21 
23 
28 
33 
34 #include <iostream>
35 #include <fstream>
36 #include <vector>
37 
38 //
39 // class decleration
40 //
41 
42 class L1TFED : public edm::EDAnalyzer {
43 
44 public:
45 
46 // Constructor
47 L1TFED(const edm::ParameterSet& ps);
48 
49 // Destructor
50 virtual ~L1TFED();
51 
52 protected:
53 // Analyze
54 void analyze(const edm::Event& e, const edm::EventSetup& c);
55 
56 // BeginJob
57 void beginJob(void);
58 
59 // BeginRun
60 void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup);
61 
62 // EndJob
63 void endJob(void);
64 
65 private:
66  // ----------member data ---------------------------
68 
69 // MonitorElement* fedtest;
72 // MonitorElement ** hindfed;
73 
77 
78  int nev_; // Number of events processed
79  std::string outputFile_; //file name for ROOT ouput
80  bool verbose_;
82  std::vector<int> l1feds_;
83  std::ofstream logFile_;
88 };
89 
90 #endif
void endJob(void)
Definition: L1TFED.cc:92
MonitorElement * fedentries
Definition: L1TFED.h:74
int nev_
Definition: L1TFED.h:78
MonitorElement * hfedprof
Definition: L1TFED.h:71
std::ofstream logFile_
Definition: L1TFED.h:83
void beginJob(void)
Definition: L1TFED.cc:55
bool monitorDaemon_
Definition: L1TFED.h:81
edm::InputTag fedSource_
Definition: L1TFED.h:84
edm::EDGetTokenT< FEDRawDataCollection > rawl_
Definition: L1TFED.h:85
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TFED.cc:103
Definition: L1TFED.h:42
MonitorElement * fednonfatal
Definition: L1TFED.h:76
MonitorElement * fedfatal
Definition: L1TFED.h:75
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
Definition: L1TFED.cc:60
bool stableROConfig_
Definition: L1TFED.h:87
std::string outputFile_
Definition: L1TFED.h:79
virtual ~L1TFED()
Definition: L1TFED.cc:51
std::string directory_
Definition: L1TFED.h:86
std::vector< int > l1feds_
Definition: L1TFED.h:82
L1TFED(const edm::ParameterSet &ps)
Definition: L1TFED.cc:13
DQMStore * dbe
Definition: L1TFED.h:67
MonitorElement * hfedsize
Definition: L1TFED.h:70
bool verbose_
Definition: L1TFED.h:80
Definition: Run.h:41