]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsimulationSSD.h
fWSN->Eval(0.001) to avoid fpe.
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationSSD.h
index 9ed4cb0a3667c32aa5f1e9cfa98ed331a66738cd..98656f1993cec6fcb61fb47e16ef2f3a1b92ca65 100644 (file)
@@ -2,6 +2,7 @@
 #define ALIITSSIMULATIONSSD_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice     */
+
 /* $Id$ */
 
 #include "AliITSsimulation.h"
@@ -27,6 +28,10 @@ class AliITSsimulationSSD: public AliITSsimulation {
     virtual ~AliITSsimulationSSD();
     // Initilize variables for this simulation
     void Init(AliITSsegmentationSSD *seg,AliITSresponseSSD *resp);
+    // Create maps to build the lists of tracks for each summable digit
+    void InitSimulationModule(Int_t module,Int_t events);
+    // Digitize module from the sum of summable digits.
+    void FinishSDigitiseModule();
     //Digitizes all of the hits in a module
     void DigitiseModule(AliITSmodule *mod,Int_t dummy0,Int_t dummy1);
     // Computes the Summable Digits
@@ -36,7 +41,7 @@ class AliITSsimulationSSD: public AliITSsimulation {
     //Computes the signal from one hit
     void HitToDigit(Int_t module,Double_t x0,Double_t y0,Double_t z0, 
                    Double_t x,Double_t y,Double_t z,Double_t de,
-                   Int_t *indexRange,Bool_t first);
+                   AliITSTableSSD *tav);
     //returns a pointer to the SSD segmentation.
     AliITSsegmentationSSD *GetSegmentation() {
        return (AliITSsegmentationSSD*) fSegmentation;}
@@ -78,7 +83,7 @@ class AliITSsimulationSSD: public AliITSsimulation {
     // Diffuses the charge onto neighboring strips.
     void    IntegrateGaussian(Int_t k,Double_t par,Double_t av,Double_t sigma, 
                              Double_t inf, Double_t sup,
-                             Int_t *indexRange, Bool_t first);
+                             AliITSTableSSD *tav);
      // Applies noise to strips randomly
     void    ApplyNoise(AliITSpList *pList,Int_t mod);
      // Applies posible signal coupling between strips
@@ -99,6 +104,9 @@ class AliITSsimulationSSD: public AliITSsimulation {
     Double_t    fIonE;        // ionization energy of Si in GeV
     Double_t    fDifConst[2]; // Diffusion constants [h,e] in cm**2/sec
     Double_t    fDriftVel[2]; // Drift velocities [P,N sides] cm/sec
+//    Int_t       fModule;      //! Current module number
+//    Int_t       fEvent;       //! Current Event number
+//    AliITSpList *fpList;      //! Array of s digits.
 
     ClassDef(AliITSsimulationSSD,2) // SSD signal simulation class