EventFilter
CastorRawToDigi
plugins
CastorDigiToRaw.h
Go to the documentation of this file.
1
#ifndef CastorDigiToRaw_h
2
#define CastorDigiToRaw_h
3
15
#include "
FWCore/Framework/interface/global/EDProducer.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
DataFormats/Common/interface/Handle.h
"
18
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/Utilities/interface/ESGetToken.h
"
22
23
#include "
EventFilter/CastorRawToDigi/interface/CastorPacker.h
"
24
#include "
EventFilter/CastorRawToDigi/interface/CastorCtdcPacker.h
"
25
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
26
#include "
CalibFormats/CastorObjects/interface/CastorDbService.h
"
27
#include "
CalibFormats/CastorObjects/interface/CastorDbRecord.h
"
28
29
class
CastorDigiToRaw
:
public
edm::global::EDProducer
<> {
30
public
:
31
explicit
CastorDigiToRaw
(
const
edm::ParameterSet
& ps);
32
void
produce
(
edm::StreamID
,
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
const override
;
33
34
private
:
35
const
edm::InputTag
castorTag_
;
36
const
bool
usingctdc_
;
37
const
edm::EDGetTokenT<CastorDigiCollection>
tok_input_
;
38
const
edm::EDPutTokenT<FEDRawDataCollection>
tok_put_
;
39
const
edm::ESGetToken<CastorDbService, CastorDbRecord>
tok_pSetup_
;
40
};
41
42
#endif
CastorDigiToRaw::castorTag_
const edm::InputTag castorTag_
Definition:
CastorDigiToRaw.h:35
edm::StreamID
Definition:
StreamID.h:30
CastorDigiToRaw::CastorDigiToRaw
CastorDigiToRaw(const edm::ParameterSet &ps)
Definition:
CastorDigiToRaw.cc:13
Handle.h
CastorDigiToRaw::produce
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &c) const override
Definition:
CastorDigiToRaw.cc:21
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm::EDPutTokenT< FEDRawDataCollection >
CastorDigiToRaw::tok_put_
const edm::EDPutTokenT< FEDRawDataCollection > tok_put_
Definition:
CastorDigiToRaw.h:38
CastorPacker.h
ESGetToken.h
HcalDigiCollections.h
edm::global::EDProducer
Definition:
EDProducer.h:32
CastorDigiToRaw
Definition:
CastorDigiToRaw.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CastorDigiToRaw::usingctdc_
const bool usingctdc_
Definition:
CastorDigiToRaw.h:36
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
edm::ESGetToken< CastorDbService, CastorDbRecord >
EventSetup.h
CastorDbService.h
ParameterSet.h
EDProducer.h
CastorCtdcPacker.h
edm::Event
Definition:
Event.h:73
CastorDbRecord.h
edm::InputTag
Definition:
InputTag.h:15
CastorDigiToRaw::tok_pSetup_
const edm::ESGetToken< CastorDbService, CastorDbRecord > tok_pSetup_
Definition:
CastorDigiToRaw.h:39
CastorDigiToRaw::tok_input_
const edm::EDGetTokenT< CastorDigiCollection > tok_input_
Definition:
CastorDigiToRaw.h:37
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16