]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/src/AliL3Transform.h
Added getter GetNRows()
[u/mrichter/AliRoot.git] / HLT / src / AliL3Transform.h
index 0ec7810d16a24c5b6577b2c7dfbd848c37335f9d..ba7985f4fd9fb239df58db248c24f0fe58131181 100644 (file)
@@ -8,6 +8,7 @@ class AliL3Transform {
  private:
   
   static Double_t fBField;
+  static Int_t fBFieldFactor;
   static Int_t fNTimeBins;
   static Int_t fNRowLow;
   static Int_t fNRowUp;
@@ -27,20 +28,44 @@ class AliL3Transform {
   static Int_t fNPads[176]; //fill this following Init
   static Double_t fX[176];  //fill this following Init
   static Int_t fVersion; //flags which version one is using
+  static Int_t fRows[6][2];
+  static Int_t fNRows[6];
+  static Int_t fNPatches;
+  
+  static Double_t fDiffT; //Transversal diffusion constant
+  static Double_t fDiffL; //Longitudinal diffusion constant
+  static Double_t fAnodeWireSpacing; 
+  static Double_t fInnerPadLength;
+  static Double_t fOuterPadLength;
+  static Double_t fInnerPRFSigma;
+  static Double_t fOuterPRFSigma;
+  static Double_t fTimeSigma; //Minimal longitudinal width
 
  public:
   
   static void Init(const Char_t* path); //new init for all AliRoot versions
   
   static void SetBField(Double_t f) {fBField = f;}
+  static Int_t GetFirstRow(Int_t patch) {return fRows[patch][0];}
+  static Int_t GetLastRow(Int_t patch) {return fRows[patch][1];}
+  static Int_t GetNRows(Int_t patch) {return fNRows[patch];}
+  static Int_t GetNRows() {return fNRow;}
+  static Int_t GetNPatches() {return fNPatches;}
   static Double_t GetBField() {return fBField;}
+  static Double_t Pi() {return fPi;}
   static Int_t GetVersion(){return fVersion;}
   static Double_t GetPadPitchWidthLow() {return fPadPitchWidthLow;}
   static Double_t GetPadPitchWidthUp() {return fPadPitchWidthUp;}
-  static Double_t GetPadPitchWidth(Int_t patch) {if(patch<=2) return fPadPitchWidthLow; else return fPadPitchWidthUp;}
+  static Double_t GetPadPitchWidth(Int_t patch) {return patch < 2 ? fPadPitchWidthLow : fPadPitchWidthUp;}  
   static Double_t GetZWidth() {return fZWidth;}
   static Double_t GetZLength() {return fZLength;}
   static Double_t GetZOffset() {return fZOffset;}
+  static Double_t GetDiffT() {return fDiffT;}
+  static Double_t GetDiffL() {return fDiffL;}
+  static Double_t GetAnodeWireSpacing() {return fAnodeWireSpacing;}
+  static Double_t GetPadLength(Int_t patch) {return patch < 2 ? fInnerPadLength : fOuterPadLength;}
+  static Double_t GetPRFSigma(Int_t patch) {return patch < 2 ? fInnerPRFSigma : fOuterPRFSigma;}
+  static Double_t GetTimeSigma() {return fTimeSigma;}
   static Int_t GetNSectorLow() {return fNSectorLow;}
   static Int_t GetNSectorUp() {return fNSectorUp;}