Double precision (Marian). Coding conventions (Federico)
[u/mrichter/AliRoot.git] / TOF / AliTOFCalSector.h
CommitLineData
6dc9348d 1#ifndef ALITOFCALSECTOR_H
2#define ALITOFCALSECTOR_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:: Sectors //
9//////////////////////////////////////////////////////////////////
10
11//_____________________________________________________________
12
13#include "TObject.h"
14#include "TROOT.h"
15#include "TBrowser.h"
16#include "TClass.h"
17#include "AliTOFGeometry.h"
18#include "AliTOFChannel.h"
19#include "AliTOFCalPlateA.h"
20#include "AliTOFCalPlateB.h"
21#include "AliTOFCalPlateC.h"
22
23
24class AliTOFCalSector: public TObject
25{
26public:
27 AliTOFCalSector();
28 AliTOFCalSector(AliTOFChannel *ch);
d4ad0d6b 29 AliTOFCalSector(AliTOFGeometry *geom);
30 AliTOFCalSector(AliTOFGeometry *geom, AliTOFChannel *ch);
6dc9348d 31 AliTOFCalSector(const AliTOFCalSector& sec);
7aeeaf38 32 AliTOFCalSector& operator=(const AliTOFCalSector &source); // ass. op.
6dc9348d 33 virtual ~AliTOFCalSector();
6dc9348d 34 Int_t NPlate()const {return fNPlate;}
35 Int_t NStripA()const {return fNStripA;}
36 Int_t NStripB()const {return fNStripB;}
37 Int_t NStripC()const {return fNStripC;}
38 Int_t NpadZ()const {return fNpadZ;}
39 Int_t NpadX()const {return fNpadX;}
40 void Browse(TBrowser *b);
41 Bool_t IsFolder() const{return kTRUE;}
42private:
6dc9348d 43 Int_t fNPlate; // number of TOF plates
44 Int_t fNStripA; // number of TOF strips A
45 Int_t fNStripB; // number of TOF strips B
46 Int_t fNStripC; // number of TOF strips C
47 Int_t fNpadZ; // number of TOF pads Z
48 Int_t fNpadX; // number of TOF pads X
49
d4ad0d6b 50 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
6dc9348d 51 AliTOFChannel *fCh; //array of AliTOFChannel storing calib parameters
52 ClassDef(AliTOFCalSector,1)
53};
54
55#endif