]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFCalOnline.h
Air with increased transport cuts close to qb28.
[u/mrichter/AliRoot.git] / TOF / AliTOFCalOnline.h
CommitLineData
87de54c7 1#ifndef ALITOFCALONLINE_H
2#define ALITOFCALONLINE_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 online calibration:: array of AliTOFChannelOnline //
9/////////////////////////////////////////////////////////////////////////////
10
11//_____________________________________________________________
12
13#include "TObject.h"
14#include "AliTOFChannelOnline.h"
15
16class TBrowser;
17class AliTOFGeometry;
18
19class AliTOFCalOnline: public TObject
20{
21 public:
22 AliTOFCalOnline();
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;}
37 void CreateArray();
38private:
39
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
48
49 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
50 AliTOFChannelOnline* fPads; //[fnpad]
51 // array of AliTOFChannels storing
52 // the calib parameters
53 ClassDef(AliTOFCalOnline,1)
54};
55
56#endif
57
58