X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSsimulationSSD.h;h=3f032cb3aa61682f509f51781d612b5d53e0f4d7;hb=fb53b259a9df2d97528fffe53018ce33957624d4;hp=7d5609b52c0a9529757312721d96ba12fe4e365e;hpb=7d3b8602da77d97d33124674bdbb8b7208498e8c;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSsimulationSSD.h b/ITS/AliITSsimulationSSD.h index 7d5609b52c0..3f032cb3aa6 100644 --- a/ITS/AliITSsimulationSSD.h +++ b/ITS/AliITSsimulationSSD.h @@ -72,6 +72,19 @@ class AliITSsimulationSSD: public AliITSsimulation { //Sets the Drift velocity for the P and N sides void SetDriftVelocity(Double_t v0=0.86E+06,Double_t v1=2.28E+06) {fDriftVel[0] = v0;fDriftVel[1] = v1;} + + + // Decide whether to use or not the Lorentz drift + void SetLorentzDrift(Bool_t b=kFALSE) + {fLorentz=b; if(fLorentz) SetTanLorAngle();}; + // Set the Lorentz angles + Bool_t SetTanLorAngle(); + // Getter for the Lorentz angles + Double_t GetTanLorAngleP() const {return fTanLorAngP;}; + Double_t GetTanLorAngleN() const {return fTanLorAngN;}; + // + + // Standard ascii class print function void Print(ostream *os); // Standard ascii class read function @@ -97,7 +110,7 @@ class AliITSsimulationSSD: public AliITSsimulation { void GetList(Int_t trk,Int_t ht,Int_t mod,AliITSpList *pLt, AliITSTableSSD *tav); // sets thresholds and fills digits - void ChargeToSignal(Int_t module,AliITSpList *pList); + void ChargeToSignal(Int_t module,const AliITSpList *pList); // Writes Summable Digits to a root file for later use. void WriteSDigits(AliITSpList *pList); // ReadSDigits and create Digits @@ -128,7 +141,12 @@ class AliITSsimulationSSD: public AliITSsimulation { TF1 *fTimeResponse; // signal time response function - ClassDef(AliITSsimulationSSD,2) // SSD signal simulation class + Bool_t fLorentz; // kTRUE if Lorentz drift has been allowed + Double_t fTanLorAngP; //! Tangent of the Lorentz Angle for holes + Double_t fTanLorAngN; //! Tangent of the Lorentz Angle for electrons + + + ClassDef(AliITSsimulationSSD,3) // SSD signal simulation class }; // Input and output functions for standard C++ input/output.