RecoTBCalo
HcalTBObjectUnpacker
plugins
HcalTBObjectUnpacker.h
Go to the documentation of this file.
1
#ifndef HcalTBObjectUnpacker_h
2
#define HcalTBObjectUnpacker_h
3
17
#include "
FWCore/Framework/interface/EDProducer.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
DataFormats/Common/interface/Handle.h
"
20
21
#include "
FWCore/Framework/interface/EventSetup.h
"
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include "
FWCore/Utilities/interface/InputTag.h
"
24
25
#include "
RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBTriggerDataUnpacker.h
"
26
#include "
RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBSlowDataUnpacker.h
"
27
#include "
RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBTDCUnpacker.h
"
28
#include "
RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBQADCUnpacker.h
"
29
#include "
RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBSourcePositionDataUnpacker.h
"
30
31
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
32
33
class
HcalTBObjectUnpacker
:
public
edm::EDProducer
{
34
public
:
35
explicit
HcalTBObjectUnpacker
(
const
edm::ParameterSet
& ps);
36
~HcalTBObjectUnpacker
()
override
;
37
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
38
39
private
:
40
int
triggerFed_
;
41
int
sdFed_
;
42
int
spdFed_
;
43
int
tdcFed_
;
44
int
qadcFed_
;
45
std::string
calibFile_
;
46
hcaltb::HcalTBTriggerDataUnpacker
tdUnpacker_
;
47
hcaltb::HcalTBSlowDataUnpacker
sdUnpacker_
;
48
hcaltb::HcalTBTDCUnpacker
tdcUnpacker_
;
49
hcaltb::HcalTBQADCUnpacker
qadcUnpacker_
;
50
hcaltb::HcalTBSourcePositionDataUnpacker
spdUnpacker_
;
51
bool
doRunData_
,
doTriggerData_
,
doEventPosition_
,
doTiming_
,
doSourcePos_
,
doBeamADC_
;
52
53
std::vector<std::vector<std::string> >
calibLines_
;
54
edm::EDGetTokenT<FEDRawDataCollection>
tok_raw_
;
55
56
void
parseCalib
();
57
};
58
59
#endif
HcalTBObjectUnpacker
Definition:
HcalTBObjectUnpacker.h:33
HcalTBObjectUnpacker::sdUnpacker_
hcaltb::HcalTBSlowDataUnpacker sdUnpacker_
Definition:
HcalTBObjectUnpacker.h:47
Handle.h
HcalTBObjectUnpacker::tdcFed_
int tdcFed_
Definition:
HcalTBObjectUnpacker.h:43
HcalTBSlowDataUnpacker.h
HcalTBObjectUnpacker::doRunData_
bool doRunData_
Definition:
HcalTBObjectUnpacker.h:51
HcalTBSourcePositionDataUnpacker.h
EDProducer.h
HcalTBObjectUnpacker::doEventPosition_
bool doEventPosition_
Definition:
HcalTBObjectUnpacker.h:51
edm::EDGetTokenT< FEDRawDataCollection >
HcalTBObjectUnpacker::sdFed_
int sdFed_
Definition:
HcalTBObjectUnpacker.h:41
HcalTBObjectUnpacker::parseCalib
void parseCalib()
Definition:
HcalTBObjectUnpacker.cc:165
HcalTBObjectUnpacker::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
HcalTBObjectUnpacker.cc:99
HcalTBObjectUnpacker::spdFed_
int spdFed_
Definition:
HcalTBObjectUnpacker.h:42
HcalTBObjectUnpacker::calibLines_
std::vector< std::vector< std::string > > calibLines_
Definition:
HcalTBObjectUnpacker.h:53
hcaltb::HcalTBSourcePositionDataUnpacker
Definition:
HcalTBSourcePositionDataUnpacker.h:9
HcalTBObjectUnpacker::tok_raw_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
Definition:
HcalTBObjectUnpacker.h:54
HcalTBObjectUnpacker::triggerFed_
int triggerFed_
Definition:
HcalTBObjectUnpacker.h:40
HcalTBObjectUnpacker::qadcUnpacker_
hcaltb::HcalTBQADCUnpacker qadcUnpacker_
Definition:
HcalTBObjectUnpacker.h:49
hcaltb::HcalTBSlowDataUnpacker
Unpacks "SlowData" packages used for SiPM calibration and other purposes in HCAL Local DAQ.
Definition:
HcalTBSlowDataUnpacker.h:31
HcalTBQADCUnpacker.h
HcalTBObjectUnpacker::doTiming_
bool doTiming_
Definition:
HcalTBObjectUnpacker.h:51
edm::ParameterSet
Definition:
ParameterSet.h:47
hcaltb::HcalTBQADCUnpacker
Definition:
HcalTBQADCUnpacker.h:7
Event.h
HcalTBObjectUnpacker::qadcFed_
int qadcFed_
Definition:
HcalTBObjectUnpacker.h:44
HcalTBObjectUnpacker::~HcalTBObjectUnpacker
~HcalTBObjectUnpacker() override
Definition:
HcalTBObjectUnpacker.cc:96
hcaltb::HcalTBTriggerDataUnpacker
Definition:
HcalTBTriggerDataUnpacker.h:9
FEDRawDataCollection.h
HcalTBObjectUnpacker::doBeamADC_
bool doBeamADC_
Definition:
HcalTBObjectUnpacker.h:51
edm::EventSetup
Definition:
EventSetup.h:58
HcalTBTriggerDataUnpacker.h
HcalTBObjectUnpacker::doSourcePos_
bool doSourcePos_
Definition:
HcalTBObjectUnpacker.h:51
HcalTBObjectUnpacker::tdcUnpacker_
hcaltb::HcalTBTDCUnpacker tdcUnpacker_
Definition:
HcalTBObjectUnpacker.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
InputTag.h
hcaltb::HcalTBTDCUnpacker
Definition:
HcalTBTDCUnpacker.h:12
HcalTBObjectUnpacker::HcalTBObjectUnpacker
HcalTBObjectUnpacker(const edm::ParameterSet &ps)
Definition:
HcalTBObjectUnpacker.cc:14
HcalTBObjectUnpacker::tdUnpacker_
hcaltb::HcalTBTriggerDataUnpacker tdUnpacker_
Definition:
HcalTBObjectUnpacker.h:46
HcalTBObjectUnpacker::calibFile_
std::string calibFile_
Definition:
HcalTBObjectUnpacker.h:45
HcalTBTDCUnpacker.h
EventSetup.h
edm::EDProducer
Definition:
EDProducer.h:35
HcalTBObjectUnpacker::doTriggerData_
bool doTriggerData_
Definition:
HcalTBObjectUnpacker.h:51
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
HcalTBObjectUnpacker::spdUnpacker_
hcaltb::HcalTBSourcePositionDataUnpacker spdUnpacker_
Definition:
HcalTBObjectUnpacker.h:50
Generated for CMSSW Reference Manual by
1.8.16