Project
Loading...
Searching...
No Matches
DigiParams.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_DIGIPARAMS_H_
13#define O2_CONF_DIGIPARAMS_H_
14
15// Global parameters for digitization
16
20#include <string>
21
22namespace o2
23{
24namespace conf
25{
26
27// Global parameters for digitization
28struct DigiParams : public o2::conf::ConfigurableParamHelper<DigiParams> {
29
30 std::string digitizationgeometry_prefix = ""; // with which geometry prefix we digitized -> leave empty as this needs to be filled by the digitizer workflow
31 std::string grpfile = ""; // which GRP file to use --> leave empty as this needs to be filled by the digitizer workflow
32 bool mctruth = true; // whether to create labels
33 int maxOrbitsToDigitize = -1; // Digitizer can use this to truncate digits that fall beyond an orbit limit (relative to start of digization) given by this param; -1 means no limit imposed
34 // This parameter should typically be set to coincide with a single timeframe length or multiples thereof.
35 std::string passName = "unanchored"; // passName for anchored MC
36 int seed = 0; // rndSeed to be applied in digitization; convention is that 0 is time based
37 O2ParamDef(DigiParams, "DigiParams");
38};
39
40} // namespace conf
41} // namespace o2
42
43#endif
Definition of the Names Generator class.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string passName
Definition DigiParams.h:35
O2ParamDef(DigiParams, "DigiParams")
std::string grpfile
Definition DigiParams.h:31
std::string digitizationgeometry_prefix
Definition DigiParams.h:30