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