Belle II Software development
ConstraintConfiguration Class Reference

constraint configuration class More...

#include <ConstraintConfiguration.h>

Public Member Functions

 ConstraintConfiguration ()
 constructor
 
 ConstraintConfiguration (const bool &massConstraintType, const std::vector< int > &massConstraintListPDG, const std::vector< int > &fixedToMotherVertexListPDG, const std::vector< int > &geoConstraintListPDG, const std::vector< std::string > &removeConstraintList, const bool &automatic_vertex_constraining, const bool &ipConstraint, const bool &customOrigin, const std::vector< double > &customOriginVertex, const std::vector< double > &customOriginCovariance, const int &originDimension, const int &beamConstraintPDG, const Eigen::Matrix< double, 4, 1 > &beamMomE, const Eigen::Matrix< double, 4, 4 > &beamCovariance, const int &inflationFactorCovZ=1)
 constructor
 

Public Attributes

const bool m_massConstraintType
 const flag for the type of the mass constraint
 
const std::vector< int > m_massConstraintListPDG
 list of pdg codes to mass constrain
 
const std::vector< int > m_fixedToMotherVertexListPDG
 list of pdg codes to mass constrain
 
const std::vector< int > m_geoConstraintListPDG
 list of pdg codes to mass constrain
 
const std::vector< std::string > m_removeConstraintList
 list of constraints not to apply in tree fit
 
const bool m_automatic_vertex_constraining
 automatically determining if it is worth extracting a vertex for this particle or if it should be joined with the mother
 
const bool m_ipConstraint
 is IP constraint

 
const bool m_customOrigin
 is custom origin
 
const std::vector< double > m_customOriginVertex
 x,y,z of custom origin as vector len 3
 
const std::vector< double > m_customOriginCovariance
 covariance matrix of origin as row major vector len = 9
 
const int m_originDimension
 dimension of the origin constraint and ALL geometric gcosntraints
 
int m_headOfTreePDG
 PDG code of the head particle.
 
const int m_beamConstraintPDG
 PDG code to beam constraint.
 
Eigen::Matrix< double, 4, 1 > m_beamMomE
 Beam four-momentum.
 
Eigen::Matrix< double, 4, 4 > m_beamCovariance
 Beam Covariance.
 
const int m_inflationFactorCovZ
 inflate covariance of z by this number -> iptube

 

Detailed Description

constraint configuration class

Definition at line 16 of file ConstraintConfiguration.h.

Constructor & Destructor Documentation

◆ ConstraintConfiguration() [1/2]

constructor

Definition at line 20 of file ConstraintConfiguration.h.

20 :
27 m_ipConstraint(false),
28 m_customOrigin(false),
34 m_beamMomE(Eigen::Matrix<double, 4, 1>()),
35 m_beamCovariance(Eigen::Matrix<double, 4, 4>()),
37 {};
const bool m_customOrigin
is custom origin
const std::vector< double > m_customOriginVertex
x,y,z of custom origin as vector len 3
const int m_originDimension
dimension of the origin constraint and ALL geometric gcosntraints
Eigen::Matrix< double, 4, 1 > m_beamMomE
Beam four-momentum.
const std::vector< int > m_geoConstraintListPDG
list of pdg codes to mass constrain
const std::vector< int > m_fixedToMotherVertexListPDG
list of pdg codes to mass constrain
const std::vector< double > m_customOriginCovariance
covariance matrix of origin as row major vector len = 9
int m_headOfTreePDG
PDG code of the head particle.
const std::vector< int > m_massConstraintListPDG
list of pdg codes to mass constrain
const bool m_ipConstraint
is IP constraint
const int m_beamConstraintPDG
PDG code to beam constraint.
const bool m_automatic_vertex_constraining
automatically determining if it is worth extracting a vertex for this particle or if it should be joi...
const std::vector< std::string > m_removeConstraintList
list of constraints not to apply in tree fit
Eigen::Matrix< double, 4, 4 > m_beamCovariance
Beam Covariance.
const bool m_massConstraintType
const flag for the type of the mass constraint
const int m_inflationFactorCovZ
inflate covariance of z by this number -> iptube

◆ ConstraintConfiguration() [2/2]

ConstraintConfiguration ( const bool &  massConstraintType,
const std::vector< int > &  massConstraintListPDG,
const std::vector< int > &  fixedToMotherVertexListPDG,
const std::vector< int > &  geoConstraintListPDG,
const std::vector< std::string > &  removeConstraintList,
const bool &  automatic_vertex_constraining,
const bool &  ipConstraint,
const bool &  customOrigin,
const std::vector< double > &  customOriginVertex,
const std::vector< double > &  customOriginCovariance,
const int &  originDimension,
const int &  beamConstraintPDG,
const Eigen::Matrix< double, 4, 1 > &  beamMomE,
const Eigen::Matrix< double, 4, 4 > &  beamCovariance,
const int &  inflationFactorCovZ = 1 
)
inline

constructor

Definition at line 40 of file ConstraintConfiguration.h.

55 :
56 m_massConstraintType(massConstraintType),
57 m_massConstraintListPDG(massConstraintListPDG),
58 m_fixedToMotherVertexListPDG(fixedToMotherVertexListPDG),
59 m_geoConstraintListPDG(geoConstraintListPDG),
60 m_removeConstraintList(removeConstraintList),
61 m_automatic_vertex_constraining(automatic_vertex_constraining),
62 m_ipConstraint(ipConstraint),
63 m_customOrigin(customOrigin),
64 m_customOriginVertex(customOriginVertex),
65 m_customOriginCovariance(customOriginCovariance),
66 m_originDimension(originDimension),
68 m_beamConstraintPDG(beamConstraintPDG),
69 m_beamMomE(beamMomE),
70 m_beamCovariance(beamCovariance),
71 m_inflationFactorCovZ(inflationFactorCovZ)
72 {}

Member Data Documentation

◆ m_automatic_vertex_constraining

const bool m_automatic_vertex_constraining

automatically determining if it is worth extracting a vertex for this particle or if it should be joined with the mother

Definition at line 90 of file ConstraintConfiguration.h.

◆ m_beamConstraintPDG

const int m_beamConstraintPDG

PDG code to beam constraint.

Definition at line 111 of file ConstraintConfiguration.h.

◆ m_beamCovariance

Eigen::Matrix<double, 4, 4> m_beamCovariance

Beam Covariance.

Definition at line 117 of file ConstraintConfiguration.h.

◆ m_beamMomE

Eigen::Matrix<double, 4, 1> m_beamMomE

Beam four-momentum.

Definition at line 114 of file ConstraintConfiguration.h.

◆ m_customOrigin

const bool m_customOrigin

is custom origin

Definition at line 96 of file ConstraintConfiguration.h.

◆ m_customOriginCovariance

const std::vector<double> m_customOriginCovariance

covariance matrix of origin as row major vector len = 9

Definition at line 102 of file ConstraintConfiguration.h.

◆ m_customOriginVertex

const std::vector<double> m_customOriginVertex

x,y,z of custom origin as vector len 3

Definition at line 99 of file ConstraintConfiguration.h.

◆ m_fixedToMotherVertexListPDG

const std::vector<int> m_fixedToMotherVertexListPDG

list of pdg codes to mass constrain

Definition at line 81 of file ConstraintConfiguration.h.

◆ m_geoConstraintListPDG

const std::vector<int> m_geoConstraintListPDG

list of pdg codes to mass constrain

Definition at line 84 of file ConstraintConfiguration.h.

◆ m_headOfTreePDG

int m_headOfTreePDG
mutable

PDG code of the head particle.

Definition at line 108 of file ConstraintConfiguration.h.

◆ m_inflationFactorCovZ

const int m_inflationFactorCovZ

inflate covariance of z by this number -> iptube

Definition at line 120 of file ConstraintConfiguration.h.

◆ m_ipConstraint

const bool m_ipConstraint

is IP constraint

Definition at line 93 of file ConstraintConfiguration.h.

◆ m_massConstraintListPDG

const std::vector<int> m_massConstraintListPDG

list of pdg codes to mass constrain

Definition at line 78 of file ConstraintConfiguration.h.

◆ m_massConstraintType

const bool m_massConstraintType

const flag for the type of the mass constraint

Definition at line 75 of file ConstraintConfiguration.h.

◆ m_originDimension

const int m_originDimension

dimension of the origin constraint and ALL geometric gcosntraints

Definition at line 105 of file ConstraintConfiguration.h.

◆ m_removeConstraintList

const std::vector<std::string> m_removeConstraintList

list of constraints not to apply in tree fit

Definition at line 87 of file ConstraintConfiguration.h.


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