1 #ifndef ALI_META_DATA_H
2 #define ALI_META_DATA_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /////////////////////////////////////////////////////////////////////
9 // class AliCDBMetaData //
10 // Set of data describing the object //
11 // but not used to identify the object //
13 /////////////////////////////////////////////////////////////////////
18 class AliCDBMetaData: public TObject {
22 virtual ~AliCDBMetaData();
24 void SetObjectClassName(const char* name)
25 {fObjectClassName = name;};
26 const char* GetObjectClassName() const
27 {return fObjectClassName.Data();};
29 void SetResponsible(const char* yourName)
30 {fResponsible = yourName;};
31 const char* GetResponsible() const
32 {return fResponsible.Data();};
34 void SetBeamPeriod(UInt_t period)
35 {fBeamPeriod = period;};
36 UInt_t GetBeamPeriod() const
37 {return fBeamPeriod;};
39 void SetAliRootVersion(const char* version)
40 {fAliRootVersion = version;};
41 const char* GetAliRootVersion() const
42 {return fAliRootVersion.Data();};
44 void SetComment(const char* comment)
45 {fComment = comment;};
46 const char* GetComment() const
47 {return fComment.Data();};
49 void SetProperty(const char* property, TObject* object);
50 TObject* GetProperty(const char* property) const;
51 Bool_t RemoveProperty(const char* property);
57 TString fObjectClassName; // object's class name
58 TString fResponsible; // object's responsible person
59 UInt_t fBeamPeriod; // beam period
60 TString fAliRootVersion; // AliRoot version
61 TString fComment; // extra comments
64 TMap fProperties; // list of object specific properties
66 ClassDef(AliCDBMetaData, 1);