]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliCDBMetaData.cxx
syntax correction in comments
[u/mrichter/AliRoot.git] / STEER / AliCDBMetaData.cxx
index c33f1b7b505c6ea35947e00620d4effe769e596a..4a55caa34d06ff65c96378356b0f57b7a84ba9cc 100644 (file)
@@ -32,16 +32,33 @@ ClassImp(AliCDBMetaData)
 AliCDBMetaData::AliCDBMetaData() :
 TObject(),
 fObjectClassName(""),
-fResponsible(""),      
-fBeamPeriod(0),        
+fResponsible(""),
+fBeamPeriod(0),
 fAliRootVersion(""),
-fComment("")   
+fComment(""),
+fProperties()  
 {
 // default constructor
 
        fProperties.SetOwner(1);
 }
 
+//_____________________________________________________________________________
+AliCDBMetaData::AliCDBMetaData(const char *responsible, UInt_t beamPeriod,
+                               const char* alirootVersion, const char* comment) :
+TObject(),
+fObjectClassName(""),
+fResponsible(responsible),
+fBeamPeriod(beamPeriod),
+fAliRootVersion(alirootVersion),
+fComment(comment),
+fProperties()  
+{
+// constructor
+
+       fProperties.SetOwner(1);
+}
+
 //_____________________________________________________________________________
 AliCDBMetaData::~AliCDBMetaData() {
 // destructor
@@ -101,5 +118,6 @@ void AliCDBMetaData::PrintMetaData() {
                        message += Form("\t\t%s\n", ((TObjString* ) aPair->Key())->String().Data());
                }
        }
-       AliInfo(Form("**** Object's MetaData set **** \n%s", message.Data()));
+       message += '\n';
+       AliInfo(Form("**** Object's MetaData parameters **** \n%s", message.Data()));
 }