Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:16:25

0001 // $Id: $
0002 
0003 /*!
0004  * \file DeadHotMapLoader.h
0005  * \brief
0006  * \author Jin Huang <jhuang@bnl.gov>
0007  * \version $Revision:   $
0008  * \date $Date: $
0009  */
0010 
0011 #ifndef CALORECO_DEADHOTMAPLOADER_H
0012 #define CALORECO_DEADHOTMAPLOADER_H
0013 
0014 #include <fun4all/SubsysReco.h>
0015 
0016 #include <string>
0017 
0018 class PHCompositeNode;
0019 class CDBTTree;
0020 
0021 /*!
0022  * \brief DeadHotMapLoader loads dead map at inti run
0023  */
0024 class DeadHotMapLoader : public SubsysReco
0025 {
0026  public:
0027   explicit DeadHotMapLoader(const std::string& detector);
0028 
0029   ~DeadHotMapLoader() override {}
0030 
0031   int InitRun(PHCompositeNode* topNode) override;
0032 
0033   const std::string& detector() const
0034   {
0035     return m_detector;
0036   }
0037 
0038   void detector(const std::string& detector)
0039   {
0040     m_detector = detector;
0041   }
0042 
0043  private:
0044   std::string m_detector;
0045   CDBTTree *m_CDBTTree = nullptr;
0046 };
0047 
0048 #endif