Project
Loading...
Searching...
No Matches
ParameterGEM.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
15
16// Remark: This file has been modified by Viktor Ratza in order to
17// implement the electron efficiency models for the collection and the
18// extraction efficiency.
19
20#ifndef ALICEO2_TPC_ParameterGEM_H_
21#define ALICEO2_TPC_ParameterGEM_H_
22
23#include <array>
24#include <cmath>
27
28namespace o2
29{
30namespace tpc
31{
32
33enum class AmplificationMode : char {
34 FullMode = 0,
35 EffectiveMode = 1,
36};
37
38struct ParameterGEM : public o2::conf::ConfigurableParamHelper<ParameterGEM> {
39
43 float getEffectiveGain(int gem) const
44 {
46 }
47
50 int Geometry[4] = {0, 2, 2, 0};
51 float Distance[5] = {4.f, 0.2f, 0.2f, 0.2f, 0.2f};
52 float Potential[4] = {270.f, 250.f, 270.f, 340.f};
53 float ElectricField[5] = {0.4f, 4.f, 2.f, 0.1f, 4.f};
54 float AbsoluteGain[4] = {14.f, 8.f, 53.f, 240.f};
55 float CollectionEfficiency[4] = {1.f, 0.2f, 0.25f, 1.f};
56 float ExtractionEfficiency[4] = {0.65f, 0.55f, 0.12f, 0.6f};
57 float TotalGainStack = 2000.f;
58 float KappaStack = 1.205f;
59 float EfficiencyStack = 0.528f;
61
62 O2ParamDef(ParameterGEM, "TPCGEMParam");
63};
64} // namespace tpc
65
66namespace framework
67{
68template <typename T>
69struct is_messageable;
70template <>
71struct is_messageable<o2::tpc::ParameterGEM> : std::true_type {
72};
73} // namespace framework
74
75} // namespace o2
76
77#endif // ALICEO2_TPC_ParameterGEM_H_
@ EffectiveMode
Effective amplification mode using one polya distribution only.
@ FullMode
Apply noise, pedestal and saturation.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
AmplificationMode AmplMode
Amplification mode [FullMode / EffectiveMode].
float Distance[5]
Distances between cathode/anode and stages (in cm)
int Geometry[4]
GEM geometry (0 standard, 1 medium, 2 large)
float Potential[4]
Potential (in Volts)
float getEffectiveGain(int gem) const
float AbsoluteGain[4]
Absolute gain.
float CollectionEfficiency[4]
Collection efficiency.
float ElectricField[5]
Electric field configuration (in kV/cm)
float EfficiencyStack
Variable steering the single electron efficiency of the full stack for the EffectiveMode.
float ExtractionEfficiency[4]
Extraction efficiency.
O2ParamDef(ParameterGEM, "TPCGEMParam")
float KappaStack
Variable steering the energy resolution of the full stack for the EffectiveMode.
float TotalGainStack
Total gain of the stack for the EffectiveMode.