CbmRoot
CbmMuchModule.cxx
Go to the documentation of this file.
1
9
#include "
CbmMuchModule.h
"
10
11
#include "
CbmMuchAddress.h
"
// for CbmMuchAddress
12
13
#include <TPave.h>
// for TPave
14
#include <TVector3.h>
// for TVector3
15
16
// ----- Default constructor -------------------------------------------
17
CbmMuchModule::CbmMuchModule
()
18
: TPave()
19
, fDetectorId(0)
20
, fDetectorType(-1)
21
, fCutRadius(0)
22
, fSize(TVector3())
23
, fPosition(TVector3())
24
, fPoints(nullptr)
25
, fHits(nullptr)
26
, fClusters(nullptr)
27
, fDigis() {}
28
// -------------------------------------------------------------------------
29
30
31
// ----- Standard constructor ------------------------------------------
32
CbmMuchModule::CbmMuchModule
(Int_t iStation,
33
Int_t iLayer,
34
Bool_t iSide,
35
Int_t iModule,
36
TVector3 position,
37
TVector3 size,
38
Double_t cutRadius)
39
: TPave(position[0] - size[0] / 2,
40
position[1] - size[1] / 2,
41
position[0] + size[0] / 2,
42
position[1] + size[1] / 2,
43
1)
44
, fDetectorId(
CbmMuchAddress
::
GetAddress
(iStation, iLayer, iSide, iModule))
45
, fDetectorType(-1)
46
, fCutRadius(cutRadius)
47
, fSize(size)
48
, fPosition(position)
49
, fPoints(nullptr)
50
, fHits(nullptr)
51
, fClusters(nullptr)
52
, fDigis() {}
53
// -------------------------------------------------------------------------
54
55
56
ClassImp
(
CbmMuchModule
)
CbmMuchAddress
Interface class to unique address for the MUCH.
Definition:
CbmMuchAddress.h:49
CbmMuchModule.h
CbmStsAddress::GetAddress
Int_t GetAddress(UInt_t unit=0, UInt_t ladder=0, UInt_t halfladder=0, UInt_t module=0, UInt_t sensor=0, UInt_t side=0, UInt_t version=kCurrentVersion)
Construct address.
Definition:
CbmStsAddress.cxx:90
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
CbmMuchModule::CbmMuchModule
CbmMuchModule()
Definition:
CbmMuchModule.cxx:17
CbmMuchModule
Definition:
CbmMuchModule.h:24
CbmMuchAddress.h
core
detectors
much
CbmMuchModule.cxx
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18