]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVDigit.h
Reading PMT gains from an external file
[u/mrichter/AliRoot.git] / MUON / AliMUONVDigit.h
index 636c1b1cd3d0555cb32c29c259a85717b54f6ca5..f77eafb812d8b0ef8db620523d955d30eee38565 100644 (file)
@@ -64,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
@@ -109,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