IORawData
CSCCommissioning
src
CSCFileDumper.h
Go to the documentation of this file.
1
#ifndef CSCFileDumper_h
2
#define CSCFileDumper_h
3
4
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
DataFormats/Common/interface/Handle.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
11
12
#include <cstdio>
13
14
class
CSCFileDumper
:
public
edm::EDAnalyzer
{
15
public
:
16
std::map<int, FILE*>
dump_files
;
17
std::set<unsigned long>
eventsToDump
;
18
// std::??? rangesToDump; to be implemented
19
20
std::string
output
,
events
;
21
// int fedID_first, fedID_last;
22
23
CSCFileDumper
(
const
edm::ParameterSet
&
pset
);
24
~CSCFileDumper
(
void
)
override
;
25
26
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
27
28
private
:
29
std::vector<unsigned int>
cscFEDids
;
30
31
// std::string source_;
33
edm::EDGetTokenT<FEDRawDataCollection>
i_token
;
34
};
35
36
#endif
Handle.h
CSCFileDumper::eventsToDump
std::set< unsigned long > eventsToDump
Definition:
CSCFileDumper.h:17
ESHandle.h
edm::EDGetTokenT< FEDRawDataCollection >
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
CSCFileDumper::~CSCFileDumper
~CSCFileDumper(void) override
Definition:
CSCFileDumper.cc:75
CSCFileDumper::i_token
edm::EDGetTokenT< FEDRawDataCollection > i_token
Token for consumes interface & access to data.
Definition:
CSCFileDumper.h:33
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CSCFileDumper::CSCFileDumper
CSCFileDumper(const edm::ParameterSet &pset)
Definition:
CSCFileDumper.cc:23
FEDRawDataCollection.h
CSCFileDumper::output
std::string output
Definition:
CSCFileDumper.h:20
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CSCFileDumper::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
CSCFileDumper.cc:83
CSCFileDumper
Definition:
CSCFileDumper.h:14
CSCFileDumper::events
std::string events
Definition:
CSCFileDumper.h:20
EventSetup.h
CSCFileDumper::dump_files
std::map< int, FILE * > dump_files
Definition:
CSCFileDumper.h:16
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
CSCFileDumper::cscFEDids
std::vector< unsigned int > cscFEDids
Definition:
CSCFileDumper.h:29
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16