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);
// 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
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();}
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