]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RecoParam.h
new option for tests in alifakedisplay
[u/mrichter/AliRoot.git] / T0 / AliT0RecoParam.h
index d42c89ce76950413b60f47b9d204e5992c6446c1..933952124d1dc4f65ac1450f4829449bdf518f78 100644 (file)
@@ -19,26 +19,28 @@ class AliT0RecoParam : public AliDetectorRecoParam
   AliT0RecoParam(const AliT0RecoParam &p); //copy constructor
   AliT0RecoParam& operator=(const AliT0RecoParam &p);
   virtual ~AliT0RecoParam();
-   
- static   AliT0RecoParam *GetLowFluxParam();        // make reco parameters for low  flux env
+  
 static   AliT0RecoParam *GetLowFluxParam();        // make reco parameters for low  flux env
   static   AliT0RecoParam *GetHighFluxParam();       // make reco parameters for high flux env 
   static   AliT0RecoParam *GetLaserTestParam();  // special setting for laser SetLaserTestParam 
   //for monitoring
   //  static   AliT0RecoParam *GetHistRange();  //  limit of monitoring histograms
-
+  
+  //old staff  
   Float_t GetRefAmp()  const  {return fRefAmp;}
   void    SetRefAmp(Float_t amp)   { fRefAmp = amp;}
+  //now number of bad channel
   Int_t   GetRefPoint() const {return fRefPoint;}
   void    SetRefPoint(Int_t ref) {fRefPoint = ref;}
-
+  
+  //now low and high limit for multi-bunch recontruction
   Float_t   GetLow(Int_t numhist) const {return fLow[numhist];}
   //  Float_t   GetLow() {return *fLow;}
   void      SetLow(Int_t numhist, Float_t low) {fLow[numhist] = low;}
-
+  
   Float_t   GetHigh(Int_t numhist) const  {return fHigh[numhist];}
   //  Float_t   GetHigh()  {return *fHigh;}
   void      SetHigh(Int_t numhist, Float_t high) {fHigh[numhist] = high;}
-  
   Float_t   GetLatencyL1() const {return fLatencyL1;}
   void      SetLatencyL1(Float_t lat) {fLatencyL1 = lat;}
   Float_t   GetLatencyL1A() const {return fLatencyL1A;}
@@ -49,6 +51,21 @@ class AliT0RecoParam : public AliDetectorRecoParam
   void      SetLatencyHPTDC(Float_t lat) {fLatencyHPTDC = lat;}
   Float_t   GetVertexShift() const {return fVertexShift;}
   void      SetVertexShift(Float_t sh) {fVertexShift = sh;}
+  Int_t     GetCorridor() const {return Int_t (fLow[300]); }
+  void      SetCorridor(Int_t cor)  { fLow[300] = Float_t(cor);}
+
+  //new staff
+  Int_t  GetBadChannels(Int_t i) const {return fBadChannels[i];}
+  void SetBadChannels(Int_t i, Int_t value) {fBadChannels[i] = value;}
+  Float_t GetAmpLowThreshold() const {return fLow[200];}
+  Float_t GetAmpHighThreshold() const {return fHigh[200];}
+  
+  void SetSatelliteThresholds(Float_t low, Float_t high) 
+  {fSatelliteThresholds[0]=low;  fSatelliteThresholds[1]=high;}
+  Float_t GetLowSatelliteThreshold() const {return fSatelliteThresholds[0];}
+  Float_t GetHighSatelliteThreshold() const {return fSatelliteThresholds[1];}
+  void SetEq (Int_t eq) {fEqualised = eq; };
+  Int_t GetEq () const { return fEqualised;}
 
   void PrintParameters() const;
   
@@ -62,8 +79,11 @@ class AliT0RecoParam : public AliDetectorRecoParam
   Float_t   fLatencyL1C;         //Latency L1 for orC
   Float_t   fLatencyHPTDC;      //Latency HPTDC
   Float_t   fVertexShift;       // for slewing correcton
-
-  ClassDef(AliT0RecoParam, 4);
+  Int_t  fBadChannels[24];   // bad channels map
+  Float_t  fSatelliteThresholds[2];   // what we call satellite
+  Int_t fEqualised;                   // do we write pure CFD or equalized 
+  
+  ClassDef(AliT0RecoParam, 6);
  
 };
 #endif