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;
30 bool buildBeamLine = true;
31 bool buildZEM = true;
32 int nBCAheadCont = 1;
33 int nBCAheadTrig = 3;
34 bool recordSpatialResponse = false;
35 bool useZDCFastSim = false;
36 bool debugZDCFastSim = false;
37 std::string ZDCFastSimClassifierPath = "";
38 std::string ZDCFastSimClassifierScales = "";
39 std::string ZDCFastSimModelPathNeutron = "";
41 std::string ZDCFastSimModelPathProton = "";
42 std::string ZDCFastSimModelScalesProton = "";
43
44 O2ParamDef(ZDCSimParam, "ZDCSimParam");
45};
46} // namespace zdc
47} // namespace o2
48
49#endif
struct o2::upgrades_utils::@478 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:41
O2ParamDef(ZDCSimParam, "ZDCSimParam")
int nBCAheadCont
number of BC to read ahead of trigger in continuous mode
Definition ZDCSimParam.h:32
bool useZDCFastSim
whether to use fastsim module on event
Definition ZDCSimParam.h:35
bool recordSpatialResponse
whether to record 2D spatial response showering images in proton/neutron detector
Definition ZDCSimParam.h:34
std::string ZDCFastSimClassifierPath
path to model file that classify if data are viable for model
Definition ZDCSimParam.h:37
bool debugZDCFastSim
whether to dump fastsim output as 5ch to seperate file in csv format
Definition ZDCSimParam.h:36
std::string ZDCFastSimModelPathNeutron
path to neutron model file
Definition ZDCSimParam.h:39
std::string ZDCFastSimModelScalesProton
path to scales file for proton model
Definition ZDCSimParam.h:42
std::string ZDCFastSimClassifierScales
path to scales file for classifier
Definition ZDCSimParam.h:38
std::string ZDCFastSimModelScalesNeutron
path to scales file for neutron model
Definition ZDCSimParam.h:40
int nBCAheadTrig
number of BC to read ahead of trigger in triggered mode
Definition ZDCSimParam.h:33
bool buildZEM
build the ZEM calorimeters
Definition ZDCSimParam.h:31