]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFCalSector.h
Removing extern call to gROOT to allow compilation with ROOT6.
[u/mrichter/AliRoot.git] / TOF / AliTOFCalSector.h
1 #ifndef ALITOFCALSECTOR_H
2 #define ALITOFCALSECTOR_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:: Sectors             //
9 //////////////////////////////////////////////////////////////////
10
11 //_____________________________________________________________
12
13 #include "TObject.h"
14
15 class TBrowser;
16 class AliTOFGeometry;
17 class AliTOFChannel;
18
19 class AliTOFCalSector: public TObject 
20 {
21 public:
22   AliTOFCalSector();
23   AliTOFCalSector(AliTOFChannel *ch);
24   AliTOFCalSector(AliTOFGeometry *geom);
25   AliTOFCalSector(AliTOFGeometry *geom, AliTOFChannel *ch);
26   AliTOFCalSector(const AliTOFCalSector& sec);
27   AliTOFCalSector& operator=(const AliTOFCalSector &source); // ass. op.
28   virtual ~AliTOFCalSector();
29   Int_t NPlate()const {return fNPlate;}
30   Int_t NStripA()const {return fNStripA;}
31   Int_t NStripB()const {return fNStripB;}
32   Int_t NStripC()const {return fNStripC;}
33   Int_t NpadZ()const {return fNpadZ;}
34   Int_t NpadX()const {return fNpadX;}
35   void Browse(TBrowser *b);
36   Bool_t IsFolder() const{return kTRUE;}
37 private:
38   Int_t fNPlate;   // number of TOF plates
39   Int_t fNStripA;  // number of TOF strips A
40   Int_t fNStripB;  // number of TOF strips B
41   Int_t fNStripC;  // number of TOF strips C
42   Int_t fNpadZ;    // number of TOF pads Z
43   Int_t fNpadX;    // number of TOF pads X
44
45   AliTOFGeometry *fGeom;    // AliTOFgeometry pointer
46   AliTOFChannel *fCh; //array of AliTOFChannel storing calib parameters
47   ClassDef(AliTOFCalSector,1)
48 };
49
50 #endif