]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New functions and constructors added and some other fixes.
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Sep 2000 12:27:41 +0000 (12:27 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Sep 2000 12:27:41 +0000 (12:27 +0000)
ITS/AliITSMapA1.h

index 75e5eff6d947b9d5af1f8789e7ff21861c239a1d..c814bdb7f3837f235433182a2292493dfe0182c9 100644 (file)
@@ -12,11 +12,10 @@ class AliITSMapA1 :
 {
   
 public:
-  AliITSMapA1() {
-    // constructor
-  }
+  AliITSMapA1();
   AliITSMapA1(AliITSsegmentation *seg);
   AliITSMapA1(AliITSsegmentation *seg, TObjArray *dig);
+  AliITSMapA1(AliITSsegmentation *seg, TObjArray *dig, Int_t threshold);
   AliITSMapA1(const AliITSMapA1 &source);
     // Assignment operator
   AliITSMapA1& operator=(const AliITSMapA1 &source);
@@ -28,6 +27,8 @@ public:
   virtual  void  ClearMap();    
     // Set a single hit
   virtual  void  SetHit(Int_t iz, Int_t ix, Int_t idigit);
+    // Set threshold for the signal
+  virtual  void  SetThreshold(Int_t thresh) {fMapThreshold=thresh;}
     // Delete a single hit
   virtual  void  DeleteHit(Int_t iz, Int_t ix);
     // Get index of hit in the list of digits
@@ -58,6 +59,7 @@ protected:
   
 private:
   Int_t *fHitMap;                      //! [fMaxIndex]
+  Int_t fMapThreshold;                 // signal threshold (ADC)
 
   ClassDef(AliITSMapA1,1)              // Implements Hit/Digit Map 
 };