Add conversion class to produce fake raw data
[u/mrichter/AliRoot.git] / TRD / AliTRDrawData.h
CommitLineData
5990c064 1#ifndef ALITRDRAWDATA_H
2#define ALITRDRAWDATA_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8///////////////////////////////////////////////////////////////////////////////
9// //
10// Converts TRD digits into a raw data stream //
11// //
12///////////////////////////////////////////////////////////////////////////////
13
14#include "TObject.h"
15
16class AliTRDdigitsManager;
17
18class AliTRDrawData : public TObject {
19
20 public:
21
22 AliTRDrawData();
23 AliTRDrawData(const AliTRDrawData &r);
24 virtual ~AliTRDrawData();
25 AliTRDrawData &operator=(const AliTRDrawData &r);
26
27 virtual void Copy(TObject &r);
28
29 virtual Bool_t OpenInput(const Char_t *name);
30 virtual Bool_t Digit2Raw(const Char_t *name1 = "trd_ldc0.d",
31 const Char_t *name2 = "trd_ldc1.d");
32 virtual Bool_t Raw2Digit(const Char_t *name1 = "trd_ldc0.d",
33 const Char_t *name2 = "trd_ldc1.d");
34 virtual void SetDebug(Int_t v = 1) { fDebug = v; };
35 virtual AliTRDdigitsManager *GetDigitsManager() { return fDigitsManager; };
36
37 protected:
38
39 Int_t fDebug; // Debug level
40 AliTRDdigitsManager *fDigitsManager; //! The TRD digits manager
41
42 ClassDef(AliTRDrawData,1) // TRD raw data class
43
44};
45#endif