class AliCDBPath: public TObject {
-public:
-
- AliCDBPath();
+ public:
- AliCDBPath(const AliCDBPath& other);
+ AliCDBPath();
- AliCDBPath(const char* level0, const char* level1,
- const char* level2);
+ AliCDBPath(const AliCDBPath& other);
- AliCDBPath(const char* path);
+ AliCDBPath(const char* level0, const char* level1,
+ const char* level2);
- AliCDBPath(const TString& path);
+ AliCDBPath(const char* path);
- virtual ~AliCDBPath();
+ AliCDBPath(const TString& path);
+ virtual ~AliCDBPath();
- const TString& GetPath() const {return fPath;}
- void SetPath(const char* path) {fPath=path; InitPath();}
- const char* GetLevel(Int_t i) const;
+ const TString& GetPath() const {return fPath;}
+ void SetPath(const char* path) {fPath=path; InitPath();}
- Bool_t IsValid() const {return fIsValid;}
+ const char* GetLevel(Int_t i) const;
- Bool_t IsWildcard() const {return fIsWildcard;}
+ Bool_t IsValid() const {return fIsValid;}
- Bool_t Level0Comprises(const TString& str) const;
- Bool_t Level1Comprises(const TString& str) const;
- Bool_t Level2Comprises(const TString& str) const;
+ Bool_t IsWildcard() const {return fIsWildcard;}
- Bool_t Comprises(const AliCDBPath& other) const;
+ Bool_t Level0Comprises(const TString& str) const;
+ Bool_t Level1Comprises(const TString& str) const;
+ Bool_t Level2Comprises(const TString& str) const;
-private:
+ Bool_t Comprises(const AliCDBPath& other) const;
- Bool_t IsWord(const TString& str);
+ private:
- void InitPath();
+ Bool_t IsWord(const TString& str);
- void Init();
+ void InitPath();
- TString fPath; // detector pathname (Detector/DBType/SpecType)
- TString fLevel0; // level0 name (ex. detector: ZDC, TPC...)
- TString fLevel1; // level1 name (ex. DB type, Calib, Align)
- TString fLevel2; // level2 name (ex. DetSpecType, pedestals, gain...)
+ void Init();
- Bool_t fIsValid; // validity flag
- Bool_t fIsWildcard; // wildcard flag
-
- ClassDef(AliCDBPath, 1);
+ TString fPath; // detector pathname (Detector/DBType/SpecType)
+ TString fLevel0; // level0 name (ex. detector: ZDC, TPC...)
+ TString fLevel1; // level1 name (ex. DB type, Calib, Align)
+ TString fLevel2; // level2 name (ex. DetSpecType, pedestals, gain...)
+
+ Bool_t fIsValid; // validity flag
+ Bool_t fIsWildcard; // wildcard flag
+
+ ClassDef(AliCDBPath, 1);
};
#endif