Add classes for TOF Calibration (C.Zampolli)
[u/mrichter/AliRoot.git] / TOF / AliTOFCalStrip.h
CommitLineData
6dc9348d 1#ifndef ALITOFCALSTRIP_H
2#define ALITOFCALSTRIP_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:: strips //
9//////////////////////////////////////////////////////////////////
10
11//_____________________________________________________________
12
13#include "TObject.h"
14#include "TROOT.h"
15#include "TBrowser.h"
16#include "TClass.h"
17#include "AliTOFGeometryV4.h"
18#include "AliTOFChannel.h"
19
20class AliTOFCalStrip: public TObject
21{
22 public:
23 AliTOFCalStrip();
24 AliTOFCalStrip(AliTOFChannel *ch);
25 AliTOFCalStrip(const AliTOFCalStrip& strip);
26 virtual ~AliTOFCalStrip();
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 void Browse(TBrowser *b);
35 Bool_t IsFolder() const{return kTRUE;}
36private:
37 Int_t fNSector; // number of TOF sectors
38 Int_t fNPlate; // number of TOF plates
39 Int_t fNStripA; // number of TOF strips A
40 Int_t fNStripB; // number of TOF strips B
41 Int_t fNStripC; // number of TOF strips C
42 Int_t fNpadZ; // number of TOF pads Z
43 Int_t fNpadX; // number of TOF pads X
44
45 AliTOFChannel *fCh; //array of AliTOFChannel storing calib parameters
46 ClassDef(AliTOFCalStrip,1)
47};
48
49#endif
50
51