]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDpadPlane.h
Remove compiler warnings
[u/mrichter/AliRoot.git] / TRD / AliTRDpadPlane.h
CommitLineData
e0d47c25 1#ifndef ALITRDPADPLANE_H
2#define ALITRDPADPLANE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliTRDpadPlane.h,v */
7
8//////////////////////////////////////////////////
9// //
10// TRD pad plane class //
11// //
12// Contains the information on pad postions, //
13// pad dimensions, tilting angle, etc. //
14// It also provides methods to identify the //
15// current pad number from global coordinates. //
16// //
17//////////////////////////////////////////////////
18
19#include <TObject.h>
20
21class AliTRDgeometry;
22
23//_____________________________________________________________________________
24class AliTRDpadPlane : public TObject {
25
26 public:
27
28 AliTRDpadPlane();
29 AliTRDpadPlane(Int_t p, Int_t c);
30 AliTRDpadPlane(const AliTRDpadPlane &p);
31 virtual ~AliTRDpadPlane();
32 AliTRDpadPlane &operator=(const AliTRDpadPlane &p);
33 virtual void Copy(TObject &p) const;
34
35 Int_t GetPadRowNumber(const Double_t z);
36 Int_t GetPadColNumber(const Double_t rphi);
37
38 Double_t GetPadRowOffset(const Int_t row, const Double_t z);
39 Double_t GetPadColOffset(const Int_t col, const Double_t rphi);
40
41 protected:
42
43 AliTRDgeometry *fGeo; //! TRD geometry
44
45 Int_t fPla; // Plane number
46 Int_t fCha; // Chamber number
47
48 Double_t fLength; // Length of pad plane in z-direction (row)
49 Double_t fWidth; // Width of pad plane in rphi-direction (col)
50
51 Double_t fLengthRim; // Length of the rim in z-direction (row)
52 Double_t fWidthRim; // Width of the rim in rphi-direction (col)
53
54 Double_t fLengthOPad; // Length of an outer pad in z-direction (row)
55 Double_t fWidthOPad; // Width of an outer pad in rphi-direction (col)
56
57 Double_t fLengthIPad; // Length of an inner pad in z-direction (row)
58 Double_t fWidthIPad; // Width of an inner pad in rphi-direction (col)
59
60 Double_t fRowSpacing; // Spacing between the pad rows
61 Double_t fColSpacing; // Spacing between the pad columns
62
63 Int_t fNrows; // Number of rows
64 Int_t fNcols; // Number of columns
65
66 Double_t fTiltingAngle; // Pad tilting angle
67
68 Double_t *fPadRow; //! Pad border positions in row direction
69 Double_t *fPadCol; //! Pad border positions in column direction
70
71 ClassDef(AliTRDpadPlane,1) // TRD ROC pad plane
72
73};
74
75#endif