]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDigit.h
Add new alignment object with residual PHOS misalignment
[u/mrichter/AliRoot.git] / MUON / AliMUONDigit.h
index 20c4750104e10fe2d28ac70296d42b7d39a02073..21d2b29a236e037e8a2520a306330401ed241d86 100644 (file)
@@ -48,7 +48,9 @@ class AliMUONDigit : public TObject
     virtual Int_t ManuId() const { return fManuId; }
     virtual Int_t ManuChannel() const { return fManuChannel; }
     virtual Bool_t IsSaturated() const;
+    virtual Bool_t IsNoiseOnly() const;
     
+    virtual void NoiseOnly(Bool_t value=kTRUE);
     virtual void Saturated(Bool_t saturated=kTRUE);
     virtual void SetElectronics(Int_t manuId, Int_t manuChannel);
     virtual void SetADC(Int_t adc) { fADC=adc; }
@@ -76,23 +78,31 @@ class AliMUONDigit : public TObject
     virtual void PatchTracks(Int_t mask);
     
 private:
-    Int_t fDetElemId;     // Detection element ID
-    Int_t fManuId;        // Id of the MANU chip.
-    Int_t fManuChannel;   // Channel within the MANU chip.
-    Int_t fSignal;        // Signal amplitude    
+    Int_t fDetElemId;     ///< Detection element ID
+    Int_t fManuId;        ///< Id of the MANU chip.
+    Int_t fManuChannel;   ///< Channel within the MANU chip.
+    Int_t fSignal;        ///< Signal amplitude    
       
-    Int_t fPadX;          // Pad number along x
-    Int_t fPadY;          // Pad number along y
-    Int_t fCathode;       // Cathode number
-    Int_t fADC;           // ADC value
-    UInt_t fFlags;        // Special flags (e.g. is the signal an overflow ?)
+    Int_t fPadX;          ///< Pad number along x
+    Int_t fPadY;          ///< Pad number along y
+    Int_t fCathode;       ///< Cathode number
+    Int_t fADC;           ///< ADC value
+    UInt_t fFlags;        ///< Special flags (e.g. is the signal an overflow ?)
     
-    Int_t fNtracks;       // MC tracks making to this digit.
-    Int_t* fTcharges;     //[fNtracks] charges of MC track making this digit
-    Int_t* fTracks;       //[fNtracks] primary MC tracks making this digit
-    Int_t fPhysics;       // MC physics contribution to signal 
-    Int_t fHit;           // MC hit number - temporary solution
+    Int_t fNtracks;       ///< MC tracks making to this digit.
+    
+    /// charges of MC track making this digit
+    Int_t* fTcharges;     //[fNtracks]  charges of MC track making this digit
+
+    /// primary MC tracks making this digit
+    Int_t* fTracks;       //[fNtracks]  primary MC tracks making this digit
+
+    Int_t fPhysics;       ///< MC physics contribution to signal 
+    Int_t fHit;           ///< MC hit number - temporary solution
   
+    static const UInt_t fgkSaturatedMask = 0x1; ///< the mask (part of fFlags) to indicate this digit is saturated
+    static const UInt_t fgkNoiseOnlyMask = 0x1000; ///< indicate a simulated digit due to noise only
+    
     ClassDef(AliMUONDigit,4)  //Digits for MUON
 };
 #endif