CbmRoot
Loading...
Searching...
No Matches
CbmTofCell.h
Go to the documentation of this file.
1
/* Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Florian Uhlig [committer] */
4
5
#ifndef CBMTOFCELL_H
6
#define CBMTOFCELL_H 1
7
8
#include <Rtypes.h>
// for THashConsistencyHolder, ClassDef
9
#include <RtypesCore.h>
// for Double_t, Int_t, Option_t
10
#include <TNamed.h>
// for TNamed
11
12
class
CbmTofCell
:
public
TNamed {
13
14
public
:
16
CbmTofCell
();
17
18
28
CbmTofCell
(Int_t detId, Double_t
x
, Double_t
y
, Double_t z, Double_t sizex, Double_t sizey);
29
31
virtual
~CbmTofCell
();
32
34
Int_t
GetDetectorId
()
const
{
return
fDetectorId
; }
35
Double_t
GetX
()
const
{
return
fX
; }
36
Double_t
GetY
()
const
{
return
fY
; }
37
Double_t
GetZ
()
const
{
return
fZ
; }
38
39
Double_t
GetSizex
()
const
{
return
fSizex
; }
40
Double_t
GetSizey
()
const
{
return
fSizey
; }
41
42
void
Print
(Option_t* =
""
)
const
;
43
44
private
:
47
Int_t
fDetectorId
;
// Unique detector ID
48
Double_t
fX
;
// center of module in global c.s. [cm]
49
Double_t
fY
;
// center of module in global c.s. [cm]
50
Double_t
fZ
;
// center of module in global c.s. [cm]
51
Double_t
fSizex
;
// module size in x [cm]
52
Double_t
fSizey
;
// module size in y [cm]
53
57
ClassDef
(
CbmTofCell
, 1);
58
};
59
60
61
#endif
y
Double_t y
Definition
CbmMvdSensorDigiToHitTask.cxx:64
x
Double_t x
Definition
CbmMvdSensorDigiToHitTask.cxx:64
CbmTofCell
Definition
CbmTofCell.h:12
CbmTofCell::fY
Double_t fY
Definition
CbmTofCell.h:49
CbmTofCell::fZ
Double_t fZ
Definition
CbmTofCell.h:50
CbmTofCell::fSizex
Double_t fSizex
Definition
CbmTofCell.h:51
CbmTofCell::GetDetectorId
Int_t GetDetectorId() const
Definition
CbmTofCell.h:34
CbmTofCell::CbmTofCell
CbmTofCell()
Definition
CbmTofCell.cxx:13
CbmTofCell::GetSizey
Double_t GetSizey() const
Definition
CbmTofCell.h:40
CbmTofCell::GetY
Double_t GetY() const
Definition
CbmTofCell.h:36
CbmTofCell::GetSizex
Double_t GetSizex() const
Definition
CbmTofCell.h:39
CbmTofCell::GetX
Double_t GetX() const
Definition
CbmTofCell.h:35
CbmTofCell::ClassDef
ClassDef(CbmTofCell, 1)
CbmTofCell::Print
void Print(Option_t *="") const
Definition
CbmTofCell.cxx:142
CbmTofCell::fSizey
Double_t fSizey
Definition
CbmTofCell.h:52
CbmTofCell::GetZ
Double_t GetZ() const
Definition
CbmTofCell.h:37
CbmTofCell::fDetectorId
Int_t fDetectorId
Definition
CbmTofCell.h:47
CbmTofCell::fX
Double_t fX
Definition
CbmTofCell.h:48
CbmTofCell::~CbmTofCell
virtual ~CbmTofCell()
Definition
CbmTofCell.cxx:26
core
detectors
tof
CbmTofCell.h
Generated on Mon Feb 3 2025 23:03:50 for CbmRoot by
1.12.0