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
SiPixelDetInfoFileReader::getAllDetIds
const std::vector< uint32_t > & getAllDetIds() const
Definition: SiPixelDetInfoFileReader.cc:85
SiPixelDetInfoFileReader::SiPixelDetInfoFileReader
SiPixelDetInfoFileReader(std::string filePath)
Definition: SiPixelDetInfoFileReader.cc:15
SiPixelDetInfoFileReader::~SiPixelDetInfoFileReader
~SiPixelDetInfoFileReader()
Definition: SiPixelDetInfoFileReader.cc:79
SiPixelDetInfoFileReader
Definition: SiPixelDetInfoFileReader.h:28
dt4ml_dqm_sourceclient-live_cfg.filePath
filePath
CUSTOMIZE FOR ML.
Definition: dt4ml_dqm_sourceclient-live_cfg.py:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelDetInfoFileReader::detIds_
std::vector< uint32_t > detIds_
Definition: SiPixelDetInfoFileReader.h:41
SiPixelDetInfoFileReader::inputFile_
std::ifstream inputFile_
Definition: SiPixelDetInfoFileReader.h:37
SiPixelDetInfoFileReader::detData_
std::map< uint32_t, std::pair< int, int > > detData_
Definition: SiPixelDetInfoFileReader.h:40
SiPixelDetInfoFileReader::getDetUnitDimensions
const std::pair< int, int > & getDetUnitDimensions(uint32_t detId) const
Definition: SiPixelDetInfoFileReader.cc:89