X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONVTrackerData.h;h=8ef7db2aab7f9489b5c9512b6c369c198926c8ed;hb=fe0af2550d3cdb2570fa09852391f9849ba4954d;hp=c465d68fdf09bcdc41ac7ea987bd8f4cbe2ca2f4;hpb=49419555ad4a62c37cff03b3263946838aee56db;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONVTrackerData.h b/MUON/AliMUONVTrackerData.h index c465d68fdf0..8ef7db2aab7 100644 --- a/MUON/AliMUONVTrackerData.h +++ b/MUON/AliMUONVTrackerData.h @@ -6,7 +6,7 @@ // $Id$ -/// \ingroup graphics +/// \ingroup calib /// \class AliMUONVTrackerData /// \brief Base class for MUON data that can be presented at different levels /// in the hierarchy of the MUON system. @@ -26,6 +26,7 @@ class AliMUONSparseHisto; class AliMUONVStore; class TCollection; +class TArrayI; class AliMUONVTrackerData : public TNamed, public TQObject { @@ -36,8 +37,11 @@ public: virtual ~AliMUONVTrackerData(); /// Add values for one event from one full store - virtual Bool_t Add(const AliMUONVStore& store) = 0; + virtual Bool_t Add(const AliMUONVStore& store, TArrayI* arrayOfNofEventsPerDDL=0x0) = 0; + /// Replace values + virtual Bool_t Replace(const AliMUONVStore& store) = 0; + /// Get the value for a given buspatch and given dimension virtual Double_t BusPatch(Int_t busPatchId, Int_t dim=0) const = 0; @@ -96,8 +100,10 @@ public: /// The number of dimensions we are inputting virtual Int_t ExternalDimension() const = 0; - /// The number of events we've seen so far - virtual Int_t NumberOfEvents() const = 0; + /** The number of events we've seen so far in a given DDL (or any DDL if param<0) + ddlNumber is 0..19 + */ + virtual Int_t NumberOfEvents(Int_t ddlNumber) const = 0; /// Signal to indicate that the number of events changed virtual void NumberOfEventsChanged(); // *SIGNAL* @@ -134,9 +140,25 @@ public: virtual AliMUONSparseHisto* GetChannelSparseHisto(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t dim=0) const = 0; + /// Get sparse histogram for a given manu (valid only if IsChannelLevelEnabled()==kFALSE and IsManuLevelEnabled()==kTRUE) + virtual AliMUONSparseHisto* GetManuSparseHisto(Int_t detElemId, Int_t manuId, + Int_t dim=0) const = 0; + /// To allow merging of different objects virtual Long64_t Merge(TCollection* list) = 0; + /// Disable recording of information at the channel level + virtual void DisableChannelLevel() = 0; + + /// Whether we store values at the channel level + virtual Bool_t IsChannelLevelEnabled() const = 0; + + /// Disable recording of information at the manu level (and below) + virtual void DisableManuLevel() = 0; + + /// Whether we store values at the channel level + virtual Bool_t IsManuLevelEnabled() const = 0; + private: /// not implemented AliMUONVTrackerData(const AliMUONVTrackerData& rhs);