]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFCal.h
Bug fix in treatment of the vertex finder covariance matrix (Andrea)
[u/mrichter/AliRoot.git] / TOF / AliTOFCal.h
1 #ifndef ALITOFCAL_H
2 #define ALITOFCAL_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 //////////////////////////////////////////////////////////////////
8 //     class for TOF calibration:: array of AliTOFChannels      //
9 //////////////////////////////////////////////////////////////////
10
11 //_____________________________________________________________
12
13 #include "TObject.h"
14 #include "AliTOFChannel.h"
15
16 class TBrowser;
17 class AliTOFGeometry;
18
19
20 class AliTOFCal: public TObject 
21 {
22  public:
23   AliTOFCal();
24   AliTOFCal(AliTOFGeometry *geom);
25   AliTOFCal(const AliTOFCal& cal);
26   AliTOFCal& operator=(const AliTOFCal &source); // ass. op.
27   virtual ~AliTOFCal();
28   void Browse(TBrowser *b);
29   Bool_t IsFolder() const{return kTRUE;}
30   Int_t NSector()const {return fNSector;}
31   Int_t NPlate()const {return fNPlate;}
32   Int_t NStripA()const {return fNStripA;}
33   Int_t NStripB()const {return fNStripB;}
34   Int_t NStripC()const {return fNStripC;}
35   Int_t NpadZ()const {return fNpadZ;}
36   Int_t NpadX()const {return fNpadX;}
37   Int_t NPads()const {return fnpad;}
38  //void PlotPad(Int_t n) {} // *MENU*
39   AliTOFChannel* GetChannel(Int_t i) {return &fPads[i];}
40   AliTOFChannel* GetArray() {return fPads;}
41   void CreateArray();
42 private:
43
44   Int_t fNSector;  // number of TOF sectors
45   Int_t fNPlate;   // number of TOF platess
46   Int_t fNStripA;  // number of TOF strips A
47   Int_t fNStripB;  // number of TOF strips B
48   Int_t fNStripC;  // number of TOF strips C
49   Int_t fNpadZ;    // number of TOF pads Z
50   Int_t fNpadX;    // number of TOF pads X
51   Int_t fnpad;     // number of TOF channels
52
53   AliTOFGeometry *fGeom;    // AliTOFgeometry pointer
54   AliTOFChannel* fPads;  //[fnpad]  
55                          // array of AliTOFChannels storing the calib parameters
56   ClassDef(AliTOFCal,1)
57 };
58
59 #endif
60
61