#include <TString.h>
#include <TClonesArray.h>
#include "AliLHCTag.h"
+#include "AliDetectorTag.h"
+#include "AliQA.h"
class AliEventTag;
-class AliDetectorTag;
+//class AliDetectorTag;
//___________________________________________________________________________
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;}
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
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)
};
//___________________________________________________________________________