1 #ifndef ALITOFCALONLINE_H
2 #define ALITOFCALONLINE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //////////////////////////////////////////////////////////////////////////////
8 // class for TOF online calibration:: array of AliTOFChannelOnline //
9 /////////////////////////////////////////////////////////////////////////////
11 //_____________________________________________________________
14 #include "AliTOFChannelOnline.h"
19 class AliTOFCalOnline: public TObject
23 AliTOFCalOnline(AliTOFGeometry *geom);
24 AliTOFCalOnline(const AliTOFCalOnline& cal);
25 AliTOFCalOnline& operator=(const AliTOFCalOnline &source); // ass. op.
26 virtual ~AliTOFCalOnline();
27 Int_t NSector()const {return fNSector;}
28 Int_t NPlate()const {return fNPlate;}
29 Int_t NStripA()const {return fNStripA;}
30 Int_t NStripB()const {return fNStripB;}
31 Int_t NStripC()const {return fNStripC;}
32 Int_t NpadZ()const {return fNpadZ;}
33 Int_t NpadX()const {return fNpadX;}
34 Int_t NPads()const {return fnpad;}
35 AliTOFChannelOnline* GetChannel(Int_t i) {return &fPads[i];}
36 AliTOFChannelOnline* GetArray() {return fPads;}
40 Int_t fNSector; // number of TOF sectors
41 Int_t fNPlate; // number of TOF platess
42 Int_t fNStripA; // number of TOF strips A
43 Int_t fNStripB; // number of TOF strips B
44 Int_t fNStripC; // number of TOF strips C
45 Int_t fNpadZ; // number of TOF pads Z
46 Int_t fNpadX; // number of TOF pads X
47 Int_t fnpad; // number of TOF channels
49 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
50 AliTOFChannelOnline* fPads; //[fnpad]
51 // array of AliTOFChannels storing
52 // the calib parameters
53 ClassDef(AliTOFCalOnline,1)