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