Project
Loading...
Searching...
No Matches
ZDCSimParam.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_ZDC_SIMPARAMS_H_
13#define O2_ZDC_SIMPARAMS_H_
14
17
18namespace o2
19{
20namespace zdc
21{
22// parameters of ZDC digitization / transport simulation
23
24struct ZDCSimParam : public o2::conf::ConfigurableParamHelper<ZDCSimParam> {
25
26 bool continuous = true;
27 int nBCAheadCont = 1;
28 int nBCAheadTrig = 3;
29 bool recordSpatialResponse = false;
30 bool useZDCFastSim = false;
31 bool debugZDCFastSim = false;
32 std::string ZDCFastSimClassifierPath = "";
33 std::string ZDCFastSimClassifierScales = "";
34 std::string ZDCFastSimModelPathNeutron = "";
36 std::string ZDCFastSimModelPathProton = "";
37 std::string ZDCFastSimModelScalesProton = "";
38
39 O2ParamDef(ZDCSimParam, "ZDCSimParam");
40};
41} // namespace zdc
42} // namespace o2
43
44#endif
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string ZDCFastSimModelPathProton
path to proton model file
Definition ZDCSimParam.h:36
O2ParamDef(ZDCSimParam, "ZDCSimParam")
int nBCAheadCont
number of BC to read ahead of trigger in continuous mode
Definition ZDCSimParam.h:27
bool useZDCFastSim
whether to use fastsim module on event
Definition ZDCSimParam.h:30
bool recordSpatialResponse
whether to record 2D spatial response showering images in proton/neutron detector
Definition ZDCSimParam.h:29
std::string ZDCFastSimClassifierPath
path to model file that classify if data are viable for model
Definition ZDCSimParam.h:32
bool debugZDCFastSim
whether to dump fastsim output as 5ch to seperate file in csv format
Definition ZDCSimParam.h:31
std::string ZDCFastSimModelPathNeutron
path to neutron model file
Definition ZDCSimParam.h:34
std::string ZDCFastSimModelScalesProton
path to scales file for proton model
Definition ZDCSimParam.h:37
std::string ZDCFastSimClassifierScales
path to scales file for classifier
Definition ZDCSimParam.h:33
bool continuous
flag for continuous simulation
Definition ZDCSimParam.h:26
std::string ZDCFastSimModelScalesNeutron
path to scales file for neutron model
Definition ZDCSimParam.h:35
int nBCAheadTrig
number of BC to read ahead of trigger in triggered mode
Definition ZDCSimParam.h:28