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 Double_t GetPhi1() const { return fPhi1; }
33 Double_t GetPhi2() const { return fPhi2; }
34 Double_t GetPadDPhi() const { return fPadDphi; }
35 void AddPads();
36 void DrawPads();
37
38private:
39 Double_t fR1;
40 Double_t fR2;
41 Double_t fPhi1;
42 Double_t fPhi2;
43 Double_t fPadDphi;
45};
46
47#endif
int Int_t
ClassDef(CbmMuchSectorRadial, 1)
Double_t GetPhi1() const
CbmMuchPadRadial * GetPadByPhi(Double_t phi)
Int_t GetPadIndexByPhi(Double_t phi)
Double_t GetPhi2() const
Double_t GetPadDPhi() const