CbmRoot
CbmMuchSectorRadial.h
Go to the documentation of this file.
1 
9 #ifndef CbmMuchSectorRadial_H
10 #define CbmMuchSectorRadial_H 1
11 
12 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
13 #include <RtypesCore.h> // for Double_t, Int_t
14 
15 #include "CbmMuchSector.h" // for CbmMuchSector
16 
17 class CbmMuchPadRadial;
18 
20 public:
22  CbmMuchSectorRadial(Int_t detId,
23  Int_t iSector,
24  Double_t r1,
25  Double_t r2,
26  Double_t phi1,
27  Double_t phi2);
28  virtual ~CbmMuchSectorRadial() {}
29  Int_t GetPadIndexByPhi(Double_t phi);
30  CbmMuchPadRadial* GetPadByPhi(Double_t phi);
31  Double_t GetR1() const { return fR1; }
32  Double_t GetR2() const { return fR2; }
33  void AddPads();
34  void DrawPads();
35 
36 private:
37  Double_t fR1;
38  Double_t fR2;
39  Double_t fPhi1;
40  Double_t fPhi2;
41  Double_t fPadDphi;
43 };
44 
45 #endif
CbmMuchSectorRadial
Definition: CbmMuchSectorRadial.h:19
CbmMuchSector
Definition: CbmMuchSector.h:22
CbmMuchSectorRadial::GetR1
Double_t GetR1() const
Definition: CbmMuchSectorRadial.h:31
CbmMuchSectorRadial::CbmMuchSectorRadial
CbmMuchSectorRadial()
Definition: CbmMuchSectorRadial.cxx:22
CbmMuchPadRadial
Definition: CbmMuchPadRadial.h:17
CbmMuchSectorRadial::GetPadByPhi
CbmMuchPadRadial * GetPadByPhi(Double_t phi)
Definition: CbmMuchSectorRadial.cxx:58
CbmMuchSectorRadial::fR2
Double_t fR2
Definition: CbmMuchSectorRadial.h:38
CbmMuchSectorRadial::GetPadIndexByPhi
Int_t GetPadIndexByPhi(Double_t phi)
Definition: CbmMuchSectorRadial.cxx:49
CbmMuchSector.h
CbmMuchSectorRadial::fPhi2
Double_t fPhi2
Definition: CbmMuchSectorRadial.h:40
CbmMuchSectorRadial::AddPads
void AddPads()
Definition: CbmMuchSectorRadial.cxx:69
CbmMuchSectorRadial::DrawPads
void DrawPads()
Definition: CbmMuchSectorRadial.cxx:87
CbmMuchSectorRadial::fR1
Double_t fR1
Definition: CbmMuchSectorRadial.h:37
CbmMuchSectorRadial::ClassDef
ClassDef(CbmMuchSectorRadial, 1)
CbmMuchSectorRadial::fPhi1
Double_t fPhi1
Definition: CbmMuchSectorRadial.h:39
CbmMuchSectorRadial::fPadDphi
Double_t fPadDphi
Definition: CbmMuchSectorRadial.h:41
CbmMuchSectorRadial::~CbmMuchSectorRadial
virtual ~CbmMuchSectorRadial()
Definition: CbmMuchSectorRadial.h:28
CbmMuchSectorRadial::GetR2
Double_t GetR2() const
Definition: CbmMuchSectorRadial.h:32