CMS 3D CMS Logo

HLTGetRaw.cc
Go to the documentation of this file.
1 
13 
14 #include "HLTGetRaw.h"
15 
16 //
17 // constructors and destructor
18 //
20  : rawDataCollection_(ps.getParameter<edm::InputTag>("RawDataCollection")),
21  rawDataToken_(consumes<FEDRawDataCollection>(rawDataCollection_)) {}
22 
23 HLTGetRaw::~HLTGetRaw() = default;
24 
27  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
28  descriptions.add("hltGetRaw", desc);
29 }
30 
31 //
32 // member functions
33 //
34 
35 // ------------ method called to analyze the data ------------
38  event.getByToken(rawDataToken_, rawDataHandle);
39 
40  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
41 }
42 
43 // declare this class as a framework plugin
edm::StreamID
Definition: StreamID.h:30
Handle.h
MessageLogger.h
HLTGetRaw::HLTGetRaw
HLTGetRaw(const edm::ParameterSet &)
Definition: HLTGetRaw.cc:19
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
edm
HLT enums.
Definition: AlignableModifier.h:19
HLTGetRaw::rawDataCollection_
edm::InputTag rawDataCollection_
Definition: HLTGetRaw.h:37
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89287
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::Handle
Definition: AssociativeIterator.h:50
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
MakerMacros.h
HLTGetRaw::analyze
void analyze(edm::StreamID, edm::Event const &, edm::EventSetup const &) const final
Definition: HLTGetRaw.cc:36
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HLTGetRaw::rawDataToken_
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
Definition: HLTGetRaw.h:38
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
edm::ParameterSet
Definition: ParameterSet.h:47
HLTGetRaw.h
edm::EventSetup
Definition: EventSetup.h:57
HLTGetRaw::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGetRaw.cc:25
InputTag.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HLTGetRaw::~HLTGetRaw
~HLTGetRaw() override
HLTGetRaw
Definition: HLTGetRaw.h:29
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15