]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/AliRICHSegmentationV1.h
Increment the version number
[u/mrichter/AliRoot.git] / RICH / AliRICHSegmentationV1.h
CommitLineData
6b2064dc 1#ifndef AliRICHSegmentationV1_h
2#define AliRICHSegmentationV1_h
237c933d 3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9#include "AliRICHSegmentationV0.h"
6b2064dc 10#include <iostream.h>
237c933d 11
6b2064dc 12class AliRICHSegmentationV1 : public AliRICHSegmentationV0
6ef81d71 13{
6b2064dc 14public:
6ef81d71 15// ctor $ dtor:
16 AliRICHSegmentationV1(); // default ctor
17 virtual ~AliRICHSegmentationV1() {} // dtor
18// The following staff is defined in AliRICHSegmentation.cxx:
19 virtual void Init(Int_t id); // Recalculates all the values after some of them have been changed
8fef1e18 20
6ef81d71 21 virtual Int_t Sector(Float_t x, Float_t y); // calculate sector from x-y coordinates
237c933d 22
6ef81d71 23 virtual void GetPadI(Float_t x ,Float_t y ,Int_t &ix,Int_t &iy); // Transform from pad to real coordinates
24 virtual void GetPadI(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy) {GetPadI(x, y, ix, iy);}
8fef1e18 25
6ef81d71 26 virtual void GetPadC(Int_t ix,Int_t iy,Float_t &x ,Float_t &y ); // Transform from real to pad coordinates
27 virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z) {z=0; GetPadC(ix, iy, x , y);}
8fef1e18 28
6ef81d71 29 virtual void IntegrationLimits (Float_t& x1, Float_t& x2, Float_t& y1, Float_t& y2); // Current integration limits
30// inline methods:
31 virtual Int_t ISector() const{return fSector;} // Get current sector
32
33 inline virtual void Print(Option_t *option)const; // Prints debug information
8fef1e18 34
6ef81d71 35private:
237c933d 36 ClassDef(AliRICHSegmentationV1,1)
37};
237c933d 38
6ef81d71 39inline void AliRICHSegmentationV1::Print(Option_t *option)const
6b2064dc 40{
41 TObject::Print();
6ef81d71 42 cout<<"Pad width in cm: "<<fDpx <<endl;
43 cout<<"Pad heights in cm: "<<fDpy <<endl;
44 cout<<"Pad number along x: "<<fNpx <<endl;
45 cout<<"Pad number along y: "<<fNpy <<endl;
46 cout<<"Sector: "<<fSector <<endl;
47 cout<<"Wire pitch: "<<fWireD <<endl;
48 cout<<"Dead zone in cm: "<<fDeadZone <<endl;
49 cout<<"Pad plane width in cm: "<<fPadPlane_Width <<endl;
50 cout<<"Pad plane heights in cm: "<<fPadPlane_Length <<endl;
51}//void AliRICHSegmentationV1::Print(Option_t *option)const
6b2064dc 52
53#endif//AliRICHSegmentationV1_h