]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVRawStreamTracker.h
Remove default OCDB location and exit with fatal error if OCDB URI is
[u/mrichter/AliRoot.git] / MUON / AliMUONVRawStreamTracker.h
index a1997d08b193b578dade308a73e8caa51e4bffd7..62e343a80eed426e21b02777d64ac99e9ddea366 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "AliMUONRawStream.h"
 
+class AliMUONDDLTracker;
+
 class AliMUONVRawStreamTracker : public AliMUONRawStream
 {
 public:
@@ -33,38 +35,8 @@ public:
                                UShort_t& manuId, UChar_t& manuChannel,
                                UShort_t& adc) = 0;
        
-       /// Class used in the following Next() method to return blocks of decoded
-       /// channel data. This is better because we generate a lot fewer method calls.
-       class AliChannelInfo
-       {
-       public:
-               /// Default constructor.
-               AliChannelInfo(Int_t busPatchId = 0, UShort_t manuId = 0, UChar_t channelId = 0, UShort_t adc = 0) :
-                       fBusPatchId(busPatchId), fManuId(manuId), fChannelId(channelId), fADC(adc)
-               {}
-               
-               /// Returns the bus patch ID.
-               Int_t BusPatchId() const { return fBusPatchId; }
-               /// Returns the MANU ID.
-               UShort_t ManuId() const { return fManuId; }
-               /// Returns the channel ID.
-               UShort_t ChannelId() const { return fChannelId; }
-               /// ADC signal.
-               UShort_t ADC() const { return fADC; }
-       
-       private:
-               Int_t fBusPatchId;  //!< The bus patch ID for this channel.
-               UShort_t fManuId;   //!< MANU ID.
-               UChar_t fChannelId; //!< MANU channel ID.
-               UShort_t fADC;      //!< ADC signal.
-       };
-       
-       /// Returns the next batch of decoded channel data.
-       /// [out] \param channels  This is filled with the pointer to the array
-       ///                        containing the channel information.
-       /// \return The number of elements in the 'channels' array is returned.
-       ///     Zero is returned if there are no more digits to be fetched.
-       virtual UInt_t Next(const AliChannelInfo*& channels) = 0;
+       /// Return pointer to DDL payload object.
+       virtual AliMUONDDLTracker* GetDDLTracker() const = 0;
        
        /// Return maximum number of DDLs
        static Int_t GetMaxDDL() { return fgkMaxDDL; };