Main Page
Namespaces
Classes
Package Documentation
L1Trigger
RPCTechnicalTrigger
interface
RBCProcessTestSignal.h
Go to the documentation of this file.
1
#ifndef RBCPROCESSTESTSIGNAL_H
2
#define RBCPROCESSTESTSIGNAL_H 1
3
4
5
// Include files
6
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCInput.h
"
7
#include "
L1Trigger/RPCTechnicalTrigger/interface/RPCInputSignal.h
"
8
#include "
L1Trigger/RPCTechnicalTrigger/interface/ProcessInputSignal.h
"
9
10
#include <cstdlib>
11
#include <iostream>
12
#include <fstream>
13
#include <ios>
14
#include <cmath>
15
#include <memory>
16
26
class
RBCProcessTestSignal
:
public
ProcessInputSignal
{
27
public
:
28
explicit
RBCProcessTestSignal
(
const
char
* );
29
30
~RBCProcessTestSignal
( )
override
;
31
32
int
next
()
override
;
33
34
void
rewind
();
35
36
void
showfirst
();
37
38
RPCInputSignal
*
retrievedata
()
override
{
39
return
m_lbin
.get();
40
};
41
42
protected
:
43
44
private
:
45
46
std::ifstream
m_in
;
47
48
RBCInput
m_input
;
49
50
std::unique_ptr<RPCInputSignal>
m_lbin
;
51
52
53
};
54
#endif // RBCPROCESSTESTSIGNAL_H
RPCInputSignal
Definition:
RPCInputSignal.h:12
RBCProcessTestSignal::m_lbin
std::unique_ptr< RPCInputSignal > m_lbin
Definition:
RBCProcessTestSignal.h:50
RPCInputSignal.h
RBCProcessTestSignal::m_in
std::ifstream m_in
Definition:
RBCProcessTestSignal.h:40
RBCProcessTestSignal::retrievedata
RPCInputSignal * retrievedata() override
Definition:
RBCProcessTestSignal.h:38
RBCInput
Definition:
RBCInput.h:22
RBCProcessTestSignal::RBCProcessTestSignal
RBCProcessTestSignal(const char *)
Definition:
RBCProcessTestSignal.cc:16
RBCInput.h
RBCProcessTestSignal::m_input
RBCInput m_input
Definition:
RBCProcessTestSignal.h:48
ProcessInputSignal.h
RBCProcessTestSignal::next
int next() override
Definition:
RBCProcessTestSignal.cc:42
RBCProcessTestSignal
Definition:
RBCProcessTestSignal.h:26
RBCProcessTestSignal::showfirst
void showfirst()
Definition:
RBCProcessTestSignal.cc:52
RBCProcessTestSignal::rewind
void rewind()
Definition:
RBCProcessTestSignal.cc:61
RBCProcessTestSignal::~RBCProcessTestSignal
~RBCProcessTestSignal() override
Destructor.
Definition:
RBCProcessTestSignal.cc:35
ProcessInputSignal
Definition:
ProcessInputSignal.h:18
Generated for CMSSW Reference Manual by
1.8.11