Project
Loading...
Searching...
No Matches
ECalBaseParam.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
16
17#ifndef O2_ECAL_BASEPARAM_H
18#define O2_ECAL_BASEPARAM_H
19
22
23namespace o2
24{
25namespace ecal
26{
27struct ECalBaseParam : public o2::conf::ConfigurableParamHelper<ECalBaseParam> {
28 bool enableFwdEndcap = false;
29 // general ecal barrel settings
30 double rMin = 125; // cm
31 double rMax = 155; // cm
32 double zLength = 350; // cm
34 // crystal module specification
37 double crystalAlphaDeg = 0.4; // degrees
38 double crystalModuleWidth = 1.9; // cm
39 double crystalModuleLength = 18; // cm
40 // sampling module specification
43 double samplingAlphaDeg = 0.4; // degrees
44 double samplingModuleWidth = 2.7; // cm
45 double frontPlateThickness = 1.; // cm
46 double pbLayerThickness = 0.12; // cm
47 double scLayerThickness = 0.15; // cm
49 // margin in z between crystal modules and sampling modules
50 double marginCrystalToSampling = 0.1; // cm
51
53};
54
55} // namespace ecal
56} // end namespace o2
57
58#endif // O2_ECAL_BASEPARAM_H
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(ECalBaseParam, "ECalBase")