EventFilter
CastorRawToDigi
plugins
CastorRawToDigi.h
Go to the documentation of this file.
1
#ifndef CastorRawToDigi_h
2
#define CastorRawToDigi_h
3
17
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
DataFormats/Common/interface/Handle.h
"
20
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
21
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
25
#include "
EventFilter/CastorRawToDigi/interface/CastorUnpacker.h
"
26
#include "
EventFilter/CastorRawToDigi/interface/CastorCtdcUnpacker.h
"
27
#include "
EventFilter/CastorRawToDigi/interface/CastorDataFrameFilter.h
"
28
#include "
DataFormats/HcalDigi/interface/ZDCDataFrame.h
"
29
#include "
EventFilter/CastorRawToDigi/interface/ZdcUnpacker.h
"
30
#include "
CondFormats/DataRecord/interface/HcalAllRcds.h
"
31
#include <map>
32
//#include "Geometry/Records/interface/HcalRecNumberingRecord.h"
33
34
class
CastorRawToDigi
:
public
edm::stream::EDProducer
<> {
35
public
:
36
explicit
CastorRawToDigi
(
const
edm::ParameterSet
& ps);
37
~CastorRawToDigi
()
override
;
38
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
39
void
beginRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
40
41
private
:
42
edm::InputTag
dataTag_
;
43
CastorUnpacker
unpacker_
;
44
ZdcUnpacker
zdcunpacker_
;
45
CastorCtdcUnpacker
ctdcunpacker_
;
46
CastorDataFrameFilter
filter_
;
47
std::vector<int>
fedUnpackList_
;
48
int
firstFED_
;
49
bool
complainEmptyData_
;
50
bool
usingctdc_
;
51
bool
unpackTTP_
;
52
bool
unpackZDC_
;
53
bool
silent_
;
54
bool
usenominalOrbitMessageTime_
;
55
int
expectedOrbitMessageTime_
;
56
std::unique_ptr<HcalElectronicsMap>
myEMap
;
57
edm::EDGetTokenT<FEDRawDataCollection>
tok_input_
;
58
edm::ParameterSet
zdcemap
;
59
};
60
61
#endif
Handle.h
CastorRawToDigi::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
CastorRawToDigi.cc:68
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< FEDRawDataCollection >
CastorUnpacker
Definition:
CastorUnpacker.h:15
CastorRawToDigi::myEMap
std::unique_ptr< HcalElectronicsMap > myEMap
Definition:
CastorRawToDigi.h:56
EDProducer.h
ZdcUnpacker
Definition:
ZdcUnpacker.h:16
CastorRawToDigi::zdcemap
edm::ParameterSet zdcemap
Definition:
CastorRawToDigi.h:58
CastorRawToDigi::filter_
CastorDataFrameFilter filter_
Definition:
CastorRawToDigi.h:46
CastorRawToDigi::ctdcunpacker_
CastorCtdcUnpacker ctdcunpacker_
Definition:
CastorRawToDigi.h:45
CastorRawToDigi::silent_
bool silent_
Definition:
CastorRawToDigi.h:53
CastorRawToDigi::firstFED_
int firstFED_
Definition:
CastorRawToDigi.h:48
CastorRawToDigi::complainEmptyData_
bool complainEmptyData_
Definition:
CastorRawToDigi.h:49
CastorDataFrameFilter
Definition:
CastorDataFrameFilter.h:18
CastorRawToDigi::fedUnpackList_
std::vector< int > fedUnpackList_
Definition:
CastorRawToDigi.h:47
CastorRawToDigi::expectedOrbitMessageTime_
int expectedOrbitMessageTime_
Definition:
CastorRawToDigi.h:55
CastorRawToDigi::tok_input_
edm::EDGetTokenT< FEDRawDataCollection > tok_input_
Definition:
CastorRawToDigi.h:57
CastorDataFrameFilter.h
CastorRawToDigi::usingctdc_
bool usingctdc_
Definition:
CastorRawToDigi.h:50
CastorRawToDigi::unpackZDC_
bool unpackZDC_
Definition:
CastorRawToDigi.h:52
CastorRawToDigi::dataTag_
edm::InputTag dataTag_
Definition:
CastorRawToDigi.h:42
CastorCtdcUnpacker.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CastorRawToDigi::CastorRawToDigi
CastorRawToDigi(const edm::ParameterSet &ps)
Definition:
CastorRawToDigi.cc:18
ZDCDataFrame.h
FEDRawDataCollection.h
CastorRawToDigi::zdcunpacker_
ZdcUnpacker zdcunpacker_
Definition:
CastorRawToDigi.h:44
edm::stream::EDProducer
Definition:
EDProducer.h:38
HcalAllRcds.h
CastorRawToDigi::usenominalOrbitMessageTime_
bool usenominalOrbitMessageTime_
Definition:
CastorRawToDigi.h:54
edm::EventSetup
Definition:
EventSetup.h:57
CastorRawToDigi::unpackTTP_
bool unpackTTP_
Definition:
CastorRawToDigi.h:51
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
CastorUnpacker.h
CastorRawToDigi::unpacker_
CastorUnpacker unpacker_
Definition:
CastorRawToDigi.h:43
CastorRawToDigi::~CastorRawToDigi
~CastorRawToDigi() override
Definition:
CastorRawToDigi.cc:65
EventSetup.h
CastorRawToDigi::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition:
CastorRawToDigi.cc:199
ParameterSet.h
CastorRawToDigi
Definition:
CastorRawToDigi.h:34
ZdcUnpacker.h
edm::Event
Definition:
Event.h:73
CastorCtdcUnpacker
Definition:
CastorCtdcUnpacker.h:14
edm::InputTag
Definition:
InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16