Fixing small memory leaks (Hans)
[u/mrichter/AliRoot.git] / TOF / AliTOFCalPlateC.h
CommitLineData
6dc9348d 1#ifndef ALITOFCALPLATEC_H
2#define ALITOFCALPLATEC_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:: PlateC //
9//////////////////////////////////////////////////////////////////
10
11//_____________________________________________________________
12
13#include "TObject.h"
6dc9348d 14
0e46b9ae 15class TBrowser;
16
17class AliTOFChannel;
18class AliTOFGeometry;
d4ad0d6b 19
6dc9348d 20class AliTOFCalPlateC: public TObject
21{
22 public:
23 AliTOFCalPlateC();
d4ad0d6b 24 AliTOFCalPlateC(AliTOFGeometry *geom);
6dc9348d 25 AliTOFCalPlateC(AliTOFChannel *ch);
d4ad0d6b 26 AliTOFCalPlateC(AliTOFGeometry *geom,AliTOFChannel *ch);
6dc9348d 27 AliTOFCalPlateC(const AliTOFCalPlateC& pl);
7aeeaf38 28 AliTOFCalPlateC& operator=(const AliTOFCalPlateC &source); // ass. op.
6dc9348d 29 virtual ~AliTOFCalPlateC();
6dc9348d 30 Int_t NStripC()const {return fNStripC;}
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 fNStripC; // number of TOF strips C
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
41 AliTOFChannel *fCh; //array of AliTOFChannel storing calib parameters
6dc9348d 42 ClassDef(AliTOFCalPlateC,1)
43};
44
45#endif
46
47