21 m_in =
new std::ifstream();
24 if(!
m_in->is_open()) {
25 std::cout <<
"ProcessTestSignal> cannot open file" << std::endl;
27 std::cout <<
"ProcessTestSignal> file is now open" << std::endl;
53 if (
m_in->fail() )
return 0;
55 for(
int j=0;
j < 5; ++
j) {
58 (*m_in) >> (*m_block);
64 if (
m_in->eof() )
return 0;
72 std::vector<RPCData*>::iterator itr;
82 m_in->seekg(0,std::ios::beg);
88 std::vector<RPCData*>::iterator itr;
99 std::vector<RPCData*>::iterator itr;
103 for(
int k=0;
k < 6; ++
k) {
105 _code = 10000*(*itr)->m_wheel
106 + 100*(*itr)->m_sec1[
k]
107 + 1*(*itr)->m_sec2[
k];
108 RBCInput * _signal = & (*itr)->m_orsignals[
k];
110 m_data.insert( std::make_pair( _code , _signal) );
std::map< int, RBCInput * > m_data
ProcessTestSignal()
Standard constructor.
virtual ~ProcessTestSignal()
Destructor.
std::vector< RPCData * > m_vecdata