Belle II Software  release-05-01-25
SVDClusterCuts.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 namespace Belle2 {
20  struct SVDClusterCuts {
21 
24  float minSeedSNR;
25 
28  float minAdjSNR;
29 
33 
37 
41 
45 
47  float getCorrectedValue(float raw_error, int size) const
48  {
49 
50  if (size == 1)
51  return raw_error * scaleError_clSize1;
52 
53  if (size == 2)
54  return raw_error * scaleError_clSize2;
55 
56  return raw_error * scaleError_clSize3;
57  }
58 
59 
62  };
63 
65 }
Belle2::SVDClusterCuts::minAdjSNR
float minAdjSNR
minimum value of SNR of the adjacent strip
Definition: SVDClusterCuts.h:36
Belle2::SVDClusterCuts::ClassDef
ClassDef(SVDClusterCuts, 1)
needed by root
Belle2::SVDClusterCuts
contains the calibration parameters of the clusterizer
Definition: SVDClusterCuts.h:28
Belle2::SVDClusterCuts::getCorrectedValue
float getCorrectedValue(float raw_error, int size) const
returns the corrected cluster position error
Definition: SVDClusterCuts.h:55
Belle2::SVDClusterCuts::scaleError_clSize1
float scaleError_clSize1
position error scale factor for cluster size = 1
Definition: SVDClusterCuts.h:44
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SVDClusterCuts::minClusterSNR
float minClusterSNR
minimum value of SNR of the cluster
Definition: SVDClusterCuts.h:40
Belle2::SVDClusterCuts::scaleError_clSize3
float scaleError_clSize3
position error scale factor for cluster size > 2
Definition: SVDClusterCuts.h:52
Belle2::SVDClusterCuts::scaleError_clSize2
float scaleError_clSize2
position error scale factor for cluster size = 2
Definition: SVDClusterCuts.h:48
Belle2::SVDClusterCuts::minSeedSNR
float minSeedSNR
minimum value of SNR of the seed strip
Definition: SVDClusterCuts.h:32