Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-17 09:19:41

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef FROG_FROG_H
0004 #define FROG_FROG_H
0005 
0006 #include <map>
0007 #include <string>
0008 
0009 class FROG
0010 {
0011  public:
0012   FROG() = default;
0013   virtual ~FROG() = default;
0014 
0015   const char *location(const std::string &logical_name);
0016   bool localSearch(const std::string &logical_name);
0017   bool dCacheSearch(const std::string &lname);
0018   bool XRootDSearch(const std::string &lname);
0019   bool LustreSearch(const std::string &lname);
0020   bool MinIOSearch(const std::string &lname);
0021   bool RawDataSearch(const std::string &lname);
0022   bool HpssRawDataSearch(const std::string &lname);
0023   bool PGSearch(const std::string &lname);
0024   void Verbosity(const int i) { m_Verbosity = i; }
0025   int Verbosity() const { return m_Verbosity; }
0026   void AutoDisconnect(bool b) { m_DisconnectFlag = b; }
0027 
0028  private:
0029   void Disconnect();
0030   int m_Verbosity{0};
0031   bool m_DisconnectFlag{true};
0032   std::string pfn;
0033 };
0034 
0035 #endif