Updates in the PHOS/EMCAL raw-data reading code due to the new mapping is PHOS (Yuri...
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDateOnline.h
CommitLineData
3b98a4d4 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
23class AliRawReaderDateOnline: public AliRawReaderDate {
24 public :
25 AliRawReaderDateOnline(const char* fileName);
26 virtual ~AliRawReaderDateOnline();
27
28 virtual Bool_t NextEvent();
36a7d3c6 29 // virtual Bool_t RewindEvents();
3b98a4d4 30
2d91a353 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
20e6c4f4 36 protected:
37 virtual void SelectEvents(Int_t type, ULong64_t triggerMask = 0, const char *triggerExpr = NULL);
38
3b98a4d4 39 private:
40 AliRawReaderDateOnline(const AliRawReaderDateOnline& rawReader);
41 AliRawReaderDateOnline& operator = (const AliRawReaderDateOnline& rawReader);
42
43 ClassDef(AliRawReaderDateOnline, 0) // class for reading DATE raw data from shared memory
44};
45
46#endif