Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
GlobalMuonTrigger
src
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: 2007/05/02 10:15:06 $
10
// $Revision: 1.2 $
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
//----------------------
28
#include "
FWCore/Sources/interface/ExternalInputSource.h
"
29
30
//------------------------------------
31
// Collaborating Class Declarations --
32
//------------------------------------
33
#include "
FWCore/Framework/interface/Event.h
"
34
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
35
#include "
L1Trigger/GlobalMuonTrigger/src/L1MuGMTInputEvent.h
"
36
37
//---------------------
38
//-- Class Interface --
39
//---------------------
40
41
class
L1MuGMTHWFileReader
:
public
edm::ExternalInputSource
{
42
43
public
:
44
explicit
L1MuGMTHWFileReader
(
edm::ParameterSet
const
&,
45
edm::InputSourceDescription
const
&);
46
47
~L1MuGMTHWFileReader
();
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
virtual
void
setRunAndEventInfo
();
54
virtual
bool
produce
(
edm::Event
&);
55
56
private
:
57
std::ifstream
m_in
;
58
L1MuGMTInputEvent
m_evt
;
59
};
60
61
#endif // L1TriggerGlobalMuonTrigger_L1MuGMTHWFileReader_h
L1MuGMTHWFileReader::setRunAndEventInfo
virtual void setRunAndEventInfo()
Definition:
L1MuGMTHWFileReader.cc:72
L1MuGMTHWFileReader::readNextEvent
void readNextEvent()
Definition:
L1MuGMTHWFileReader.cc:130
Event.h
L1MuGMTHWFileReader::L1MuGMTHWFileReader
L1MuGMTHWFileReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
Definition:
L1MuGMTHWFileReader.cc:39
L1MuGMTHWFileReader
Definition:
L1MuGMTHWFileReader.h:41
ExternalInputSource.h
ParameterSet.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:17
L1MuGMTHWFileReader::~L1MuGMTHWFileReader
~L1MuGMTHWFileReader()
Definition:
L1MuGMTHWFileReader.cc:65
L1MuGMTHWFileReader::m_evt
L1MuGMTInputEvent m_evt
Definition:
L1MuGMTHWFileReader.h:58
L1MuGMTInputEvent
Definition:
L1MuGMTInputEvent.h:43
L1MuGMTInputEvent.h
L1MuGMTHWFileReader::produce
virtual bool produce(edm::Event &)
Definition:
L1MuGMTHWFileReader.cc:81
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::ExternalInputSource
Definition:
ExternalInputSource.h:18
edm::Event
Definition:
Event.h:50
L1MuGMTHWFileReader::m_in
std::ifstream m_in
Definition:
L1MuGMTHWFileReader.h:57
Generated for CMSSW Reference Manual by
1.8.5