forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParameterGas.h
More file actions
62 lines (52 loc) · 3.28 KB
/
ParameterGas.h
File metadata and controls
62 lines (52 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
/// \file ParameterGas.h
/// \brief Definition of the parameter class for the detector gas
/// \author Andi Mathis, TU München, andreas.mathis@ph.tum.de
#ifndef ALICEO2_TPC_ParameterGas_H_
#define ALICEO2_TPC_ParameterGas_H_
#include <array>
#include "CommonUtils/ConfigurableParam.h"
#include "CommonUtils/ConfigurableParamHelper.h"
namespace o2
{
namespace tpc
{
struct ParameterGas : public o2::conf::ConfigurableParamHelper<ParameterGas> {
float Wion = 37.3e-9f; ///< Effective ionization potential [GeV]
float Ipot = 20.77e-9f; ///< First ionization potential [GeV]
float Eend = 1e-5f; ///< Maximum allowed energy loss [GeV]
float Exp = 2.2f; ///< Exponent of the energy loss
float AttCoeff = 250.f; ///< Attachement coefficient [1/m]
float OxygenCont = 5.e-6f; ///< Oxygen content [1E6 ppm]
float DriftV = 2.58f; ///< Drift velocity [cm/us]
float SigmaOverMu = 0.78f; ///< Sigma over mu, gives deviation from exponential gain fluctuations
float DiffT = 0.0209f; ///< Transverse diffusion [sqrt(cm)]
float DiffL = 0.0221f; ///< Longitudinal diffusion [sqrt(cm)]
float Nprim = 14.f; ///< Number of primary electrons per MIP and cm [1/cm]
float ScaleFactorG4 = 0.85f; ///< Scale factor to tune WION for GEANT4
float FanoFactorG4 = 0.7f; ///< Parameter for smearing the number of ionizations (nel) using GEANT4
float Pressure = 1013.25f; ///< Pressure [mbar]
float Temperature = 20.0f; ///< Temperature [°C]
float BetheBlochParam[5] = {0.820172e-1f, 9.94795f, 8.97292e-05f, 2.05873f, 1.65272f}; ///< Parametrization of Bethe-Bloch
O2ParamDef(ParameterGas, "TPCGasParam");
};
} // namespace tpc
namespace framework
{
template <typename T>
struct is_messageable;
template <>
struct is_messageable<o2::tpc::ParameterGas> : std::true_type {
};
} // namespace framework
} // namespace o2
#endif // ALICEO2_TPC_ParameterGas_H_