1 #ifndef _CSCBADCHAMBERSCONDITIONS_H 2 #define _CSCBADCHAMBERSCONDITIONS_H 50 std::vector<int> new_badchambers;
55 std::ifstream newdata;
59 std::cerr <<
"Error: badchambers.dat -> no such file!"<< std::endl;
63 while(!newdata.eof() ) {
65 newdata >> new_chambers;
66 if (new_chambers!=old_chamber){
67 new_badchambers.push_back(new_chambers);
71 old_chamber = new_chambers;
79 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 &)