Project
Loading...
Searching...
No Matches
IOTOFBaseParam.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#ifndef O2_IOTOF_BASEPARAM_H
13
#define O2_IOTOF_BASEPARAM_H
14
15
#include "
CommonUtils/ConfigurableParam.h
"
16
#include "
CommonUtils/ConfigurableParamHelper.h
"
17
18
namespace
o2
19
{
20
namespace
iotof
21
{
22
23
struct
ChipSpecifics
{
24
int
NCols
= 0;
25
int
NRows
= 0;
26
float
PitchCol
= 0.;
27
float
PitchRow
= 0.;
28
float
PassiveEdgeReadOut
= 0.;
29
float
PassiveEdgeTop
= 0.;
30
float
PassiveEdgeSide
= 0.;
31
float
SensorLayerThicknessEff
= 0.;
32
float
SensorLayerThickness
= 0.;
33
34
int
NPixels
()
const
{
return
NCols
*
NRows
; }
35
float
ActiveMatrixSizeCols
()
const
{
return
PitchCol
*
NCols
; }
36
float
ActiveMatrixSizeRows
()
const
{
return
PitchRow
*
NRows
; }
37
float
SensorSizeCols
()
const
{
return
ActiveMatrixSizeCols
() + 2 *
PassiveEdgeSide
; }
38
float
SensorSizeRows
()
const
{
return
ActiveMatrixSizeRows
() +
PassiveEdgeTop
+
PassiveEdgeReadOut
; }
39
};
40
41
struct
IOTOFBaseParam
:
public
o2::conf::ConfigurableParamHelper
<IOTOFBaseParam> {
42
bool
enableInnerTOF
=
true
;
// Enable Inner TOF layer
43
bool
enableOuterTOF
=
true
;
// Enable Outer TOF layer
44
bool
enableForwardTOF
=
true
;
// Enable Forward TOF layer
45
bool
enableBackwardTOF
=
true
;
// Enable Backward TOF layer
46
std::string
detectorPattern
=
""
;
// Layouts of the detector
47
bool
segmentedInnerTOF
=
false
;
// If the inner TOF layer is segmented
48
bool
segmentedOuterTOF
=
false
;
// If the outer TOF layer is segmented
49
float
x2x0
= 0.02f;
// thickness expressed in radiation length, for all layers for the moment
50
float
sensorThickness
= 0.0050f;
// thickness of the sensor in cm, for all layers for the moment, the default is set to 50 microns
51
52
ChipSpecifics
iTofChipSpecifics
{258, 271, 250.00e-4, 100.00e-4, 0.00f, 0.00e-4, 0.00e-4, 50.e-4, 50.e-4};
53
ChipSpecifics
oTofChipSpecifics
{251, 487, 250.00e-4, 100.00e-4, 0.00f, 0.00e-4, 106.48e-4, 50.e-4, 50.e-4};
54
55
O2ParamDef
(
IOTOFBaseParam
,
"IOTOFBase"
);
56
};
57
58
}
// namespace iotof
59
}
// end namespace o2
60
61
#endif
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:78
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
FlattenRestore.h:23
o2::iotof::ChipSpecifics
Definition
IOTOFBaseParam.h:23
o2::iotof::ChipSpecifics::PassiveEdgeReadOut
float PassiveEdgeReadOut
Definition
IOTOFBaseParam.h:28
o2::iotof::ChipSpecifics::SensorSizeCols
float SensorSizeCols() const
Definition
IOTOFBaseParam.h:37
o2::iotof::ChipSpecifics::SensorSizeRows
float SensorSizeRows() const
Definition
IOTOFBaseParam.h:38
o2::iotof::ChipSpecifics::SensorLayerThicknessEff
float SensorLayerThicknessEff
Definition
IOTOFBaseParam.h:31
o2::iotof::ChipSpecifics::ActiveMatrixSizeRows
float ActiveMatrixSizeRows() const
Definition
IOTOFBaseParam.h:36
o2::iotof::ChipSpecifics::NRows
int NRows
Definition
IOTOFBaseParam.h:25
o2::iotof::ChipSpecifics::PassiveEdgeTop
float PassiveEdgeTop
Definition
IOTOFBaseParam.h:29
o2::iotof::ChipSpecifics::NPixels
int NPixels() const
Definition
IOTOFBaseParam.h:34
o2::iotof::ChipSpecifics::PitchCol
float PitchCol
Definition
IOTOFBaseParam.h:26
o2::iotof::ChipSpecifics::ActiveMatrixSizeCols
float ActiveMatrixSizeCols() const
Definition
IOTOFBaseParam.h:35
o2::iotof::ChipSpecifics::PassiveEdgeSide
float PassiveEdgeSide
Definition
IOTOFBaseParam.h:30
o2::iotof::ChipSpecifics::PitchRow
float PitchRow
Definition
IOTOFBaseParam.h:27
o2::iotof::ChipSpecifics::NCols
int NCols
Definition
IOTOFBaseParam.h:24
o2::iotof::ChipSpecifics::SensorLayerThickness
float SensorLayerThickness
Definition
IOTOFBaseParam.h:32
o2::iotof::IOTOFBaseParam
Definition
IOTOFBaseParam.h:41
o2::iotof::IOTOFBaseParam::detectorPattern
std::string detectorPattern
Definition
IOTOFBaseParam.h:46
o2::iotof::IOTOFBaseParam::x2x0
float x2x0
Definition
IOTOFBaseParam.h:49
o2::iotof::IOTOFBaseParam::segmentedInnerTOF
bool segmentedInnerTOF
Definition
IOTOFBaseParam.h:47
o2::iotof::IOTOFBaseParam::oTofChipSpecifics
ChipSpecifics oTofChipSpecifics
Definition
IOTOFBaseParam.h:53
o2::iotof::IOTOFBaseParam::O2ParamDef
O2ParamDef(IOTOFBaseParam, "IOTOFBase")
o2::iotof::IOTOFBaseParam::segmentedOuterTOF
bool segmentedOuterTOF
Definition
IOTOFBaseParam.h:48
o2::iotof::IOTOFBaseParam::enableBackwardTOF
bool enableBackwardTOF
Definition
IOTOFBaseParam.h:45
o2::iotof::IOTOFBaseParam::iTofChipSpecifics
ChipSpecifics iTofChipSpecifics
Definition
IOTOFBaseParam.h:52
o2::iotof::IOTOFBaseParam::enableOuterTOF
bool enableOuterTOF
Definition
IOTOFBaseParam.h:43
o2::iotof::IOTOFBaseParam::sensorThickness
float sensorThickness
Definition
IOTOFBaseParam.h:50
o2::iotof::IOTOFBaseParam::enableForwardTOF
bool enableForwardTOF
Definition
IOTOFBaseParam.h:44
o2::iotof::IOTOFBaseParam::enableInnerTOF
bool enableInnerTOF
Definition
IOTOFBaseParam.h:42
Detectors
Upgrades
ALICE3
IOTOF
base
include
IOTOFBase
IOTOFBaseParam.h
Generated on Fri May 15 2026 21:20:57 for Project by
1.9.8