EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4InttDeadMapLoader.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4InttDeadMapLoader.h
1 // $Id: $
2 
11 #ifndef G4INTT_PHG4INTTDEADMAPLOADER_H
12 #define G4INTT_PHG4INTTDEADMAPLOADER_H
13 
14 #include <fun4all/SubsysReco.h>
15 
16 #include <map>
17 #include <string>
18 
19 class PHCompositeNode;
20 
25 {
26  public:
27  explicit PHG4InttDeadMapLoader(const std::string& detector = "SILICON_TRACKER");
28 
29  ~PHG4InttDeadMapLoader() override;
30 
31  int InitRun(PHCompositeNode* topNode) override;
32 
33  void deadMapPath(unsigned int layer, const std::string& deadMapPath)
34  {
36  }
37 
38  const std::string& detector() const
39  {
40  return m_detector;
41  }
42 
43  void detector(const std::string& detector)
44  {
46  }
47 
48  private:
49  std::map<unsigned int, std::string> m_deadMapPathMap;
50 
51  std::string m_detector;
52 };
53 
54 #endif /* G4INTT_PHG4INTTDeadMapLoader_H */