CMS 3D CMS Logo

SiPixelDetInfoFileReader.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiPixelESProducers_SiPixelDetInfoFileReader_h
2 #define CalibTracker_SiPixelESProducers_SiPixelDetInfoFileReader_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelDetInfoFileReader
6 // Class: SiPixelDetInfoFileReader
7 //
15 //
16 // Original Author: V.Chiochia
17 // Created: Mon Nov 20 10:04:31 CET 2006
18 //
19 //
20 
21 #include <map>
22 #include <vector>
23 #include <string>
24 #include <iostream>
25 #include <fstream>
26 #include <cstdint>
27 
29 public:
32 
33  const std::vector<uint32_t>& getAllDetIds() const;
34  const std::pair<int, int>& getDetUnitDimensions(uint32_t detId) const;
35 
36 private:
37  std::ifstream inputFile_;
38  // std::string filePath_;
39 
40  std::map<uint32_t, std::pair<int, int> > detData_;
41  std::vector<uint32_t> detIds_;
42 };
43 #endif
const std::pair< int, int > & getDetUnitDimensions(uint32_t detId) const
const std::vector< uint32_t > & getAllDetIds() const
SiPixelDetInfoFileReader(std::string filePath)
std::vector< uint32_t > detIds_
std::map< uint32_t, std::pair< int, int > > detData_