]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - STEER/AliCTPRawStream.h
Adding Generate method to build a store with identical values (Laurent)
[u/mrichter/AliRoot.git] / STEER / AliCTPRawStream.h
... / ...
CommitLineData
1#ifndef ALICTPRAWSTREAM_H
2#define ALICTPRAWSTREAM_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 the CTP (trigger) DDL raw data
9/// The format of the raw data is taken form the trigger TDR
10///
11///////////////////////////////////////////////////////////////////////////////
12
13#include <TObject.h>
14
15class AliRawReader;
16
17class AliCTPRawStream: public TObject {
18 public :
19 AliCTPRawStream(AliRawReader* rawReader);
20 virtual ~AliCTPRawStream();
21
22 virtual void Reset();
23 virtual Bool_t Next();
24
25 inline ULong64_t GetClassMask() const { return fClassMask; } // Provide the trigger class mask
26 inline UChar_t GetClusterMask() const { return fClusterMask; }// Provide the trigger cluster mask
27
28 protected:
29 AliCTPRawStream(const AliCTPRawStream& stream);
30 AliCTPRawStream& operator = (const AliCTPRawStream& stream);
31
32 private:
33
34 ULong64_t fClassMask; // trigger class mask
35 UChar_t fClusterMask; // trigger cluster mask
36
37 AliRawReader* fRawReader; // object for reading the raw data
38
39 ClassDef(AliCTPRawStream, 0) // class for reading CTP DDL raw data
40};
41
42#endif