1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 ///////////////////////////////////////////////////////////////////////////////
19 /// This class provides access to MUON digits in raw data.
21 /// It loops over all MUON digits in the raw data given by the AliRawReader.
22 /// The Next method goes to the next digit. If there are no digits left
23 /// it returns kFALSE.
25 /// First version implement only the structure for the moment
27 ///////////////////////////////////////////////////////////////////////////////
29 #include "AliMUONRawStream.h"
31 #include "AliRawReader.h"
35 ClassImp(AliMUONRawStream)
38 AliMUONRawStream::AliMUONRawStream(AliRawReader* rawReader)
40 // create an object to read MUON raw digits
42 fRawReader = rawReader;
43 fRawReader->Select(0);
44 fData = new UShort_t[fgkDataMax];
45 fDataSize = fPosition = 0;
50 AliMUONRawStream::AliMUONRawStream(const AliMUONRawStream& stream) :
53 AliFatal("copy constructor not implemented");
56 AliMUONRawStream& AliMUONRawStream::operator = (const AliMUONRawStream&
59 AliFatal("assignment operator not implemented");
63 AliMUONRawStream::~AliMUONRawStream()
71 Bool_t AliMUONRawStream::Next()
73 // read the next raw digit
74 // returns kFALSE if there is no digit left
76 AliFatal("method not implemented for raw data input");