Project
Loading...
Searching...
No Matches
IOTOFBaseParam.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_IOTOF_BASEPARAM_H
13#define O2_IOTOF_BASEPARAM_H
14
17
18namespace o2
19{
20namespace iotof
21{
22
23struct IOTOFBaseParam : public o2::conf::ConfigurableParamHelper<IOTOFBaseParam> {
24 bool enableInnerTOF = true; // Enable Inner TOF layer
25 bool enableOuterTOF = true; // Enable Outer TOF layer
26 bool enableForwardTOF = true; // Enable Forward TOF layer
27 bool enableBackwardTOF = true; // Enable Backward TOF layer
28 std::string detectorPattern = ""; // Layouts of the detector
29 bool segmentedInnerTOF = false; // If the inner TOF layer is segmented
30 bool segmentedOuterTOF = false; // If the outer TOF layer is segmented
31 float x2x0 = 0.02f; // thickness expressed in radiation length, for all layers for the moment
32
34};
35
36} // namespace iotof
37} // end namespace o2
38
39#endif
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(IOTOFBaseParam, "IOTOFBase")