20 m_in =
new std::ifstream();
23 if(!
m_in->is_open()) {
24 std::cout <<
"ProcessTestSignal> cannot open file" << std::endl;
26 std::cout <<
"ProcessTestSignal> file is now open" << std::endl;
52 if (
m_in->fail() )
return 0;
54 for(
int j=0;
j < 5; ++
j) {
57 (*m_in) >> (*m_block);
63 if (
m_in->eof() )
return 0;
71 std::vector<RPCData*>::iterator itr;
81 m_in->seekg(0,std::ios::beg);
87 std::vector<RPCData*>::iterator itr;
98 std::vector<RPCData*>::iterator itr;
102 for(
int k=0;
k < 6; ++
k) {
104 _code = 10000*(*itr)->m_wheel
105 + 100*(*itr)->m_sec1[
k]
106 + 1*(*itr)->m_sec2[
k];
107 RBCInput * _signal = & (*itr)->m_orsignals[
k];
109 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