]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFCalPlateB.h
Coding conventions (Annalisa)
[u/mrichter/AliRoot.git] / TOF / AliTOFCalPlateB.h
1 #ifndef ALITOFCALPLATEB_H
2 #define ALITOFCALPLATEB_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:: PlateB              //
9 //////////////////////////////////////////////////////////////////
10
11 //_____________________________________________________________
12
13 #include "TObject.h"
14 #include "TROOT.h"
15 #include "TBrowser.h"
16 #include "TClass.h"
17 #include "AliTOFGeometry.h"
18 #include "AliTOFChannel.h"
19
20
21 class AliTOFCalPlateB: public TObject 
22 {
23  public:
24   AliTOFCalPlateB();
25   AliTOFCalPlateB(AliTOFGeometry *geom);
26   AliTOFCalPlateB(AliTOFChannel *ch);
27   AliTOFCalPlateB(AliTOFGeometry *geom,AliTOFChannel *ch);
28   AliTOFCalPlateB(const AliTOFCalPlateB& pl);
29   AliTOFCalPlateB& operator=(const AliTOFCalPlateB &source); // ass. op.
30   virtual ~AliTOFCalPlateB();
31   Int_t NStripB()const {return fNStripB;}
32   Int_t NpadZ()const {return fNpadZ;}
33   Int_t NpadX()const {return fNpadX;}
34   void Browse(TBrowser *b);
35   Bool_t IsFolder() const{return kTRUE;}
36 private:
37   Int_t fNStripB;  // number of TOF strips B
38   Int_t fNpadZ;    // number of TOF pads Z
39   Int_t fNpadX;    // number of TOF pads X
40
41   AliTOFGeometry *fGeom;    // AliTOFgeometry pointer
42   AliTOFChannel *fCh;  //array of AliTOFChannel storing calib parameters
43   ClassDef(AliTOFCalPlateB,1)
44 };
45
46 #endif
47
48