Add reaction plane to the header. Update the Lhyquid hypersurface parameterization...
[u/mrichter/AliRoot.git] / HLT / rec / AliRawReaderHLT.cxx
CommitLineData
9c7b5023 1// $Id: AliRawReaderHLT.cxx,v 1.3 2007/11/15 18:12:44 szostak Exp $
2
3/**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
6 * *
7 * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
8 * for The ALICE HLT Project. *
9 * *
10 * Permission to use, copy, modify and distribute this software and its *
11 * documentation strictly for non-commercial purposes is hereby granted *
12 * without fee, provided that the above copyright notice appears in all *
13 * copies and that both the copyright notice and this permission notice *
14 * appear in the supporting documentation. The authors make no claims *
15 * about the suitability of this software for any purpose. It is *
16 * provided "as is" without express or implied warranty. *
17 **************************************************************************/
18
19/** @file AliRawReaderHLT.cxx
20 @author Matthias Richter
21 @date
22 @brief AliRawReader implementation which replaces original input of
23 detectors with the appropriate HLT output. */
24
25// see header file for class documentation
26// or
27// refer to README to build package
28// or
29// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
30
31#include "AliRawReaderHLT.h"
32
33/** ROOT macro for the implementation of ROOT specific class methods */
34ClassImp(AliRawReaderHLT)
35
36AliRawReaderHLT::AliRawReaderHLT(AliRawReader* pRawreader, const char* options)
37 :
38 AliRawReader(),
39 fpParentReader(pRawreader),
40 fOptions()
41{
42 // see header file for class documentation
43 // or
44 // refer to README to build package
45 // or
46 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
47 fOptions=options;
48}
49
50AliRawReaderHLT::~AliRawReaderHLT()
51{
52 // see header file for class documentation
53}
54
55UInt_t AliRawReaderHLT::GetType() const
56{
57 // see header file for class documentation
58 return fpParentReader->GetType();
59}
60
61UInt_t AliRawReaderHLT::GetRunNumber() const
62{
63 // see header file for class documentation
64 return fpParentReader->GetRunNumber();
65}
66
67const UInt_t* AliRawReaderHLT::GetEventId() const
68{
69 // see header file for class documentation
70 return fpParentReader->GetEventId();
71}
72
73const UInt_t* AliRawReaderHLT::GetTriggerPattern() const
74{
75 // see header file for class documentation
76 return fpParentReader->GetTriggerPattern();
77}
78
79const UInt_t* AliRawReaderHLT::GetDetectorPattern() const
80{
81 // see header file for class documentation
82 return fpParentReader->GetDetectorPattern();
83}
84
85const UInt_t* AliRawReaderHLT::GetAttributes() const
86{
87 // see header file for class documentation
88 return fpParentReader->GetAttributes();
89}
90
91const UInt_t* AliRawReaderHLT::GetSubEventAttributes() const
92{
93 // see header file for class documentation
94 return fpParentReader->GetSubEventAttributes();
95}
96
97UInt_t AliRawReaderHLT::GetLDCId() const
98{
99 // see header file for class documentation
100 return fpParentReader->GetLDCId();
101}
102
103UInt_t AliRawReaderHLT::GetGDCId() const
104{
105 // see header file for class documentation
106 return fpParentReader->GetGDCId();
107}
108
109UInt_t AliRawReaderHLT::GetTimestamp() const
110{
111 // see header file for class documentation
112 return fpParentReader->GetTimestamp();
113}
114
115const UInt_t* AliRawReaderHLT::GetEquipmentAttributes() const
116{
117 // see header file for class documentation
118 return fpParentReader->GetEquipmentAttributes();
119}
120
121Int_t AliRawReaderHLT::GetEquipmentElementSize() const
122{
123 // see header file for class documentation
124 return fpParentReader->GetEquipmentElementSize();
125}
126
127Int_t AliRawReaderHLT::GetEquipmentHeaderSize() const
128{
129 // see header file for class documentation
130 return fpParentReader->GetEquipmentHeaderSize();
131}
132
133Int_t AliRawReaderHLT::GetEquipmentSize() const
134{
135 // see header file for class documentation
136 return fpParentReader->GetEquipmentSize();
137}
138
139Int_t AliRawReaderHLT::GetEquipmentType() const
140{
141 // see header file for class documentation
142 return fpParentReader->GetEquipmentType();
143}
144
145Int_t AliRawReaderHLT::GetEquipmentId() const
146{
147 // see header file for class documentation
148 return fpParentReader->GetEquipmentId();
149}
150
151Bool_t AliRawReaderHLT::ReadHeader()
152{
153 // see header file for class documentation
154 return fpParentReader->ReadHeader();
155}
156
157Bool_t AliRawReaderHLT::ReadNextData(UChar_t*& data)
158{
159 // see header file for class documentation
160 return fpParentReader->ReadNextData(data);
161}
162
163Bool_t AliRawReaderHLT::ReadNextInt(UInt_t& data)
164{
165 // see header file for class documentation
166 return fpParentReader->ReadNextInt(data);
167}
168
169Bool_t AliRawReaderHLT::ReadNextShort(UShort_t& data)
170{
171 // see header file for class documentation
172 return fpParentReader->ReadNextShort(data);
173
174}
175
176Bool_t AliRawReaderHLT::ReadNextChar(UChar_t& data)
177{
178 // see header file for class documentation
179 return fpParentReader->ReadNextChar(data);
180}
181
182Bool_t AliRawReaderHLT::ReadNext(UChar_t* data, Int_t size)
183{
184 // see header file for class documentation
185 return fpParentReader->ReadNext(data, size);
186}
187
188Bool_t AliRawReaderHLT::Reset()
189{
190 // see header file for class documentation
191 return fpParentReader->Reset();
192}
193
194Bool_t AliRawReaderHLT::NextEvent()
195{
196 // see header file for class documentation
197 fpParentReader-NextEvent();
198}
199
200Bool_t AliRawReaderHLT::RewindEvents()
201{
202 // see header file for class documentation
203 return fpParentReader->RewindEvents();
204}
205
206AliRawReader* AliRawReaderHLTCreateInstance(AliRawReader* pParentReader, const char* options)
207{
208 // see header file for class documentation
209 return new AliRawReaderHLT(pParentReader, options);
210}