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