17 std::ifstream
in( theMappingFile.c_str() );
21 edm::LogError(
"CSC") <<
" Failed to open file " << theMappingFile <<
" containing mapping.";
25 edm::LogInfo(
"CSC") <<
" Opened file " << theMappingFile <<
" containing mapping.";
27 while ( getline(
in, line) ) {
29 if ( line[0] != commentFlag[0] ) {
30 int i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11;
31 std::istringstream is( line );
32 is >> i1 >> i2 >> i3 >> i4 >> i5 >> i6 >> i7 >> i8 >> i9 >> i10 >> i11;
35 addRecord( i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11 );
T getParameter(std::string const &) const
virtual void fill(const edm::ParameterSet &ps)
Fill mapping store.
std::string theMappingFile
void addRecord(int endcap, int station, int ring, int chamber, int vmecrate, int dmb, int tmb, int tsector, int cscid, int ddu, int dcc)
CSCReadoutMappingFromFile()
virtual ~CSCReadoutMappingFromFile()
Destructor.
std::string fullPath() const