Project
Loading...
Searching...
No Matches
ClusterConfig.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
15
16#ifndef O2_MCH_CLUSTERCONFIG_H_
17#define O2_MCH_CLUSTERCONFIG_H_
18
19namespace o2
20{
21namespace mch
22{
23
24typedef int PadIdx_t; // Pad index type
25typedef short Groups_t; // Groups/sub-cluster type
26typedef short Mask_t; // To build mask
27
29 //
30 // Physical-Numerical parameters
31 //
32 // Run2
33 // 4.f * 0.22875f;
34 double minChargeOfPads; // Lowest Charge of a Pad
35 double minChargeOfClusterPerCathode; // Lowest Charge of a Pad
36 // static constexpr double minChargeOfClusterPerCathode = 1.1; // Lowest Charge of a Group
37 // Run3
38 // static double minChargeOfPads = 16; // Lowest Charge of a Pad
39 // static double minChargeOfClusterPerCathode = 1.0 * minChargeOfPads; // Lowest Charge of a Group
40 //
41 // ClusterResolution
46
47 // Large Clusters
48 int nbrPadLimit = 600;
49 double ratioStepForLargeCluster = 0.05; // increment to find nPads < nbrPadLimit
50 // Limit of pad number to perform the fitting
52 // Stop the fitting if small xy shift
53 double minFittingXYStep = 0.1; // in cm
54 //
55 // Algorithm choices
56 //
57 int useSpline = 0;
58 // Logs
59 //
61 no = 0x0,
62 info = 0x1,
63 detail = 0x2,
64 debug = 0x3
65 };
73 //
74 // Checks
75 //
77 inactive = 0x0,
78 active = 0x1,
79 };
80 // Activate/deactivate InspectModel
82 //
83 bool groupsCheck = true;
84 bool padMappingCheck = true;
85 bool mathiesonCheck = false;
86};
87
89
90} // namespace mch
91} // end namespace o2
92
93#endif // O2_MCH_CLUSTERCONFIG_H_
short Groups_t
void initClusterConfig()
short Mask_t
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
float SBadClusterResolutionX
bad (e.g. mono-cathode) cluster resolution in x direction (cm)
@ inactive
No activation.
@ active
Describe default activation.
ActivateMode inspectModel
float SBadClusterResolutionY
bad (e.g. mono-cathode) cluster resolution in y direction (cm)
VerboseMode laplacianLocalMaxLog
@ info
Describes main steps and high level behaviors.
@ detail
Describes in detail.
VerboseMode inspectModelLog
float SDefaultClusterResolutionY
default cluster resolution in y direction (cm)
float SDefaultClusterResolutionX
default cluster resolution in x direction (cm)