File indexing completed on 2024-04-06 11:57:22
0001 #ifndef SurveyInputTextReader_h
0002 #define SurveyInputTextReader_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "Alignment/CommonAlignment/interface/StructureType.h"
0016 #include "Alignment/CommonAlignment/interface/Utilities.h"
0017
0018 class SurveyInputTextReader {
0019 public:
0020 typedef std::pair<align::ID, align::StructureType> UniqueId;
0021
0022 typedef std::map<UniqueId, align::Scalars> MapType;
0023 typedef std::pair<UniqueId, align::Scalars> PairType;
0024
0025
0026 void readFile(const std::string& textFileName);
0027
0028
0029 const MapType& UniqueIdMap() const { return theMap; }
0030
0031 private:
0032 MapType theMap;
0033
0034 static const int NINPUTS = 27;
0035 };
0036
0037 #endif