CMS 3D CMS Logo

SiStripHistoId.h
Go to the documentation of this file.
1 #ifndef SiStripCommon_SiStripHistoId_h
2 #define SiStripCommon_SiStripHistoId_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripCommon
6 // Class : SiStripHistoId
7 //
16 //
17 // Original Author: dkcira
18 // Created: Wed Feb 22 16:07:51 CET 2006
19 //
20 
21 #include <string>
22 #include <cstdint>
23 
24 class TrackerTopology;
26 public:
28  virtual ~SiStripHistoId();
29  // generally: histoid = description + separator1 + id_type + separator2 + component_id
30  std::string createHistoId(std::string description, std::string id_type, uint32_t component_id);
32  // std::string getSubdetid(uint32_t id, const TrackerTopology* tTopo, bool flag_ring, bool flag_thickness = false);
33  std::string getSubdetid(uint32_t id, const TrackerTopology* tTopo, bool flag_ring);
34  // extract the component_id and the id_type from a histogram id
35  uint32_t getComponentId(std::string histoid);
37 
38 private:
39  SiStripHistoId(const SiStripHistoId&) = delete; // stop default
40  const SiStripHistoId& operator=(const SiStripHistoId&) = delete; // stop default
41  std::string returnIdPart(std::string histoid, uint32_t whichpart);
42 };
43 
44 #endif
SiStripHistoId::createHistoLayer
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
Definition: SiStripHistoId.cc:51
SiStripHistoId::SiStripHistoId
SiStripHistoId()
Definition: SiStripHistoId.cc:22
TrackerTopology
Definition: TrackerTopology.h:16
edmLumisInFiles.description
description
Definition: edmLumisInFiles.py:11
SiStripHistoId::returnIdPart
std::string returnIdPart(std::string histoid, uint32_t whichpart)
Definition: SiStripHistoId.cc:152
SiStripHistoId::getComponentId
uint32_t getComponentId(std::string histoid)
Definition: SiStripHistoId.cc:143
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripHistoId::~SiStripHistoId
virtual ~SiStripHistoId()
Definition: SiStripHistoId.cc:24
SiStripHistoId::createHistoId
std::string createHistoId(std::string description, std::string id_type, uint32_t component_id)
Definition: SiStripHistoId.cc:26
SiStripHistoId
Definition: SiStripHistoId.h:25
SiStripHistoId::operator=
const SiStripHistoId & operator=(const SiStripHistoId &)=delete
SiStripHistoId::getSubdetid
std::string getSubdetid(uint32_t id, const TrackerTopology *tTopo, bool flag_ring)
Definition: SiStripHistoId.cc:82
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
SiStripHistoId::getComponentType
std::string getComponentType(std::string histoid)
Definition: SiStripHistoId.cc:150
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116