1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef HLTGetRaw_h
#define HLTGetRaw_h
/** \class HLTGetRaw
*
*
* This class is an EDAnalyzer implementing a "get data into RAM"
* functionality for RAW, to simulate online FF running/timimg.
*
*
* \author various
*
*/
#include "DataFormats/FEDRawData/interface/FEDRawData.h"
#include "DataFormats/FEDRawData/interface/FEDNumbering.h"
#include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/global/EDAnalyzer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
//
// class declaration
//
class HLTGetRaw : public edm::global::EDAnalyzer<> {
public:
explicit HLTGetRaw(const edm::ParameterSet&);
~HLTGetRaw() override;
void analyze(edm::StreamID, edm::Event const&, edm::EventSetup const&) const final;
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
private:
edm::InputTag rawDataCollection_;
edm::EDGetTokenT<FEDRawDataCollection> rawDataToken_;
};
#endif //HLTGetRaw_h
|