X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RALICE%2FAliDevice.h;h=25ebfa8043d72dfc4a5013b05f15c1ccfb2f0952;hb=75e130dfff0c843dc93d3f7943bd911acc500ebc;hp=8558a32fd468de2e71c9162931b1a4d9bbe24e44;hpb=27e6d8566e13fb56e7598a0a8a089ed00077d16f;p=u%2Fmrichter%2FAliRoot.git diff --git a/RALICE/AliDevice.h b/RALICE/AliDevice.h index 8558a32fd46..25ebfa8043d 100644 --- a/RALICE/AliDevice.h +++ b/RALICE/AliDevice.h @@ -27,11 +27,12 @@ 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 void ShowHit(Int_t j=0) const; // Show data of the j-th hit (j=0 means all hits) - virtual void Data(TString f="car") const; // Print device and all signal info for coord. frame f + virtual void Data(TString f="car",TString u="rad") const; // Print device/signal info for frame f and ang units u void GetExtremes(Float_t& vmin,Float_t& vmax,Int_t idx=1,TObjArray* hits=0,Int_t mode=1) const;// min and max signal void GetExtremes(Float_t& vmin,Float_t& vmax,TString name,TObjArray* hits=0,Int_t mode=1) const;// min and max signal TObjArray* SortHits(TString name,Int_t mode=-1,TObjArray* hits=0,Int_t mcal=1);// Sort hits by named signal value @@ -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,7) // Signal (Hit) handling of a generic device. + ClassDef(AliDevice,9) // Signal (Hit) handling of a generic device. }; #endif