CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Date: 2012/11/19 21:03:41 $
10 // $Revision: 1.3 $
11 //
12 // Author :
13 // Tobias Noebauer HEPHY Vienna
14 // Ivan Mikulec HEPHY Vienna
15 //
16 //--------------------------------------------------
17 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
18 #define L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
19 
20 //---------------
21 // C++ Headers --
22 //---------------
23 #include <fstream>
24 
25 //----------------------
26 // Base Class Headers --
27 //----------------------
29 
30 //------------------------------------
31 // Collaborating Class Declarations --
32 //------------------------------------
36 
37 //---------------------
38 //-- Class Interface --
39 //---------------------
40 
42 
43  public:
44  explicit L1MuGMTHWFileReader(edm::ParameterSet const&,
46 
48 
49  //read an event from the input stream
50  //returns an event with run and event number zero when no more events
51  void readNextEvent();
52 
53 
54  private:
56  virtual void produce(edm::Event&);
57 
58  std::ifstream m_in;
60 };
61 
62 #endif // L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
L1MuGMTHWFileReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
virtual bool setRunAndEventInfo(edm::EventID &id, edm::TimeValue_t &time)
L1MuGMTInputEvent m_evt
virtual void produce(edm::Event &)
unsigned long long TimeValue_t
Definition: Timestamp.h:27