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
19
20namespace o2
21{
22namespace tof
23{
24
25// Global parameters for TOF simulation / digitization
26struct 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
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(TOFSimParams, "TOFSimParams")