CbmRoot
Loading...
Searching...
No Matches
CbmMuchSectorRadial.h
Go to the documentation of this file.
1/* Copyright (C) 2012-2020 Petersburg Nuclear Physics Institute named by B.P.Konstantinov of National Research Centre "Kurchatov Institute", Gatchina
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Evgeny Kryshen [committer], Florian Uhlig */
4
13#ifndef CbmMuchSectorRadial_H
14#define CbmMuchSectorRadial_H 1
15
16#include "CbmMuchSector.h" // for CbmMuchSector
17
18#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
19#include <RtypesCore.h> // for Double_t, Int_t
20
22
24public:
26 CbmMuchSectorRadial(Int_t detId, Int_t iSector, Double_t r1, Double_t r2, Double_t phi1, Double_t phi2);
28 Int_t GetPadIndexByPhi(Double_t phi);
29 CbmMuchPadRadial* GetPadByPhi(Double_t phi);
30 Double_t GetR1() const { return fR1; }
31 Double_t GetR2() const { return fR2; }
32 void AddPads();
33 void DrawPads();
34
35private:
36 Double_t fR1;
37 Double_t fR2;
38 Double_t fPhi1;
39 Double_t fPhi2;
40 Double_t fPadDphi;
42};
43
44#endif
ClassDef(CbmMuchSectorRadial, 1)
CbmMuchPadRadial * GetPadByPhi(Double_t phi)
Int_t GetPadIndexByPhi(Double_t phi)