]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliDevice.h
had to introduce fDebug too (AliResonance does not inherit from TaskSE... %-|
[u/mrichter/AliRoot.git] / RALICE / AliDevice.h
index d75a9f78a0363c29699468279c2d3b9daeec6dd6..25ebfa8043d72dfc4a5013b05f15c1ccfb2f0952 100644 (file)
@@ -27,6 +27,7 @@ class AliDevice : public AliSignal
   void RemoveHits();                                 // Remove all AliSignals as hits from this module
   Int_t GetNhits() const;                            // Provide number of registered hits
   AliSignal* GetHit(Int_t j) const;                  // Access to the AliSignal registered as hit number j
+  AliSignal* GetHit(TString name) const;             // Provide the hit with the specified name
   AliSignal* GetIdHit(Int_t id) const;               // Provide the hit with unique identifier "id"
   TObjArray* GetHits();                              // Provide the references to all the registered hits
   virtual void Reset(Int_t mode=0);                  // Reset registered hits and AliSignal attributes
@@ -46,6 +47,6 @@ class AliDevice : public AliSignal
   TObjArray* fOrdered; //! Temp. array to hold the ordered hits
   TObjArray* fMarkers; //! Temp. array to hold the 3D markers for the hit display
 
- ClassDef(AliDevice,8) // Signal (Hit) handling of a generic device.
+ ClassDef(AliDevice,9) // Signal (Hit) handling of a generic device.
 };
 #endif