Page:
TMsource
Pages
AddVariable.cpp
B mass model
B2Kstmumu
B2Kstmumu.pro
BDTSelection
BDTcutScanner.cpp
BackgroundPdf Class
BackgroundType Class
CompareVariables.cpp
Comparison tool
Design.cpp
Efficiency Class
Efficiency.cpp
Event generator
FCNC Fitter
Ganga
GlobalFunctions.hh
Home
InclusiveCheck.cpp
Input MVA variables
MCtruthmatching.cpp
MVA Class
MassFit.cpp
ParamValues Class
Paths.hpp
PlotTMVA.cpp
RemoveMultipleCandidates.py
ReorganizeTGraph.py
Rescale pi0 momentum
Resolution Plotting
Running the FCNC fitter
Selection code
Signal Study
SignalPdf Class
SignalType Class
Standalone Scripts
TMVA Class application
TMVA
TMsource
Utils.hpp
Utils3.py
flav.io
getPathForPython
nTrackWeights.cpp
6
TMsource
Renata Kopecná edited this page 2022-02-10 10:46:48 +01:00
Classes
counters
- Public members:
- int B_plus_VETO
- int K_star_plus_VETO
- int mu_VETO
- int J_psi_VETO
- int K_plus_VETO
- int pi_zero_VETO
- int gammas_VETO
- int MOTHER_ID_VETO
- int GD_MOTHER_ID_VETO
- int GD_GD_MOTHER_ID_VETO
- int K_short_VETO
- int Ks_pi_VETO
- int pi_plus_VETO
- int Kshort_pi_zero_daughters
- int ReconstructedPionsWhichAreMuons Class used to save the counters for truth-matching vetos. Given integer shows which particle is the culrpit for failed truth-matching.
B_plus_IDs
- Public members:
- int B_plus_TRUEID
Functions:
- B_plus_IDs() // constructor
- ~B_plus_IDs() // destructor
- bool isBplus()
- Parameters
- counters *counter
- bool B_plus_TM
- Return
- True if B+ passes the truth matching, False if not
- Parameters
K_star_IDs
- Public members:
- int K_star_plus_TRUEID
- int K_star_plus_MOTHER_ID
Functions:
- K_star_IDs() // constructor
- ~K_star_IDs() // destructor
- bool isKstar()
- Parameters
- counters *counter
- bool K_star_plus_TM
- bool B_plus_TM
- Return
- True if K*+ passes the truth matching, False if not. You can also turn off checking the mother particle of K*+ (B+)
- Parameters
K_plus_IDs
- Public members:
- int K_plus_TRUEID
- int K_plus_MOTHER_ID
- int K_plus_GD_MOTHER_ID
Functions:
- K_plus_IDs() // constructor
- ~K_plus_IDs() // destructor
- bool isKplus()
- Parameters
- counters *counter
- bool K_plus_TM
- bool K_star_plus_TM
- bool B_plus_TM
- Return
- True if K+ passes the truth matching, False if not. You can also turn on/off checking the mother particle (K*+) an grandmother (B+) via the input parameters
- Parameters
pi_zero_IDs
- Public members:
- int pi_zero_TRUEID
- int pi_zero_MOTHER_ID
- int pi_zero_GD_MOTHER_ID
Functions:
- pi_zero_IDs() // constructor
- ~pi_zero_IDs() // destructor
- bool isPi0()
- Parameters
- counters *counter
- bool pi_zero_TM
- bool K_star_plus_TM
- bool B_plus_TM
- double pi_zero_resolved_M
- double B_plus_M
- TH1D *h_pi0_mismatched_mass
- TH1D *h_Bplus_mass_pi0mismatched
- TH1D *h_pi0_resolved_mass
- Return
- True if pi0 passes the truth matching, False if not. You can also turn on/off checking the mother particle, grandmother and great-grandmother via the input parameters. In the histograms, the masses for (not) matched events are ssaved (that is why you need masses as input).
- Parameters
gamma_IDs
- Public members:
- int gamma_TRUEID
- int gamma_MOTHER_ID
- int gamma_GD_MOTHER_ID
- int gamma_GD_GD_MOTHER_ID
Functions:
- gamma_IDs() // constructor
- ~gamma_IDs() // destructor
- bool isGammaConversion()
- Parameters
- counters *counter
- bool gamma_TM
- bool pi_zero_TM
- bool K_star_plus_TM
- Return
- Returns True if gamma was converted into an electron
- Parameters
- bool isGammaTrue()
- Parameters
- counters *counter
- bool gamma_TM
- bool gamma_TM_full
- bool pi_zero_TM
- bool K_star_plus_TM
- bool B_plus_TM
- Return
- True if gamma passes the truth matching, False if not. You can also turn on/off checking the mother particle, grandmother, great-grandmother and great-great-grandmother via the input parameters. In the histograms, the masses for (not) matched events are ssaved (that is why you need masses as input).
- Parameters
K_short_IDs
- Public members:
- int K_short_TRUEID
- int K_short_MOTHER_ID
- int K_short_GD_MOTHER_ID
Functions:
- K_short_IDs() // constructor
- ~K_short_IDs() // destructor
- bool isKshort()
- Parameters
- counters *counter
- Return
- True if Kshort passes the truth matching, False if not. You can also turn on/off checking the mother particle (K*+) an grandmother (B+) via the input parameters
- Parameters
pi_plus_IDs
- Public members:
- int pi_plus_TRUEID
- int pi_plus_MOTHER_ID
- int pi_plus_GD_MOTHER_ID
Functions:
- pi_plus_IDs() // constructor
- ~pi_plus_IDs() // destructor
- bool isPiPlus()
- Parameters
- counters *counter
- Return
- True if pi+ passes the truth matching, False if not. You can also turn on/off checking the mother particle (K*+) an grandmother (B+) via the input parameters
- Parameters
Ks_pi_IDs
- Public members:
- int Ks_pi_TRUEID
- int Ks_pi_MOTHER_ID
- int Ks_pi_GD_MOTHER_ID
- int Ks_pi_GD_GD_MOTHER_ID
Functions:
- Ks_pi_IDs() // constructor
- ~Ks_pi_IDs() // destructor
- bool isKsPi()
- Parameters
- counters *counter
- Return
- True if the pion form Kshort passes the truth matching, False if not. You can also turn on/off checking the mother particle, grandmother, great-grandmother and great-great-grandmother via the input parameters.
- Parameters
mu_IDs
- Public members:
- int mu_TRUEID
- int mu_MOTHER_ID
- int mu_GD_MOTHER_ID
- bool ReferenceChannel = false
Functions:
- mu_IDs()
- Parameters
- bool isRefChan
- Return
- Parameters
- ~mu_IDs() // destructor
- bool isMu()
- Parameters
- counters *counter
- bool mu_TM
- bool J_psi_TM
- bool B_plus_TM//flags *allFlags
- Return
- True if muon passes the truth matching, False if not. You can also turn on/off checking the mother particle ( Jpsi or B+) and if ReferenceChannel=true, also the grandmother (B+).
- Parameters
J_psi_IDs
- Public members:
- int J_psi_TRUEID
- int J_psi_MOTHER_ID
- int J_psi_GD_MOTHER_ID
- bool ReferenceChannel = false
Functions:
- J_psi_IDs()
- Parameters
- bool isRefChan
- Parameters
- ~J_psi_IDs() // destructor
- bool isJpsi()
- Parameters
- counters *counter
- bool J_psi_TM
- bool B_plus_TM
- Return
- True if Jpsi passes the truth matching, False if not. You can also turn on/off checking the mother particle (B+).
- Parameters
Functions and their parameters:
void counters::printCounters()
Prints the vetos.
- Parameters
- bool B0
- bool K1
bool isBKGCAT()
- Parameters
- int BKGCAT
- bool ReferenceChannel
- Return
- True if the background category is signal, false if background.