CMS 3D CMS Logo

HLTGetRaw.cc
Go to the documentation of this file.
1 
14 
15 //
16 // constructors and destructor
17 //
19  rawDataCollection_( ps.getParameter<edm::InputTag>("RawDataCollection") ),
20  rawDataToken_( consumes<FEDRawDataCollection>(rawDataCollection_) )
21 {
22 }
23 
25 {
26 }
27 
28 void
31  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
32  descriptions.add("hltGetRaw", desc);
33 }
34 
35 //
36 // member functions
37 //
38 
39 // ------------ method called to analyze the data ------------
40 void
42 {
43  edm::Handle<FEDRawDataCollection> rawDataHandle ;
44  event.getByToken(rawDataToken_, rawDataHandle );
45 
46  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
47 }
#define LogDebug(id)
HLTGetRaw(const edm::ParameterSet &)
Definition: HLTGetRaw.cc:18
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
~HLTGetRaw()
Definition: HLTGetRaw.cc:24
virtual void analyze(edm::StreamID, edm::Event const &, edm::EventSetup const &) const override final
Definition: HLTGetRaw.cc:41
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGetRaw.cc:29
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
Definition: HLTGetRaw.h:39
edm::InputTag rawDataCollection_
Definition: HLTGetRaw.h:38
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HLT enums.
Definition: event.py:1