Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
HLTanalyzers
src
HLTGetRaw.cc
Go to the documentation of this file.
1
12
#include "
HLTrigger/HLTanalyzers/interface/HLTGetRaw.h
"
13
14
#include "
DataFormats/Common/interface/Handle.h
"
15
16
// system include files
17
#include <memory>
18
#include <vector>
19
#include <map>
20
21
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
22
#include "
FWCore/Utilities/interface/InputTag.h
"
23
#include "
DataFormats/Common/interface/DetSetVector.h
"
24
25
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
26
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
27
#include "
DataFormats/FEDRawData/interface/FEDNumbering.h
"
28
29
// using namespace edm;
30
// using namespace std;
31
32
//
33
// constructors and destructor
34
//
35
HLTGetRaw::HLTGetRaw
(
const
edm::ParameterSet
& ps)
36
{
37
RawDataCollection_
= ps.
getParameter
<
edm::InputTag
>(
"RawDataCollection"
);
38
}
39
40
HLTGetRaw::~HLTGetRaw
()
41
{ }
42
43
//
44
// member functions
45
//
46
47
// ------------ method called to produce the data ------------
48
void
49
HLTGetRaw::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup)
50
{
51
// using namespace edm;
52
53
edm::Handle<FEDRawDataCollection>
RawDataHandle ;
54
iEvent.
getByLabel
(
RawDataCollection_
, RawDataHandle );
55
56
LogDebug
(
"DigiInfo"
) <<
"Loaded Raw Data Collection: "
<<
RawDataCollection_
;
57
58
59
}
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:501
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
HLTGetRaw::HLTGetRaw
HLTGetRaw(const edm::ParameterSet &)
Definition:
HLTGetRaw.cc:35
MessageLogger.h
HLTGetRaw::RawDataCollection_
edm::InputTag RawDataCollection_
Definition:
HLTGetRaw.h:33
HLTGetRaw::analyze
void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
HLTGetRaw.cc:49
FEDRawDataCollection.h
HLTGetRaw::~HLTGetRaw
~HLTGetRaw()
Definition:
HLTGetRaw.cc:40
Handle.h
edm::Handle< FEDRawDataCollection >
DetSetVector.h
iEvent
int iEvent
Definition:
GenABIO.cc:243
edm::EventSetup
Definition:
EventSetup.h:44
edm::Event::getByLabel
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition:
Event.h:356
HLTGetRaw.h
edm::InputTag
Definition:
InputTag.h:12
FEDRawData.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
FEDNumbering.h
Generated for CMSSW Reference Manual by
1.8.5