]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRunTag.h
Added ptHard to the information in the AliAODMCHeader, filled in the AODHandler
[u/mrichter/AliRoot.git] / STEER / AliRunTag.h
index 5d7eb9fff0f04cefd8605633600c0a5ce5afbee1..7672f8bd20558f6004f4b6ea845345c555cefd0e 100644 (file)
@@ -18,6 +18,7 @@
 #include <TClonesArray.h>
 #include "AliLHCTag.h"
 #include "AliDetectorTag.h"
+#include "AliQA.h"
 
 class AliEventTag;
 //class AliDetectorTag;
@@ -28,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;}
@@ -45,6 +47,9 @@ class AliRunTag : public TObject {
   void SetNEvents(Int_t Pn) { fNumEvents = Pn; }
   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 = "");
 
@@ -67,7 +72,12 @@ class AliRunTag : public TObject {
   AliLHCTag  *GetLHCTag() {return &fLHCTag; } 
   AliDetectorTag *GetDetectorTags() {return &fDetectorTag;}
   const TClonesArray *GetEventTags() const {return &fEventTag;}
-
+  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:
   Int_t        fAliceRunId;              //the run id
@@ -85,10 +95,15 @@ 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
-  AliDetectorTag fDetectorTag;             //array with all the detector tags
+  AliDetectorTag fDetectorTag;           //array with all the detector tags
   AliLHCTag    fLHCTag;                  //LHC tag object
+  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)
 };
 //___________________________________________________________________________