Fixing small memory leaks (Hans)
[u/mrichter/AliRoot.git] / TOF / AliTOFCalPlateB.h
CommitLineData
6dc9348d 1#ifndef ALITOFCALPLATEB_H
2#define ALITOFCALPLATEB_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:: PlateB //
9//////////////////////////////////////////////////////////////////
10
11//_____________________________________________________________
12
13#include "TObject.h"
6dc9348d 14
0e46b9ae 15class TBrowser;
16
17class AliTOFChannel;
18class AliTOFGeometry;
6dc9348d 19
20class AliTOFCalPlateB: public TObject
21{
22 public:
23 AliTOFCalPlateB();
d4ad0d6b 24 AliTOFCalPlateB(AliTOFGeometry *geom);
6dc9348d 25 AliTOFCalPlateB(AliTOFChannel *ch);
d4ad0d6b 26 AliTOFCalPlateB(AliTOFGeometry *geom,AliTOFChannel *ch);
6dc9348d 27 AliTOFCalPlateB(const AliTOFCalPlateB& pl);
7aeeaf38 28 AliTOFCalPlateB& operator=(const AliTOFCalPlateB &source); // ass. op.
6dc9348d 29 virtual ~AliTOFCalPlateB();
6dc9348d 30 Int_t NStripB()const {return fNStripB;}
6dc9348d 31 Int_t NpadZ()const {return fNpadZ;}
32 Int_t NpadX()const {return fNpadX;}
33 void Browse(TBrowser *b);
34 Bool_t IsFolder() const{return kTRUE;}
35private:
6dc9348d 36 Int_t fNStripB; // number of TOF strips B
6dc9348d 37 Int_t fNpadZ; // number of TOF pads Z
38 Int_t fNpadX; // number of TOF pads X
39
d4ad0d6b 40 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
6dc9348d 41 AliTOFChannel *fCh; //array of AliTOFChannel storing calib parameters
42 ClassDef(AliTOFCalPlateB,1)
43};
44
45#endif
46
47