Project
Loading...
Searching...
No Matches
TOFSimParams.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_CONF_TOFDIGIPARAMS_H_
13
#define O2_CONF_TOFDIGIPARAMS_H_
14
15
// Global parameters for TOF simulation / digitization
16
17
#include "
CommonUtils/ConfigurableParam.h
"
18
#include "
CommonUtils/ConfigurableParamHelper.h
"
19
20
namespace
o2
21
{
22
namespace
tof
23
{
24
25
// Global parameters for TOF simulation / digitization
26
struct
TOFSimParams
:
public
o2::conf::ConfigurableParamHelper
<TOFSimParams> {
27
28
int
time_resolution
= 60;
// TOF resolution in ps
29
30
// efficiency parameters
31
float
eff_center
= 0.995;
// efficiency in the center of the fired pad
32
float
eff_boundary1
= 0.94;
// efficiency in mBound2
33
float
eff_boundary2
= 0.833;
// efficiency in the pad border
34
float
eff_boundary3
= 0.1;
// efficiency in mBound3
35
36
float
max_hit_time
= 1000.;
// time cutoff for hits (time of flight); default 1us
37
38
O2ParamDef
(
TOFSimParams
,
"TOFSimParams"
);
39
};
40
41
}
// namespace tof
42
}
// namespace o2
43
44
#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
BitstreamReader.h:24
o2::tof::TOFSimParams
Definition
TOFSimParams.h:26
o2::tof::TOFSimParams::max_hit_time
float max_hit_time
Definition
TOFSimParams.h:36
o2::tof::TOFSimParams::time_resolution
int time_resolution
Definition
TOFSimParams.h:28
o2::tof::TOFSimParams::eff_boundary3
float eff_boundary3
Definition
TOFSimParams.h:34
o2::tof::TOFSimParams::eff_center
float eff_center
Definition
TOFSimParams.h:31
o2::tof::TOFSimParams::O2ParamDef
O2ParamDef(TOFSimParams, "TOFSimParams")
o2::tof::TOFSimParams::eff_boundary1
float eff_boundary1
Definition
TOFSimParams.h:32
o2::tof::TOFSimParams::eff_boundary2
float eff_boundary2
Definition
TOFSimParams.h:33
Detectors
TOF
simulation
include
TOFSimulation
TOFSimParams.h
Generated on Tue Feb 25 2025 23:16:26 for Project by
1.9.8