15 std::cout <<
"CSCTriggerMappingFromFile: ERROR! Failed to open file containing mapping, " <<
filename_ << std::endl;
17 std::cout <<
"CSCTriggerMappingFromFile: opened file containing mapping, " <<
filename_ << std::endl;
19 while (getline(
in, line)) {
22 if (line[0] != commentFlag[0]) {
23 int i1, i2, i3, i4, i5, i6, i7, i8, i9, i10;
24 std::istringstream is(line);
25 is >> i1 >> i2 >> i3 >> i4 >> i5 >> i6 >> i7 >> i8 >> i9 >> i10;
27 std::cout << i1 <<
" " << i2 <<
" " << i3 <<
" " << i4 <<
" " << i5 <<
" " << i6 <<
" " << i7 <<
" " << i8
28 <<
" " << i9 <<
" " << i10 << std::endl;
29 addRecord(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10);
void addRecord(int rendcap, int rstation, int rsector, int rsubsector, int rcscid, int cendcap, int cstation, int csector, int csubsector, int ccscid)
void fill(void) override
Fill mapping store.
CSCTriggerMappingFromFile()
~CSCTriggerMappingFromFile() override
Destructor.