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"
34 ClassImp(AliMUONRawStream)
37 AliMUONRawStream::AliMUONRawStream(AliRawReader* rawReader)
39 // create an object to read MUON raw digits
41 fRawReader = rawReader;
42 fRawReader->Select(0);
43 fData = new UShort_t[fgkDataMax];
44 fDataSize = fPosition = 0;
49 AliMUONRawStream::AliMUONRawStream(const AliMUONRawStream& stream) :
52 Fatal("AliMUONRawStream", "copy constructor not implemented");
55 AliMUONRawStream& AliMUONRawStream::operator = (const AliMUONRawStream&
58 Fatal("operator =", "assignment operator not implemented");
62 AliMUONRawStream::~AliMUONRawStream()
70 Bool_t AliMUONRawStream::Next()
72 // read the next raw digit
73 // returns kFALSE if there is no digit left
75 Fatal("Next","method not implemented for raw data input");