]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsimulationSPD.h
Code causing warning messages corrected.
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationSPD.h
index 35162ad7249620e4c680d3b9c751d404bb217ae2..38c2853fb15c73b048764c6867f938991ae86c93 100644 (file)
@@ -30,6 +30,10 @@ class AliITSsimulationSPD : public AliITSsimulation {
     void Init(AliITSsegmentationSPD *seg, AliITSresponseSPD *resp);
 
     // Sum digitize module
+    // 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();
     void SDigitiseModule(AliITSmodule *mod, Int_t dummy0,Int_t dummy1);
     // digitize module. Also need to digitize modules with only noise.
     void DigitiseModule(AliITSmodule *mod,Int_t dummy0, Int_t dummy1);
@@ -63,9 +67,16 @@ class AliITSsimulationSPD : public AliITSsimulation {
     //  Take into account the coupling between adiacent pixels.
     //  The parameters probcol and probrow are the fractions of the
     //  signal in one pixel shared in the two adjacent pixels along
-    //  the column and row direction, respectively.
+    //  the column and row direction, respectively. Now done in a statistical
+    //  way and not "mechanical" as in the Old version.
     void SetCoupling(Int_t row,Int_t col,Int_t ntrack,Int_t idhit,Int_t module,
                     AliITSpList *pList);
+    //  Take into account the coupling between adiacent pixels.
+    //  The parameters probcol and probrow are the fractions of the
+    //  signal in one pixel shared in the two adjacent pixels along
+    //  the column and row direction, respectively.
+    void SetCouplingOld(Int_t row,Int_t col,Int_t ntrack,Int_t idhit,
+                       Int_t module,AliITSpList *pList);
     // The pixels are fired if the energy deposited inside them is above
     // the threshold parameter ethr. Fired pixed are interpreted as digits
     // and stored in the file digitfilename. One also needs to write out
@@ -100,7 +111,7 @@ class AliITSsimulationSPD : public AliITSsimulation {
     void GetThresholds(Float_t &t,Float_t &s){
     ((AliITSresponseSPD*)fResponse)->Thresholds(t,s);}
     // Returns the couplings Columb and Row.
-    void GetCouplings(Float_t &cc,Float_t cr){
+    void GetCouplings(Float_t &cc,Float_t &cr){
        ((AliITSresponseSPD*)fResponse)->GetNoiseParam(cc,cr);}
     // Returns the number of pixels in x
     Int_t GetNPixelsX(){return ((AliITSsegmentationSPD*)fSegmentation)->Npx();}
@@ -115,6 +126,9 @@ class AliITSsimulationSPD : public AliITSsimulation {
     Int_t        fNPixelsX; //! NPixelsX from fSegmentation
     Int_t        fNPixelsZ; //! NPixelsZ from fSegmentation
 */
+//    AliITSpList  *fList;    //! Internal map and sdigits
+//    Int_t         fModule;  //! Module number being simulated
+//    Int_t         fEvent;   //! Event number being simulated
     AliITSMapA2  *fMapA2;   //! MapA2 for Local internal use only
     TObjArray    *fHis;     //! just in case for histogramming for Local
                             // internal use only