CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: SiPixelDetInfoFileReader.h,v 1.1 2007/08/08 16:22:28 chiochia Exp $
19 //
20 //
21 
22 #include <map>
23 #include <vector>
24 #include <string>
25 #include <iostream>
26 #include <fstream>
27 #include <boost/cstdint.hpp>
28 
30 
31 public:
32 
33  explicit SiPixelDetInfoFileReader(std::string filePath);
35 
36  const std::vector<uint32_t> & getAllDetIds() const;
37  const std::pair<int, int> & getDetUnitDimensions(uint32_t detId) const;
38 
39 private:
40 
41  std::ifstream inputFile_;
42  // std::string filePath_;
43 
44  std::map<uint32_t, std::pair<int, int> > detData_;
45  std::vector<uint32_t> detIds_;
46 
47 };
48 #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_