Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:09

0001 #ifndef CDBOBJECTS_CDBTF_H
0002 #define CDBOBJECTS_CDBTF_H
0003 
0004 #include <map>
0005 #include <string>
0006 
0007 class TF1;
0008 
0009 class CDBTF
0010 {
0011  public:
0012   CDBTF() = default;
0013   explicit CDBTF(const std::string &fname);
0014   ~CDBTF();
0015   void WriteCDBTF();
0016   void Print() const;
0017   void LoadCalibrations();
0018   void registerTF(TF1 *t1);
0019   TF1 *getTF(const std::string &name, bool printerror = true);
0020 
0021  private:
0022   std::string m_Filename;
0023   std::map<std::string, TF1 *> m_TFMap;
0024 };
0025 
0026 #endif