Belle II Software development
|
This class is an auxiliary class that implement methods to access to a single cut, used in NoKickRTSel class. More...
#include <NoKickCuts.h>
Public Types | |
enum | EMinMax { c_Min , c_Max } |
enum for minimum/maximum value of cuts More... | |
enum | EParameters { c_Omega , c_D0 , c_Phi0 , c_Z0 , c_Tanlambda } |
enum for parameters name More... | |
enum | ECutName { c_Norm , c_Pow , c_Bkg } |
enum for the cuts name More... | |
Public Member Functions | |
NoKickCuts () | |
constructor of the class without arguments, used in cuts evaluations | |
NoKickCuts (std::string m_fileName) | |
constructor with name of the CutFile, used in cuts application | |
std::vector< double > | cutSelector (double sintheta, double momentum, int layer1, int layer2, EParameters par) |
This methods selects 2 cuts (minimum and maximum inside a vector) from the information of theta, momentum, the layers and the parameter. | |
double | getCut (int layer1, int layer2, EParameters par, EMinMax m, ECutName cut) |
void | FillCuts (std::string m_fileName) |
This method fill the cuts (used in NoKickCutsEval method) to create the cutfile. | |
Private Member Functions | |
ClassDef (NoKickCuts, 1) | |
Making this class a ROOT class. | |
Private Attributes | |
std::vector< std::vector< std::vector< std::vector< double > > > > | m_cutNorm |
matrix of fit-parameter of cut, norm | |
std::vector< std::vector< std::vector< std::vector< double > > > > | m_cutPow |
matrix of fit-parameter of cut, power | |
std::vector< std::vector< std::vector< std::vector< double > > > > | m_cutBkg |
matrix of fit-parameter of cut, constant | |
int | m_nbinpar = 5 |
number of track parameter | |
int | m_nbinlay = 7 |
number of layers (IP too) | |
This class is an auxiliary class that implement methods to access to a single cut, used in NoKickRTSel class.
Definition at line 25 of file NoKickCuts.h.
enum ECutName |
enum for the cuts name
Definition at line 53 of file NoKickCuts.h.
enum EMinMax |
enum for minimum/maximum value of cuts
Definition at line 38 of file NoKickCuts.h.
enum EParameters |
enum for parameters name
Definition at line 44 of file NoKickCuts.h.
|
inline |
constructor of the class without arguments, used in cuts evaluations
Definition at line 29 of file NoKickCuts.h.
|
inlineexplicit |
constructor with name of the CutFile, used in cuts application
Definition at line 32 of file NoKickCuts.h.
std::vector< double > cutSelector | ( | double | sintheta, |
double | momentum, | ||
int | layer1, | ||
int | layer2, | ||
EParameters | par | ||
) |
This methods selects 2 cuts (minimum and maximum inside a vector) from the information of theta, momentum, the layers and the parameter.
The method takes the cuts from cutfile using the method getCuts and then evaluate the effective cut using theta and momentum behaviour, from the function Norm/(p^Pow*sqrt(sin(theta)))+Bkg. input: (sin(angle), momentum, first layer, second layer, track parameter) output: evaluated cut value
Definition at line 18 of file NoKickCuts.cc.
void FillCuts | ( | std::string | m_fileName | ) |
This method fill the cuts (used in NoKickCutsEval method) to create the cutfile.
input: (name of the cutFile)
Definition at line 59 of file NoKickCuts.cc.
double getCut | ( | int | layer1, |
int | layer2, | ||
EParameters | par, | ||
EMinMax | m, | ||
ECutName | cut | ||
) |
numeration order inside vector<vector<vector<vector<double>>>> cut: <EMinMax<EParameters<layer_int<layer_ext>>>> EMinMax: 0=min,1=max EParameters: 0=omega, 1=d0, 2=phi0, 3=z0, 4=tanLmabda
Definition at line 30 of file NoKickCuts.cc.
|
private |
matrix of fit-parameter of cut, constant
Definition at line 87 of file NoKickCuts.h.
|
private |
matrix of fit-parameter of cut, norm
Definition at line 85 of file NoKickCuts.h.
|
private |
matrix of fit-parameter of cut, power
Definition at line 86 of file NoKickCuts.h.
|
private |
number of layers (IP too)
Definition at line 90 of file NoKickCuts.h.
|
private |
number of track parameter
Definition at line 89 of file NoKickCuts.h.