CbmRoot
Loading...
Searching...
No Matches
CbmMuchModule.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2008-2020 St. Petersburg Polytechnic University, St. Petersburg
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Mikhail Ryzhinskiy [committer], Florian Uhlig */
4
13
#include "
CbmMuchModule.h
"
14
15
#include "
CbmMuchAddress.h
"
// for CbmMuchAddress
16
17
#include <TPave.h>
// for TPave
18
#include <TVector3.h>
// for TVector3
19
20
// ----- Default constructor -------------------------------------------
21
CbmMuchModule::CbmMuchModule
()
22
: TPave()
23
, fDetectorId(0)
24
, fDetectorType(-1)
25
, fCutRadius(0)
26
, fSize(TVector3())
27
, fPosition(TVector3())
28
, fPoints(nullptr)
29
, fHits(nullptr)
30
, fClusters(nullptr)
31
, fDigis()
32
{
33
}
34
// -------------------------------------------------------------------------
35
36
37
// ----- Standard constructor ------------------------------------------
38
CbmMuchModule::CbmMuchModule
(
Int_t
iStation,
Int_t
iLayer,
Bool_t
iSide,
Int_t
iModule, TVector3 position,
39
TVector3
size
, Double_t cutRadius)
40
: TPave(position[0] -
size
[0] / 2, position[1] -
size
[1] / 2, position[0] +
size
[0] / 2, position[1] +
size
[1] / 2, 1)
41
, fDetectorId(
CbmMuchAddress
::GetAddress(iStation, iLayer, iSide, iModule))
42
, fDetectorType(-1)
43
, fCutRadius(cutRadius)
44
, fSize(
size
)
45
, fPosition(position)
46
, fPoints(nullptr)
47
, fHits(nullptr)
48
, fClusters(nullptr)
49
, fDigis()
50
{
51
}
52
// -------------------------------------------------------------------------
53
54
55
ClassImp
(
CbmMuchModule
)
ClassImp
ClassImp(CbmConverterManager)
CbmMuchAddress.h
CbmMuchModule.h
size
static constexpr size_t size()
Definition
KfSimdPseudo.h:2
Int_t
int Int_t
Definition
RootTypesDef.h:16
Bool_t
bool Bool_t
Definition
RootTypesDef.h:15
CbmMuchAddress
Interface class to unique address for the MUCH.
Definition
CbmMuchAddress.h:55
CbmMuchModule
Definition
CbmMuchModule.h:28
CbmMuchModule::CbmMuchModule
CbmMuchModule()
Definition
CbmMuchModule.cxx:21
core
detectors
much
CbmMuchModule.cxx
Generated on Fri Mar 7 2025 23:04:07 for CbmRoot by
1.12.0