UserCut removed from simulated DCS+minors
[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
b864d801 16class TTree;
2cb20be6 17
b864d801 18class AliRawReader;
5990c064 19
2cb20be6 20class AliTRDdigitsManager;
8c703901 21class AliTRDgeometry;
22class AliTRDdataArrayI;
2cb20be6 23
5990c064 24class AliTRDrawData : public TObject {
25
26 public:
27
28 AliTRDrawData();
8c703901 29 AliTRDrawData(const AliTRDrawData &r);
5990c064 30 virtual ~AliTRDrawData();
5990c064 31
7925de54 32 AliTRDrawData &operator=(const AliTRDrawData &/*r*/) { return *this; }
8c703901 33
7925de54 34 virtual Bool_t Digits2Raw(TTree *digits, TTree *tracks = NULL);
35 virtual Bool_t SetRawVersion(Int_t v);
8c703901 36
2cb20be6 37 virtual AliTRDdigitsManager* Raw2Digits(AliRawReader *rawReader);
5990c064 38
39 protected:
40
50378239 41 virtual Bool_t Digits2Raw(AliTRDdigitsManager* digitsManager); // for fRawVersion > 0
8c703901 42
50378239 43 virtual Int_t ProduceHcDataV1andV2(AliTRDdataArrayI *digits, Int_t side, Int_t det, UInt_t *buf, Int_t maxSize);
44
8c703901 45 Int_t fRawVersion; // Which version of raw simulator is used
8c703901 46 AliTRDgeometry *fGeo; //! Geometry
47 Int_t fNumberOfDDLs; // Number of DDLs
48
f162af62 49 ClassDef(AliTRDrawData,4) // TRD raw data class
5990c064 50
51};
52#endif