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