]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRunTag.h
Removal of printf and cout messages (Per Thomas)
[u/mrichter/AliRoot.git] / STEER / AliRunTag.h
index b6e816145e1d0bd85f9ec9cbb14a0427890865d0..c4759f56b9c5b603fec043718d639533701b3625 100644 (file)
 #include <TString.h>
 #include <TClonesArray.h>
 #include "AliLHCTag.h"
+#include "AliDetectorTag.h"
+#include "AliQA.h" 
 
 class AliEventTag;
-class AliDetectorTag;
+//class AliDetectorTag;
 
 
 //___________________________________________________________________________
@@ -42,10 +44,13 @@ class AliRunTag : public TObject {
   void SetCalibVersion(Int_t Pn) {fAliceCalibrationVersion = Pn;}
   void SetDataType(Int_t i) {fAliceDataType = i;}
   void SetNEvents(Int_t Pn) { fNumEvents = Pn; }
-  void SetLHCTag(Float_t Plumin, char *type);
-  void SetDetectorTag(const AliDetectorTag &t);
+  void SetLHCTag(Float_t Plumin, TString type);
+  void SetDetectorTag(UInt_t mask);
+  void SetQA(const AliQA &qa) { fQA=qa; }      
   void AddEventTag(const AliEventTag &t);
   void Clear(const char * opt = "");
+
+  void CopyStandardContent(AliRunTag *oldtag);
   
   //____________________________________________________//
   Int_t       GetRunId() const {return fAliceRunId;}
@@ -62,9 +67,10 @@ class AliRunTag : public TObject {
   Int_t       GetDataType() const {return fAliceDataType;}
   Int_t       GetNEvents() const {return fNumEvents;}
   AliLHCTag  *GetLHCTag() {return &fLHCTag; } 
+  AliDetectorTag *GetDetectorTags() {return &fDetectorTag;}
   const TClonesArray *GetEventTags() const {return &fEventTag;}
-  const TClonesArray *GetDetectorTags() const {return &fDetectorTag;}
-
+  const AliQA *GetQA() const {return &fQA;}    
+  
   //____________________________________________________//
  private:
   Int_t        fAliceRunId;              //the run id
@@ -82,10 +88,11 @@ class AliRunTag : public TObject {
   Int_t        fNumEvents;               //number of events per file
   Int_t        fNumDetectors;            //number of detector configs per file
   TClonesArray fEventTag;                //array with all event tags
-  TClonesArray fDetectorTag;             //array with all the detector tags
+  AliDetectorTag fDetectorTag;           //array with all the detector tags
   AliLHCTag    fLHCTag;                  //LHC tag object
+  AliQA        fQA ;                     //QA  
   
-  ClassDef(AliRunTag,3)  //(ClassName, ClassVersion)
+  ClassDef(AliRunTag,4)  //(ClassName, ClassVersion)
 };
 //___________________________________________________________________________