Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:22

0001 #ifndef HLTGetRaw_h
0002 #define HLTGetRaw_h
0003 
0004 /** \class HLTGetRaw
0005  *
0006  *  
0007  *  This class is an EDAnalyzer implementing a "get data into RAM"
0008  *  functionality for RAW, to simulate online FF running/timimg.
0009  *
0010  *
0011  *  \author various
0012  *
0013  */
0014 
0015 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
0016 #include "DataFormats/FEDRawData/interface/FEDNumbering.h"
0017 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
0018 
0019 #include "FWCore/Framework/interface/Event.h"
0020 #include "FWCore/Framework/interface/global/EDAnalyzer.h"
0021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0022 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0024 
0025 //
0026 // class declaration
0027 //
0028 
0029 class HLTGetRaw : public edm::global::EDAnalyzer<> {
0030 public:
0031   explicit HLTGetRaw(const edm::ParameterSet&);
0032   ~HLTGetRaw() override;
0033   void analyze(edm::StreamID, edm::Event const&, edm::EventSetup const&) const final;
0034   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0035 
0036 private:
0037   edm::InputTag rawDataCollection_;
0038   edm::EDGetTokenT<FEDRawDataCollection> rawDataToken_;
0039 };
0040 
0041 #endif  //HLTGetRaw_h