]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCD.h
New AliSTARThit
[u/mrichter/AliRoot.git] / TPC / AliTPCD.h
CommitLineData
8c555625 1#ifndef ALITPCD_H
2#define ALITPCD_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
8c555625 7
8// include files and class forward declarations
9
10
11// Documentation
12/**
13 * Object with the TPC parameters
14 *
15 *
16 *
17 */
18#include "TNamed.h"
19#include "TTree.h"
20class AliTPCPRF2D;
21class AliTPCRF1D;
22class AliTPCParam;
23class TClonesArray;
24class TTree;
25class TDirectory;
26R__EXTERN TDirectory * gDirectory;
27//class TBranch;
28
29class AliTPCD : public TNamed{
30
31public:
32 AliTPCD(
33 Text_t * name ="DIGIT",
34 AliTPCParam *param=0,
35 AliTPCPRF2D *prf=0,
36 AliTPCRF1D *prfz=0);
37 ~AliTPCD();
38
39public:
40
41 AliTPCParam & GetParam() {return *fParam;}
42 //give us reference to the parameters
43 AliTPCPRF2D & GetPRF2D() {return *fPRF;}
44 //give us reference to 2-dimensional pad response function object
45 //this is responsible for respnse in x and y dimension
46 AliTPCRF1D & GetRF() {return *fRF;}
47 //give us reference to 1 dimensionl response
48 //this is responsible for z-direction
49 TClonesArray * GetArray() {return fDigits;}
50 //return reference for digits array
51
52 TTree * GetTree() { return fTreeD;}
53 //return refeence to actual tree
54 Bool_t SetTree(Int_t nevent=0, TDirectory *dir = gDirectory);
55 //map tree from given directory
56 Bool_t MakeTree(Int_t nevent=0);
57 //map tree from given directory
58 void Fill();
59
60protected:
61
62public:
63 AliTPCParam * fParam; //geometry and gas parameters object
64 AliTPCPRF2D * fPRF; //x and y pad response function object
65 AliTPCRF1D * fRF; //z (time) response function object
66 TClonesArray *fDigits; //aray of tpc Digits
67 TTree *fTreeD; //tree
68private:
69 AliTPCD *fpthis; //pointer to object
70 ClassDef(AliTPCD,2)
71};
72
73
74#endif /* ALITPCD_H */