src
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::tok_input_
const edm::EDGetTokenT< CastorDigiCollection > tok_input_
Definition:
CastorDigiToRaw.h:37
DummyCfis.c
c
Definition:
DummyCfis.py:86
CastorDigiToRaw::produce
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &c) const override
Definition:
CastorDigiToRaw.cc:21
CastorPacker.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
EventSetup.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::EDGetTokenT
Definition:
EDGetToken.h:37
edm::EDPutTokenT< FEDRawDataCollection >
CastorDbService.h
ParameterSet.h
CastorDigiToRaw::usingctdc_
const bool usingctdc_
Definition:
CastorDigiToRaw.h:36
edm::ESGetToken< CastorDbService, CastorDbRecord >
CastorCtdcPacker.h
CastorDigiToRaw::tok_pSetup_
const edm::ESGetToken< CastorDbService, CastorDbRecord > tok_pSetup_
Definition:
CastorDigiToRaw.h:39
HcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:56
edm::global::EDProducer
Definition:
EDProducer.h:32
CastorDigiToRaw::tok_put_
const edm::EDPutTokenT< FEDRawDataCollection > tok_put_
Definition:
CastorDigiToRaw.h:38
CastorDigiToRaw
Definition:
CastorDigiToRaw.h:29
CastorDigiToRaw::castorTag_
const edm::InputTag castorTag_
Definition:
CastorDigiToRaw.h:35
CastorDigiToRaw::CastorDigiToRaw
CastorDigiToRaw(const edm::ParameterSet &ps)
Definition:
CastorDigiToRaw.cc:13
CastorDbRecord.h
EDProducer.h
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
ESGetToken.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.14