]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
parameters for Lorentz angle correc tion in SPD and SSD
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Oct 2010 10:20:54 +0000 (10:20 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Oct 2010 10:20:54 +0000 (10:20 +0000)
ITS/AliITSRecoParam.cxx
ITS/AliITSRecoParam.h

index 3227a27822b94e45acd1b7649448dcf4cda7837d..84f26da4d4dbadb2493fccb2870dca6724130def 100644 (file)
@@ -211,6 +211,12 @@ fMultCutGammaSFromDecay(-10.),
 fMultCutK0SFromDecay(-10.),
 fMultCutMaxDCA(1.),
 //
+fCorrectLorentzAngleSPD(kFALSE),
+fLorentzAngleHolesSPD(0.),
+fCorrectLorentzAngleSSD(kFALSE),
+fLorentzAngleHolesSSD(0.),
+fLorentzAngleElectronsSSD(0.),
+//
 fESDV0Params(NULL)
 {
   //
index 73645f030e1593cdfa640d0b2a0184d1e73d66d7..590c9c6192efffaf0e6c6ce85d9a3ce7c67cffbb 100644 (file)
@@ -430,6 +430,20 @@ class AliITSRecoParam : public AliDetectorRecoParam
   void    SetMultCutMaxDCA(Float_t v=1.)                 { fMultCutMaxDCA = v;}
   //
   AliESDV0Params *GetESDV0Params() const {return fESDV0Params;}
+  //
+  // Lorentz angle
+  Bool_t  GetCorrectLorentzAngleSPD() const {return fCorrectLorentzAngleSPD;}
+  Float_t GetLorentzAngleHolesSPD() const {return fLorentzAngleHolesSPD;}
+  Bool_t  GetCorrectLorentzAngleSSD() const {return fCorrectLorentzAngleSSD;}
+  Float_t GetLorentzAngleHolesSSD() const {return fLorentzAngleHolesSSD;}
+  Float_t GetLorentzAngleElectronsSSD() const {return fLorentzAngleElectronsSSD;}
+
+  void SetCorrectLorentzAngleSPD(Bool_t flag) {fCorrectLorentzAngleSPD=flag;}
+  void SetLorentzAngleHolesSPD(Float_t la) {fLorentzAngleHolesSPD=la;}
+  void SetCorrectLorentzAngleSSD(Bool_t flag) {fCorrectLorentzAngleSSD=flag;}
+  void SetLorentzAngleHolesSSD(Float_t la) {fLorentzAngleHolesSSD=la;}
+  void SetLorentzAngleElectronsSSD(Float_t la) {fLorentzAngleElectronsSSD=la;}
+
   //
   enum {fgkMaxClusterPerLayer=70000}; //7000*10;   // max clusters per layer
   enum {fgkMaxClusterPerLayer5=28000};//7000*10*2/5;  // max clusters per layer
@@ -684,13 +698,20 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Float_t fMultCutK0SFromDecay;           // min path*P for K0s
   Float_t fMultCutMaxDCA;                 // max DCA for V0 at ESD vertex
   //
+  // Lorentz angle
+  Bool_t fCorrectLorentzAngleSPD;         // flag to enable correction
+  Float_t fLorentzAngleHolesSPD;          // angle for holes in SPD
+  Bool_t fCorrectLorentzAngleSSD;         // flag to enable correction
+  Float_t fLorentzAngleHolesSSD;          // angle for holes in SSD
+  Float_t fLorentzAngleElectronsSSD;          // angle for electrons in SSD
+
  private:
   AliESDV0Params * fESDV0Params;  // declare the AliESDV0Params to be able to used in AliITSV0Finder
 
   AliITSRecoParam(const AliITSRecoParam & param);
   AliITSRecoParam & operator=(const AliITSRecoParam &param);
 
-  ClassDef(AliITSRecoParam,31) // ITS reco parameters
+  ClassDef(AliITSRecoParam,32) // ITS reco parameters
 };
 
 #endif