]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFCalSector.h
Improvements in memory handling.
[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"
6dc9348d 14
0e46b9ae 15class TBrowser;
16class AliTOFGeometry;
17class AliTOFChannel;
6dc9348d 18
19class AliTOFCalSector: public TObject
20{
21public:
22 AliTOFCalSector();
23 AliTOFCalSector(AliTOFChannel *ch);
d4ad0d6b 24 AliTOFCalSector(AliTOFGeometry *geom);
25 AliTOFCalSector(AliTOFGeometry *geom, AliTOFChannel *ch);
6dc9348d 26 AliTOFCalSector(const AliTOFCalSector& sec);
7aeeaf38 27 AliTOFCalSector& operator=(const AliTOFCalSector &source); // ass. op.
6dc9348d 28 virtual ~AliTOFCalSector();
6dc9348d 29 Int_t NPlate()const {return fNPlate;}
30 Int_t NStripA()const {return fNStripA;}
31 Int_t NStripB()const {return fNStripB;}
32 Int_t NStripC()const {return fNStripC;}
33 Int_t NpadZ()const {return fNpadZ;}
34 Int_t NpadX()const {return fNpadX;}
35 void Browse(TBrowser *b);
36 Bool_t IsFolder() const{return kTRUE;}
37private:
6dc9348d 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
d4ad0d6b 45 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
6dc9348d 46 AliTOFChannel *fCh; //array of AliTOFChannel storing calib parameters
47 ClassDef(AliTOFCalSector,1)
48};
49
50#endif