1 #ifndef _CSCBADCHAMBERSCONDITIONS_H
2 #define _CSCBADCHAMBERSCONDITIONS_H
49 std::vector<int> new_badchambers;
54 std::ifstream newdata;
58 std::cerr <<
"Error: badchambers.dat -> no such file!" << std::endl;
62 while (!newdata.eof()) {
63 newdata >> new_chambers;
64 if (new_chambers != old_chamber) {
65 new_badchambers.push_back(new_chambers);
69 old_chamber = new_chambers;
77 return cndbbadchambers;