11#include <framework/logging/Logger.h>
81 const std::vector<TString>& description = {})
104 setTimeGroupingParameters(
"CoG3", 6).
clsSigma[0][0] = {3.49898, 2.94008, 3.46766, 5.3746, 6.68848, 7.35446, 7.35983, 7.71601, 10.6172, 13.4805};
105 setTimeGroupingParameters(
"CoG3", 6).
clsSigma[0][1] = {6.53642, 3.76216, 3.30086, 3.95969, 5.49408, 7.07294, 8.35687, 8.94839, 9.23135, 10.485};
106 setTimeGroupingParameters(
"CoG3", 6).
clsSigma[1][0] = {3.49898, 2.94008, 3.46766, 5.3746, 6.68848, 7.35446, 7.35983, 7.71601, 10.6172, 13.4805};
107 setTimeGroupingParameters(
"CoG3", 6).
clsSigma[1][1] = {6.53642, 3.76216, 3.30086, 3.95969, 5.49408, 7.07294, 8.35687, 8.94839, 9.23135, 10.485};
108 setTimeGroupingParameters(
"CoG3", 6).
clsSigma[2][0] = {3.49898, 2.94008, 3.46766, 5.3746, 6.68848, 7.35446, 7.35983, 7.71601, 10.6172, 13.4805};
109 setTimeGroupingParameters(
"CoG3", 6).
clsSigma[2][1] = {6.53642, 3.76216, 3.30086, 3.95969, 5.49408, 7.07294, 8.35687, 8.94839, 9.23135, 10.485};
132 const Int_t& numberOfAcquiredSamples)
const
134 if (numberOfAcquiredSamples == 6) {
137 else if (alg ==
"ELS3")
139 else if (alg ==
"CoG6")
141 }
else if (numberOfAcquiredSamples == 3) {
144 else if (alg ==
"ELS3")
146 else if (alg ==
"CoG6")
149 B2FATAL(
"This state is forbidden");
158 const Int_t& numberOfAcquiredSamples)
160 if (numberOfAcquiredSamples == 6) {
163 else if (alg ==
"ELS3")
165 else if (alg ==
"CoG6")
167 }
else if (numberOfAcquiredSamples == 3) {
170 else if (alg ==
"ELS3")
172 else if (alg ==
"CoG6")
175 B2FATAL(
"This state is forbidden");
This class store the reconstruction configuration of SVDTimeGrouping module.
TString m_uniqueID
unique identifier of the payload
ClassDef(SVDTimeGroupingConfiguration, 1)
needed by root
SVDTimeGroupingConfiguration(const TString &uniqueID="", const std::vector< TString > &description={})
Default constructor.
SVDTimeGroupingParameters m_parsForCoG3In3Samples
parameters for CoG3 time-algorithm in 3-sample DAQ mode
SVDTimeGroupingParameters m_parsForCoG6In6Samples
parameters for CoG6 time-algorithm in 6-sample DAQ mode
SVDTimeGroupingParameters m_parsForELS3In3Samples
parameters for ELS3 time-algorithm in 3-sample DAQ mode
std::vector< TString > m_description
short descrition of the payload
SVDTimeGroupingParameters m_parsForELS3In6Samples
parameters for ELS3 time-algorithm in 6-sample DAQ mode
SVDTimeGroupingParameters getTimeGroupingParameters(const TString &alg, const Int_t &numberOfAcquiredSamples) const
Returns the reference to the parameters.
TString get_uniqueID() const
Get the unique ID of the calibration.
SVDTimeGroupingParameters m_parsForCoG3In6Samples
parameters for CoG3 time-algorithm in 6-sample DAQ mode
SVDTimeGroupingParameters & setTimeGroupingParameters(const TString &alg, const Int_t &numberOfAcquiredSamples)
Sets all the parameters.
static std::string name
name of the payload
SVDTimeGroupingParameters m_parsForCoG6In3Samples
parameters for CoG6 time-algorithm in 3-sample DAQ mode
Abstract base class for different kinds of events.
structure containing the relevant informations of SVDTimeGrouping module
Float_t removeSigmaN
Remove upto this sigma of fitted gaus from histogram.
Float_t signalLifetime
Group prominence is weighted with exponential weight with a lifetime defined by this parameter [ns].
Int_t rebinningFactor
Time bin width is 1/rebinningFactor [ns].
Float_t fillSigmaN
Number of Gaussian sigmas used to fill the time histogram for each cluster.
Float_t acceptSigmaN
Clusters are tagged within this of fitted group.
Float_t fitRangeHalfWidth
Half width of the range in which the fit for the peak-search is performed [ns].
Float_t fracThreshold
Minimum fraction of candidates in a peak (wrt to the highest peak) considered for fitting in the peak...
ClassDef(SVDTimeGroupingParameters, 1)
needed by root
Float_t limitSigma[2]
Limit of cluster time sigma for the fit for the peak-search [ns].
Bool_t formSingleSignalGroup
Assign groupID = 0 to all clusters belonging to the signal groups.
Float_t tRange[2]
Expected range of svd time histogram [ns].
Bool_t writeGroupInfo
Write group info in SVDCluster, otherwise kept empty.
Int_t numberOfSignalGroups
Number of groups expected to contain the signal clusters.
std::vector< Float_t > clsSigma[3][2]
Cls-time resolution based on sensor side and type, types -> 0: L3, 1: Barrel, 2: Forward.
Bool_t includeOutOfRangeClusters
Assign groups to under and overflow.
Int_t maxGroups
maximum number of groups to be accepted.
Float_t expectedSignalTime[3]
Expected time-range and mean of the signal [ns].