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 
24 HLTGetRaw::~HLTGetRaw() = default;
25 
26 void
29  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
30  descriptions.add("hltGetRaw", desc);
31 }
32 
33 //
34 // member functions
35 //
36 
37 // ------------ method called to analyze the data ------------
38 void
40 {
41  edm::Handle<FEDRawDataCollection> rawDataHandle ;
42  event.getByToken(rawDataToken_, rawDataHandle );
43 
44  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
45 }
#define LogDebug(id)
HLTGetRaw(const edm::ParameterSet &)
Definition: HLTGetRaw.cc:18
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
virtual void analyze(edm::StreamID, edm::Event const &, edm::EventSetup const &) const override final
Definition: HLTGetRaw.cc:39
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGetRaw.cc:27
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