CMS 3D CMS Logo

L1MuGMTHWFileReader.h
Go to the documentation of this file.
1 //---------------------------------------------
2 //
3 // \class L1MuGMTHWFileReader
4 //
5 // Description: Puts the GMT input information from
6 // a GMT ascii HW testfile into the Event
7 //
8 //
9 //
10 // Author :
11 // Tobias Noebauer HEPHY Vienna
12 // Ivan Mikulec HEPHY Vienna
13 //
14 //--------------------------------------------------
15 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
16 #define L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
17 
18 //---------------
19 // C++ Headers --
20 //---------------
21 #include <fstream>
22 
23 //----------------------
24 // Base Class Headers --
25 //----------------------
27 
28 //------------------------------------
29 // Collaborating Class Declarations --
30 //------------------------------------
34 
35 //---------------------
36 //-- Class Interface --
37 //---------------------
38 
40 public:
42 
43  ~L1MuGMTHWFileReader() override;
44 
45  //read an event from the input stream
46  //returns an event with run and event number zero when no more events
47  void readNextEvent();
48 
49 private:
52  edm::EventAuxiliary::ExperimentType& eType) override;
53  void produce(edm::Event&) override;
54 
55  std::ifstream m_in;
57 };
58 
59 #endif // L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
L1MuGMTHWFileReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
L1MuGMTInputEvent m_evt
unsigned long long TimeValue_t
Definition: Timestamp.h:21
bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time, edm::EventAuxiliary::ExperimentType &eType) override
void produce(edm::Event &) override