CbmRoot
Loading...
Searching...
No Matches
CbmMuchModuleGemRadial.h
Go to the documentation of this file.
1/* Copyright (C) 2011-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
11#ifndef CBMMUCHMODULEGEMRADIAL_H
12#define CBMMUCHMODULEGEMRADIAL_H 1
13
14#include "CbmMuchModuleGem.h" // for CbmMuchModuleGem
15
16#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
17#include <RtypesCore.h> // for Double_t, Int_t, Bool_t
18#include <TVector3.h> // for TVector3
19
20#include <vector> // for vector
21
24
26public:
28 // Detector type variable added in the class constructor on 03-07-2019
29 CbmMuchModuleGemRadial(Int_t DetType, Int_t iStation, Int_t iLayer, Bool_t iSide, Int_t iModule, TVector3 position,
30 Double_t dx1, Double_t dx2, Double_t dy, Double_t dz, Double_t cutRadius);
32 Double_t GetDx1() const { return fDx1; }
33 Double_t GetDx2() const { return fDx2; }
34 Double_t GetDy() const { return fDy; }
35 Double_t GetDz() const { return fDz; }
37 CbmMuchPadRadial* GetPad(Double_t x, Double_t y);
38 Bool_t InitModule();
39
40protected:
41 std::vector<Double_t> fSectorRadii;
42
43 Double_t fDx1;
44 Double_t fDx2;
45 Double_t fDy;
46 Double_t fDz;
47 Int_t fDetType;
49};
50#endif
std::vector< Double_t > fSectorRadii
ClassDef(CbmMuchModuleGemRadial, 2)
CbmMuchPadRadial * GetPad(Double_t x, Double_t y)
CbmMuchSectorRadial * GetSectorByRadius(Double_t r)
Double_t fDx1
vector of sector radii