]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFRunParams.h
New kaon train macros
[u/mrichter/AliRoot.git] / TOF / AliTOFRunParams.h
index f82033e47ef249c9df912bf665060e59ccfd43cc..42f3b0c6262faff6139ce80482146c834cc6b814 100644 (file)
@@ -52,6 +52,8 @@ public TObject
   void SetRunFirstPoint(UInt_t *value) {if (fRunFirstPoint) for (Int_t i = 0; i < fNRuns; i++) fRunFirstPoint[i] = value[i];}; // setter
   void SetRunLastPoint(UInt_t *value) {if (fRunLastPoint) for (Int_t i = 0; i < fNRuns; i++) fRunLastPoint[i] = value[i];}; // setter
 
+  void SetUseLHCClockPhase(Bool_t value) {fUseLHCClockPhase = value;}; // setter
+
   Float_t EvalT0(UInt_t timestamp); // eval T0
   Float_t EvalTOFResolution(UInt_t timestamp); // eval TOF resolution
   Float_t EvalT0Spread(UInt_t timestamp); // eval T0 spread
@@ -60,6 +62,8 @@ public TObject
   Float_t AverageTOFResolution(UInt_t runNb) {return Average(fTOFResolution, runNb);}; // average TOF resolution
   Float_t AverageT0Spread(UInt_t runNb) {return Average(fT0Spread, runNb);}; // average T0 spread
 
+  Bool_t GetUseLHCClockPhase() const {return fUseLHCClockPhase;}; // getter
+
   TGraph *DrawGraphT0(Option_t *option = "") {return DrawGraph(fT0, option);}; // draw graph t0
   TGraph *DrawGraphTOFResolution(Option_t *option = "") {return DrawGraph(fTOFResolution, option);}; // draw graph t0
   TGraph *DrawGraphT0Spread(Option_t *option = "") {return DrawGraph(fT0Spread, option);}; // draw graph t0
@@ -88,8 +92,10 @@ public TObject
   UInt_t *fRunFirstPoint; //[fNRuns] run start point
   UInt_t *fRunLastPoint; //[fNRuns] run last point
 
+  Bool_t fUseLHCClockPhase; // use LHC clockphase
+
 
-  ClassDef(AliTOFRunParams, 2);
+  ClassDef(AliTOFRunParams, 3);
 };
 
 #endif /* ALITOFRUNPARAMS_H */