]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFCal.h
doxy: correctly consider macro blocks in methods
[u/mrichter/AliRoot.git] / TOF / AliTOFCal.h
CommitLineData
6dc9348d 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"
6dc9348d 14#include "AliTOFChannel.h"
15
0e46b9ae 16class TBrowser;
17class AliTOFGeometry;
18
6dc9348d 19
20class AliTOFCal: public TObject
21{
22 public:
23 AliTOFCal();
d4ad0d6b 24 AliTOFCal(AliTOFGeometry *geom);
6dc9348d 25 AliTOFCal(const AliTOFCal& cal);
7aeeaf38 26 AliTOFCal& operator=(const AliTOFCal &source); // ass. op.
6dc9348d 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();
42private:
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
d4ad0d6b 53 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
6dc9348d 54 AliTOFChannel* fPads; //[fnpad]
55 // array of AliTOFChannels storing the calib parameters
56 ClassDef(AliTOFCal,1)
57};
58
59#endif
60
61