Project
Loading...
Searching...
No Matches
DPLDigitizerParam.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 ALICEO2_TF3DPLDIGITIZERPARAM_H_
13#define ALICEO2_TF3DPLDIGITIZERPARAM_H_
14
18#include <string_view>
19
20namespace o2
21{
22namespace iotof
23{
24struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizerParam> {
25
26 bool continuous = true;
27 float noisePerPixel = DEFNoisePerPixel();
28
29 double timeOffset = 0.;
30 float timeResolution = 0.020f;
31 float efficiency = 0.98f;
32 int chargeThreshold = 100;
34 int nSimSteps = 1;
35 float energyToNElectrons = 1. / 3.6e-9; // conversion of eloss to Nelectrons
37
38 std::string noiseFilePath{};
39
40 // boilerplate stuff + make principal key
41 O2ParamDef(DPLDigitizerParam, "TF3DigitizerParam");
42
43 private:
44 static constexpr float DEFNoisePerPixel()
45 {
46 return 1e-8; // ITS/MFT values here!!
47 }
48};
49
50} // namespace iotof
51} // namespace o2
52
53#endif
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
float timeResolution
time resolution sigma in ns (20 ps default)
std::string noiseFilePath
optional noise masks file path. FIXME to be removed once switch to CCDBFetcher
float noisePerPixel
ALPIDE Noise per channel.
float efficiency
detection efficiency
int nSimSteps
number of steps in response simulation
bool continuous
flag for continuous simulation
int minChargeToAccount
minimum charge contribution to account
int responseMatrixSize
size of the response matrix (odd number)
int chargeThreshold
charge threshold in Nelectrons
double timeOffset
time offset (in seconds!) to calculate ROFrame from hit time
O2ParamDef(DPLDigitizerParam, "TF3DigitizerParam")