]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RAW/AliRawReaderDateOnline.h
Preparing for the altro V3 format simulation. Obsolete methods removed + some of...
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDateOnline.h
1 #ifndef ALIRAWREADERDATEONLINE_H
2 #define ALIRAWREADERDATEONLINE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ///////////////////////////////////////////////////////////////////////////////
7 ///
8 /// This is a class for reading raw data from a date monitoring libraries.
9 /// It supports two modes - event taken from shared memory via DATE monitoring
10 /// libs, or an emulation mode when the events are taken from a DATE file using
11 /// the same monitoring libs.
12 /// The constructor requires an argument:
13 ///
14 /// : - events are taken from shared memory
15 ///  or
16 /// <DATE_filename> - events are taken from date file
17 ///
18 /// Cvetan Cheshkov 1/04/2008
19 ///////////////////////////////////////////////////////////////////////////////
20
21 #include "AliRawReaderDate.h"
22
23 class AliRawReaderDateOnline: public AliRawReaderDate {
24   public :
25     AliRawReaderDateOnline(const char* fileName);
26     virtual ~AliRawReaderDateOnline();
27
28     virtual Bool_t   NextEvent();
29     //    virtual Bool_t   RewindEvents();
30
31     // Method which can be used in order to force the auto-save on
32     // ESD tree inside AliReconstruction. For the moment it will be
33     // activated only for AliRawReaderDateOnline.
34     virtual Bool_t   UseAutoSaveESD() const { return kTRUE; }
35
36   private:
37     AliRawReaderDateOnline(const AliRawReaderDateOnline& rawReader);
38     AliRawReaderDateOnline& operator = (const AliRawReaderDateOnline& rawReader);
39
40     ClassDef(AliRawReaderDateOnline, 0) // class for reading DATE raw data from shared memory
41 };
42
43 #endif