CMS 3D CMS Logo

CSCFileDumper.h
Go to the documentation of this file.
1 #ifndef IORawData_CSCCommissioning_CSCFileDumper_h
2 #define IORawData_CSCCommissioning_CSCFileDumper_h
3 
11 
12 #include <cstdio>
13 
15 public:
16  std::map<int, FILE*> dump_files;
17  std::set<unsigned long> eventsToDump;
18  // std::??? rangesToDump; to be implemented
19 
21  // int fedID_first, fedID_last;
22 
24  ~CSCFileDumper(void) override;
25 
26  void beginJob() override {}
27  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
28  void endJob() override {}
29 
30 private:
31  std::vector<unsigned int> cscFEDids;
32 
33  // std::string source_;
36 };
37 
38 #endif
CSCFileDumper(edm::ParameterSet const &pset)
edm::EDGetTokenT< FEDRawDataCollection > i_token
Token for consumes interface & access to data.
Definition: CSCFileDumper.h:35
std::string events
Definition: CSCFileDumper.h:20
void analyze(const edm::Event &e, const edm::EventSetup &c) override
std::string output
Definition: CSCFileDumper.h:20
std::set< unsigned long > eventsToDump
Definition: CSCFileDumper.h:17
void beginJob() override
Definition: CSCFileDumper.h:26
std::vector< unsigned int > cscFEDids
Definition: CSCFileDumper.h:31
std::map< int, FILE * > dump_files
Definition: CSCFileDumper.h:16
void endJob() override
Definition: CSCFileDumper.h:28
~CSCFileDumper(void) override