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;
std::unique_ptr< CSCBadChambers > ReturnType
CSCBadChambers * cndbBadChambers
static CSCBadChambers * prefillBadChambers()
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
ReturnType produceBadChambers(const CSCBadChambersRcd &)
~CSCBadChambersConditions() override
CSCBadChambersConditions(const edm::ParameterSet &)