]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsimulationSDD.h
Updating geometry for new scintillaton modules
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationSDD.h
index 91d4fd98f399614f7bcc97f81228ea2e64391a00..0863cd2117deb531f53fb23c47e685cbc4125e1d 100644 (file)
@@ -2,6 +2,7 @@
 #define ALIITSSIMULATIONSDD_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice     */
+
 /* $Id$ */
 
 #include <TNtuple.h>
@@ -61,7 +62,6 @@ class AliITSsimulationSDD : public AliITSsimulation {
     void CompressionParam(Int_t i, Int_t &db, Int_t &tl);
 
     virtual Int_t Convert10to8(Int_t signal) const;// 10 to 8 bit SDD compresion
-    virtual Int_t Convert8to10(Int_t signal) const;//undo 10 to 8 bit SDD compresion
     virtual void ZeroSuppression(const char *opt); // Apply zero suppresion
     virtual void Init2D();   // initiilzes 2D compresion algorithm
     virtual void Compress2D(); // Applies 2D compresion algorithm
@@ -125,7 +125,8 @@ class AliITSsimulationSDD : public AliITSsimulation {
     TObjArray*  GetHistArray() {return fHis;}
     // create a separate tree for background monitoring (2D) 
     virtual  void  MakeTreeB(Option_t *option="B") 
-       { fTreeB = new TNtuple("ntuple","2D backgr","nz:nl:nh:low:anode");}
+       { if(strstr(option,"B"))
+            fTreeB = new TNtuple("ntuple", "2D backgr","nz:nl:nh:low:anode");}
     // presently a dummy routine use TreeB() instead
     void GetTreeB(Int_t) { }
     // Return pointer to TreeB
@@ -164,6 +165,7 @@ class AliITSsimulationSDD : public AliITSsimulation {
                                    // output of the real part of FFT
     Double_t       *fOutZI;        //! [fScaleSize*fMaxNofSamples] 
                                    // output of the imaginary part of FFT
+    Bool_t         *fAnodeFire;     //! [#of anodes] Flag if there is a signal
 
     TObjArray *fHis;          // just in case for histogramming
     TArrayI    fD;            // decrease values for baseline eq.