Belle II Software development
SVDTimeGroupingConfiguration Class Reference

This class store the reconstruction configuration of SVDTimeGrouping module. More...

#include <SVDTimeGroupingConfiguration.h>

Inheritance diagram for SVDTimeGroupingConfiguration:

Public Member Functions

 SVDTimeGroupingConfiguration (const TString &uniqueID="", const std::vector< TString > &description={})
 Default constructor.
 
TString get_uniqueID () const
 Get the unique ID of the calibration.
 
SVDTimeGroupingParameters getTimeGroupingParameters (const TString &alg, const Int_t &numberOfAcquiredSamples) const
 Returns the reference to the parameters.
 
SVDTimeGroupingParameterssetTimeGroupingParameters (const TString &alg, const Int_t &numberOfAcquiredSamples)
 Sets all the parameters.
 

Static Public Attributes

static std::string name = std::string("SVDTimeGroupingConfiguration")
 name of the payload
 

Private Member Functions

 ClassDef (SVDTimeGroupingConfiguration, 1)
 needed by root
 

Private Attributes

TString m_uniqueID
 unique identifier of the payload
 
std::vector< TString > m_description
 short descrition of the payload
 
SVDTimeGroupingParameters m_parsForCoG6In6Samples
 parameters for CoG6 time-algorithm in 6-sample DAQ mode
 
SVDTimeGroupingParameters m_parsForCoG3In6Samples
 parameters for CoG3 time-algorithm in 6-sample DAQ mode
 
SVDTimeGroupingParameters m_parsForELS3In6Samples
 parameters for ELS3 time-algorithm in 6-sample DAQ mode
 
SVDTimeGroupingParameters m_parsForCoG6In3Samples
 parameters for CoG6 time-algorithm in 3-sample DAQ mode
 
SVDTimeGroupingParameters m_parsForCoG3In3Samples
 parameters for CoG3 time-algorithm in 3-sample DAQ mode
 
SVDTimeGroupingParameters m_parsForELS3In3Samples
 parameters for ELS3 time-algorithm in 3-sample DAQ mode
 

Detailed Description

This class store the reconstruction configuration of SVDTimeGrouping module.

Definition at line 74 of file SVDTimeGroupingConfiguration.h.

Constructor & Destructor Documentation

◆ SVDTimeGroupingConfiguration()

SVDTimeGroupingConfiguration ( const TString &  uniqueID = "",
const std::vector< TString > &  description = {} 
)
inline

Default constructor.

Definition at line 80 of file SVDTimeGroupingConfiguration.h.

81 {})
82 : m_uniqueID(uniqueID), m_description(description)
83 {
84
85 setTimeGroupingParameters("CoG3", 6).tRange[0] = -160;
86 setTimeGroupingParameters("CoG3", 6).tRange[1] = 160;
89 setTimeGroupingParameters("CoG3", 6).limitSigma[0] = 1;
90 setTimeGroupingParameters("CoG3", 6).limitSigma[1] = 15;
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};
110
111
112 // initialize all other algorithms same as CoG3-6sample.
113 // values must be checked in the globaltag before use
114
117
121 };
TString m_uniqueID
unique identifier of the payload
std::vector< TString > m_description
short descrition of the payload
SVDTimeGroupingParameters getTimeGroupingParameters(const TString &alg, const Int_t &numberOfAcquiredSamples) const
Returns the reference to the parameters.
SVDTimeGroupingParameters & setTimeGroupingParameters(const TString &alg, const Int_t &numberOfAcquiredSamples)
Sets all the parameters.
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...
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].

Member Function Documentation

◆ get_uniqueID()

TString get_uniqueID ( ) const
inline

Get the unique ID of the calibration.

Definition at line 126 of file SVDTimeGroupingConfiguration.h.

126{return m_uniqueID;}

◆ getTimeGroupingParameters()

SVDTimeGroupingParameters getTimeGroupingParameters ( const TString &  alg,
const Int_t &  numberOfAcquiredSamples 
) const
inline

Returns the reference to the parameters.

Definition at line 131 of file SVDTimeGroupingConfiguration.h.

133 {
134 if (numberOfAcquiredSamples == 6) {
135 if (alg == "CoG3")
137 else if (alg == "ELS3")
139 else if (alg == "CoG6")
141 } else if (numberOfAcquiredSamples == 3) {
142 if (alg == "CoG3")
144 else if (alg == "ELS3")
146 else if (alg == "CoG6")
148 }
149 B2FATAL("This state is forbidden");
150 };
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
SVDTimeGroupingParameters m_parsForELS3In6Samples
parameters for ELS3 time-algorithm in 6-sample DAQ mode
SVDTimeGroupingParameters m_parsForCoG3In6Samples
parameters for CoG3 time-algorithm in 6-sample DAQ mode
SVDTimeGroupingParameters m_parsForCoG6In3Samples
parameters for CoG6 time-algorithm in 3-sample DAQ mode

◆ setTimeGroupingParameters()

SVDTimeGroupingParameters & setTimeGroupingParameters ( const TString &  alg,
const Int_t &  numberOfAcquiredSamples 
)
inline

Sets all the parameters.

Definition at line 157 of file SVDTimeGroupingConfiguration.h.

159 {
160 if (numberOfAcquiredSamples == 6) {
161 if (alg == "CoG3")
163 else if (alg == "ELS3")
165 else if (alg == "CoG6")
167 } else if (numberOfAcquiredSamples == 3) {
168 if (alg == "CoG3")
170 else if (alg == "ELS3")
172 else if (alg == "CoG6")
174 }
175 B2FATAL("This state is forbidden");
176 };

Member Data Documentation

◆ m_description

std::vector<TString> m_description
private

short descrition of the payload

Definition at line 186 of file SVDTimeGroupingConfiguration.h.

◆ m_parsForCoG3In3Samples

SVDTimeGroupingParameters m_parsForCoG3In3Samples
private

parameters for CoG3 time-algorithm in 3-sample DAQ mode

Definition at line 198 of file SVDTimeGroupingConfiguration.h.

◆ m_parsForCoG3In6Samples

SVDTimeGroupingParameters m_parsForCoG3In6Samples
private

parameters for CoG3 time-algorithm in 6-sample DAQ mode

Definition at line 191 of file SVDTimeGroupingConfiguration.h.

◆ m_parsForCoG6In3Samples

SVDTimeGroupingParameters m_parsForCoG6In3Samples
private

parameters for CoG6 time-algorithm in 3-sample DAQ mode

Definition at line 196 of file SVDTimeGroupingConfiguration.h.

◆ m_parsForCoG6In6Samples

SVDTimeGroupingParameters m_parsForCoG6In6Samples
private

parameters for CoG6 time-algorithm in 6-sample DAQ mode

Definition at line 189 of file SVDTimeGroupingConfiguration.h.

◆ m_parsForELS3In3Samples

SVDTimeGroupingParameters m_parsForELS3In3Samples
private

parameters for ELS3 time-algorithm in 3-sample DAQ mode

Definition at line 200 of file SVDTimeGroupingConfiguration.h.

◆ m_parsForELS3In6Samples

SVDTimeGroupingParameters m_parsForELS3In6Samples
private

parameters for ELS3 time-algorithm in 6-sample DAQ mode

Definition at line 193 of file SVDTimeGroupingConfiguration.h.

◆ m_uniqueID

TString m_uniqueID
private

unique identifier of the payload

Definition at line 184 of file SVDTimeGroupingConfiguration.h.

◆ name

std::string name = std::string("SVDTimeGroupingConfiguration")
static

name of the payload

Definition at line 179 of file SVDTimeGroupingConfiguration.h.


The documentation for this class was generated from the following files: