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 
41  public:
42  explicit L1MuGMTHWFileReader(edm::ParameterSet const&,
44 
46 
47  //read an event from the input stream
48  //returns an event with run and event number zero when no more events
49  void readNextEvent();
50 
51 
52  private:
54  virtual void produce(edm::Event&);
55 
56  std::ifstream m_in;
58 };
59 
60 #endif // L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
L1MuGMTHWFileReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
virtual bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time, edm::EventAuxiliary::ExperimentType &eType)
L1MuGMTInputEvent m_evt
virtual void produce(edm::Event &)
unsigned long long TimeValue_t
Definition: Timestamp.h:28