]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVDigit.h
removed warnings
[u/mrichter/AliRoot.git] / MUON / AliMUONVDigit.h
index 99e6eca03db71a7c0a1b4e7531876e326a37e69e..f77eafb812d8b0ef8db620523d955d30eee38565 100644 (file)
@@ -23,6 +23,7 @@ public:
   virtual ~AliMUONVDigit();
   
   virtual Bool_t IsEqual(const TObject* object) const;
+  /// Advertise that we can be sorted in TCollections
   virtual Bool_t IsSortable() const { return kTRUE; }
   virtual Int_t Compare(const TObject* object) const;
   
@@ -63,11 +64,19 @@ public:
   /// Set the efficiencyApplied status
   virtual void EfficiencyApplied(Bool_t /*value*/=kTRUE) {}
   
-  /// Whether this digit has been calibrated or not
+  /// Whether this digit has been calibrated or not (see note 1 in AliMUONVDigit.cxx)
   virtual Bool_t IsCalibrated() const=0;
-  /// Set the calibrated status
+  /// Set the calibrated status (see note 1 in AliMUONVDigit.cxx)
   virtual void Calibrated(Bool_t value)=0;
-  
+
+  /// Whether this digit has charge in femto coulomb (see note 1 in AliMUONVDigit.cxx)
+  virtual Bool_t IsChargeInFC() const { return kFALSE; }
+  /// Set the unit value (see note 1 in AliMUONVDigit.cxx)
+  virtual void ChargeInFC(Bool_t value=kTRUE)=0;
+
+  /// Whether or not this digit was obtained from a conversion (e.g. real to simulated)
+  virtual Bool_t IsConverted() const { return kFALSE; }
+
   /// Whether this digit is used somewhere (typically in a cluster)
   virtual Bool_t IsUsed() const = 0;
   /// Set the used status
@@ -108,6 +117,10 @@ public:
   virtual Int_t Hit() const { return 0; }
   /// Set the hit number
   virtual void SetHit(Int_t /*n*/) { }
+  /// Hit age
+    virtual Float_t Time() const       {return 0;}
+  /// Set hit age
+      virtual void SetTime(Float_t /*t*/) { } 
   /// Number of tracks contributing to this digit
   virtual Int_t Ntracks() const { return 0; }
   /// Add a track (and its charge) to the list of tracks we handle