]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRunTag.h
Changed from Exec to UserExec
[u/mrichter/AliRoot.git] / STEER / AliRunTag.h
index c4759f56b9c5b603fec043718d639533701b3625..7672f8bd20558f6004f4b6ea845345c555cefd0e 100644 (file)
@@ -18,7 +18,7 @@
 #include <TClonesArray.h>
 #include "AliLHCTag.h"
 #include "AliDetectorTag.h"
-#include "AliQA.h" 
+#include "AliQA.h"
 
 class AliEventTag;
 //class AliDetectorTag;
@@ -29,7 +29,8 @@ class AliRunTag : public TObject {
  public:
   AliRunTag();
   virtual ~AliRunTag();
-  
+  AliRunTag(const AliRunTag& qa) ;   
+  AliRunTag& operator = (const AliRunTag& tag) ;
   //____________________________________________________//
   void SetRunId(Int_t Pid) {fAliceRunId = Pid;}
   void SetMagneticField(Float_t Pmag) {fAliceMagneticField = Pmag;}
@@ -47,6 +48,8 @@ class AliRunTag : public TObject {
   void SetLHCTag(Float_t Plumin, TString type);
   void SetDetectorTag(UInt_t mask);
   void SetQA(const AliQA &qa) { fQA=qa; }      
+  void SetQAArray(ULong_t * qa, Int_t qalength) ; 
+  void SetEventSpecies(Bool_t * es, Int_t eslength) ;
   void AddEventTag(const AliEventTag &t);
   void Clear(const char * opt = "");
 
@@ -69,7 +72,11 @@ class AliRunTag : public TObject {
   AliLHCTag  *GetLHCTag() {return &fLHCTag; } 
   AliDetectorTag *GetDetectorTags() {return &fDetectorTag;}
   const TClonesArray *GetEventTags() const {return &fEventTag;}
-  const AliQA *GetQA() const {return &fQA;}    
+  const AliQA *GetQA() const {return &fQA;}
+  ULong_t *  GetQAArray() const {return fQAArray;}     
+  Int_t      GetQALength() const { return fQALength ; }
+  Bool_t *   GetEventSpecies() const {return fEventSpecies;}   
+  Int_t      GetESLength() const { return fESLength ; }
   
   //____________________________________________________//
  private:
@@ -90,9 +97,13 @@ class AliRunTag : public TObject {
   TClonesArray fEventTag;                //array with all event tags
   AliDetectorTag fDetectorTag;           //array with all the detector tags
   AliLHCTag    fLHCTag;                  //LHC tag object
-  AliQA        fQA ;                     //QA  
+  AliQA        fQA;                      //needed for backward compaibility
+  Int_t        fQALength;                // Length of the fQA array  
+  ULong_t *    fQAArray ;                //[fQALength] QA objects's data       
+  Int_t        fESLength;                // Length of the Event Specie Length
+  Bool_t *     fEventSpecies;           //[fESLength] EventSpecies in this run 
   
-  ClassDef(AliRunTag,4)  //(ClassName, ClassVersion)
+  ClassDef(AliRunTag,6)  //(ClassName, ClassVersion)
 };
 //___________________________________________________________________________