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 }
24 
25 HLTGetRaw::~HLTGetRaw() = default;
26 
27 void
30  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
31  descriptions.add("hltGetRaw", desc);
32 }
33 
34 //
35 // member functions
36 //
37 
38 // ------------ method called to analyze the data ------------
39 void
41 {
42  edm::Handle<FEDRawDataCollection> rawDataHandle ;
43  event.getByToken(rawDataToken_, rawDataHandle );
44 
45  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
46 }
47 
48 
49 // declare this class as a framework plugin
#define LogDebug(id)
HLTGetRaw(const edm::ParameterSet &)
Definition: HLTGetRaw.cc:19
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
~HLTGetRaw() override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGetRaw.cc:28
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
Definition: HLTGetRaw.h:39
void analyze(edm::StreamID, edm::Event const &, edm::EventSetup const &) const final
Definition: HLTGetRaw.cc:40
edm::InputTag rawDataCollection_
Definition: HLTGetRaw.h:38
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HLT enums.
Definition: event.py:1