Belle II Software  release-05-02-19
SectorMapConfig.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler (jakob.lettenbichler@oeaw.ac.at) *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 
12 #pragma once
13 
14 #include <framework/geometry/B2Vector3.h>
15 
16 #include <string>
17 #include <vector>
18 #include <utility> // std::pair
19 
20 
21 namespace Belle2 {
28  struct SectorMapConfig: public TObject {
29 
30  public:
31 
32  SectorMapConfig() {}
33 
34 
35 
37  double pTmin = 0.02;
39  double pTmax = 3.5;
40 
43  double pTSmear = 0.;
44 
46  std::vector<int> allowedLayers = {0, 3, 4, 5, 6};
47 
50  std::vector<double> uSectorDivider = {.15, .5, .85, 1.};
51 
54  std::vector<double> vSectorDivider = {.1, .3, .5, .7, .9, 1.};
55 
58  std::vector<int> pdgCodesAllowed;
59 
63  double seedMaxDist2IPXY = 23.5;
64 
68  double seedMaxDist2IPZ = 23.5;
69 
72  unsigned nHitsMin = 3;
73 
77 
79  std::string secMapName = "testMap";
80 
82  double mField = 1.5;
83 
85  double rarenessThreshold = 0.001;
86 
88  std::pair<double, double> quantiles = {0.005, 1. - 0.005};
89 
92 
93  };
95 }
96 
Belle2::SectorMapConfig::allowedLayers
std::vector< int > allowedLayers
stores allowed layers to be used (including virtual IP with layer 0).
Definition: SectorMapConfig.h:54
Belle2::SectorMapConfig::ClassDef
ClassDef(SectorMapConfig, 2)
needed for the root library
Belle2::SectorMapConfig::quantiles
std::pair< double, double > quantiles
the quantiles to be chosen in the end for determining the cuts first is quantile, second is 1-quantil...
Definition: SectorMapConfig.h:96
Belle2::SectorMapConfig::seedMaxDist2IPXY
double seedMaxDist2IPXY
Stores a cut for maximum distance of the seed in xy of the given virtual IP.
Definition: SectorMapConfig.h:71
Belle2::B2Vector3< double >
Belle2::SectorMapConfig::seedMaxDist2IPZ
double seedMaxDist2IPZ
Stores a cut for maximum distance of the seed in z of the given virtual IP.
Definition: SectorMapConfig.h:76
Belle2::B2Vector3D
B2Vector3< double > B2Vector3D
typedef for common usage with double
Definition: B2Vector3.h:507
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SectorMapConfig::pTmin
double pTmin
stores pTCuts for min pT allowed for this .
Definition: SectorMapConfig.h:45
Belle2::SectorMapConfig::vSectorDivider
std::vector< double > vSectorDivider
Defines the sectors boundaries in normalized v coordinates (i.e.
Definition: SectorMapConfig.h:62
Belle2::SectorMapConfig::pTSmear
double pTSmear
allows smearing of the cuts.
Definition: SectorMapConfig.h:51
Belle2::SectorMapConfig::pTmax
double pTmax
stores pTCuts for min (.first) and max (.second) ptCut.
Definition: SectorMapConfig.h:47
Belle2::SectorMapConfig::nHitsMin
unsigned nHitsMin
Stores the minimal number of hits a TC must have to be accepted as TC (vIP-Hits are ignored).
Definition: SectorMapConfig.h:80
Belle2::SectorMapConfig::rarenessThreshold
double rarenessThreshold
defined 1 == 100%, if relative frequency of sec-combi to the outer-sector is less than threshold,...
Definition: SectorMapConfig.h:93
Belle2::SectorMapConfig
simple struct containing all the configuration data needed for the SecMapTrainer.
Definition: SectorMapConfig.h:36
Belle2::SectorMapConfig::secMapName
std::string secMapName
Sets the human readable proto-name of the sectorMap.
Definition: SectorMapConfig.h:87
Belle2::SectorMapConfig::vIP
B2Vector3D vIP
Stores the position of the assumed position of the interaction point - The virtual IP.
Definition: SectorMapConfig.h:84
Belle2::SectorMapConfig::mField
double mField
Magnetic field value to be set for the filters.
Definition: SectorMapConfig.h:90
Belle2::SectorMapConfig::pdgCodesAllowed
std::vector< int > pdgCodesAllowed
Stores all the pdgCodes which are allowed to be used by the SecMap.
Definition: SectorMapConfig.h:66
Belle2::SectorMapConfig::uSectorDivider
std::vector< double > uSectorDivider
Defines the sectors boundaries in normalized u coordinates (i.e.
Definition: SectorMapConfig.h:58