- Implementing functions for the GRP preprocessor to retrieve DA output files from...
[u/mrichter/AliRoot.git] / SHUTTLE / AliShuttleLogbookEntry.cxx
index 4600b53..41d6215 100644 (file)
@@ -31,7 +31,8 @@ ClassImp(AliShuttleLogbookEntry)
 AliShuttleLogbookEntry::AliShuttleLogbookEntry() :
 TObject(),
 fRun(-1),
-fRunParameters(0)
+fRunParameters(0),
+fDATestMode(kFALSE)
 {
        //
        // default constructor
@@ -46,7 +47,8 @@ fRunParameters(0)
 AliShuttleLogbookEntry::AliShuttleLogbookEntry(Int_t run, Status* status) :
 TObject(),
 fRun(run),
-fRunParameters(0)
+fRunParameters(0),
+fDATestMode(kFALSE)
 {
        //
        // default constructor
@@ -63,14 +65,15 @@ AliShuttleLogbookEntry::~AliShuttleLogbookEntry() {
        //
        // destructor
        //
-
+       fRunParameters.DeleteAll();
 }
 
 //______________________________________________________________________________________________
 AliShuttleLogbookEntry::AliShuttleLogbookEntry(const AliShuttleLogbookEntry &c) :
 TObject(),
 fRun(c.fRun),
-fRunParameters(0)
+fRunParameters(0),
+fDATestMode(c.fDATestMode)
 {
        //
        // copy constructor
@@ -119,6 +122,7 @@ void AliShuttleLogbookEntry::Copy(TObject& c) const
        }
 
        target.SetDetectorStatus(GetDetectorStatus());
+       target.fDATestMode = fDATestMode;
 }
 
 //______________________________________________________________________________________________
@@ -282,7 +286,7 @@ void AliShuttleLogbookEntry::Print(Option_t* option) const
                }
        }
 
-       AliInfo(Form("%s",message.Data()));
+       AliInfo(message.Data());
 }
 //______________________________________________________________________________________________
 void AliShuttleLogbookEntry::SetRunParameter(const char* key, const char* value){