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 int chargeThreshold = 75;
32 int nSimSteps = 475;
33 float energyToNElectrons = 1. / 3.6e-9; // conversion of eloss to Nelectrons
34
35 std::string noiseFilePath{};
36
37 // boilerplate stuff + make principal key
38 O2ParamDef(DPLDigitizerParam, "TF3DigitizerParam");
39
40 private:
41 static constexpr float DEFNoisePerPixel()
42 {
43 return 1e-8; // ITS/MFT values here!!
44 }
45};
46
47} // namespace iotof
48} // namespace o2
49
50#endif
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string noiseFilePath
optional noise masks file path. FIXME to be removed once switch to CCDBFetcher
float noisePerPixel
ALPIDE Noise per channel.
int nSimSteps
number of steps in response simulation
bool continuous
flag for continuous simulation
int minChargeToAccount
minimum charge contribution to account
int chargeThreshold
charge threshold in Nelectrons
double timeOffset
time offset (in seconds!) to calculate ROFrame from hit time
O2ParamDef(DPLDigitizerParam, "TF3DigitizerParam")