Update for complying with train (first round)
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTOUTRawReader.h
CommitLineData
176d8684 1//-*- Mode: C++ -*-
2// @(#) $Id$
3
4#ifndef ALIHLTOUTRAWREADER_H
5#define ALIHLTOUTRAWREADER_H
c5123824 6//* This file is property of and copyright by the ALICE HLT Project *
7//* ALICE Experiment at CERN, All rights reserved. *
8//* See cxx source for full Copyright notice */
176d8684 9
10/** @file AliHLTOUTRawReader.h
11 @author Matthias Richter
12 @date
13 @brief HLTOUT data wrapper for AliRawReader.
c5123824 14*/
64defa03 15
c5123824 16#include "AliHLTOUTHomerCollection.h"
176d8684 17
18class AliRawReader;
19class AliHLTHOMERReader;
20
21/**
22 * @class AliHLTOUTRawReader
23 * Handler of HLTOUT data for AliRawReader input.
24 */
c5123824 25class AliHLTOUTRawReader : public AliHLTOUTHomerCollection {
176d8684 26 public:
27 /** constructor */
c5123824 28 AliHLTOUTRawReader(AliRawReader* pRawReader, int event=-1, AliHLTEsdManager* pEsdManager=NULL);
176d8684 29 /** destructor */
30 virtual ~AliHLTOUTRawReader();
31
32 protected:
c5123824 33 // interface functions of AliHLTOUTHomerCollection
34 Bool_t ReadNextData(UChar_t*& data);
35 int Reset();
36 int GetDataSize();
37 const AliRawDataHeader* GetDataHeader();
38 void SelectEquipment(int equipmentType, int minEquipmentId = -1, int maxEquipmentId = -1);
39 int GetEquipmentId();
176d8684 40
41 private:
42 /** standard constructor prohibited */
43 AliHLTOUTRawReader();
44 /** copy constructor prohibited */
45 AliHLTOUTRawReader(const AliHLTOUTRawReader&);
46 /** assignment operator prohibited */
47 AliHLTOUTRawReader& operator=(const AliHLTOUTRawReader&);
48
176d8684 49 /** the rawreader */
50 AliRawReader* fpRawreader; //!transient
51
c5123824 52 ClassDef(AliHLTOUTRawReader, 1)
176d8684 53};
54#endif