#include <TSLToyGen.h>
Public Member Functions | |
Bool_t | doToyExperiments (Int_t nbExperiments=1000) |
void | setCheckConstraintsTruth (Bool_t value) |
void | setMassConstraint (Bool_t value) |
void | setMPDGCons (Bool_t value) |
void | setprintConsAfter (Bool_t value) |
void | setprintConsBefore (Bool_t value) |
void | setprintConsIni (Bool_t value) |
void | setprintPartAfter (Bool_t value) |
void | setprintPartIni (Bool_t value) |
void | setprintSmearedPartBefore (Bool_t value) |
TSLToyGen (const TAbsFitParticle *bReco, const TAbsFitParticle *lepton, const TAbsFitParticle *X, const TAbsFitParticle *neutrino) | |
~TSLToyGen () override | |
Public Attributes | |
TH1D * | _histChi2 |
TH1D * | _histMBrecoFit |
TH1D * | _histMBrecoSmear |
TH1D * | _histMBrecoTrue |
TH1D * | _histMXFit |
TH1D * | _histMXlnuFit |
TH1D * | _histMXlnuSmear |
TH1D * | _histMXlnuTrue |
TH1D * | _histMXSmear |
TH1D * | _histMXTrue |
TH1D * | _histNIter |
TH1D * | _histPChi2 |
TObjArray | _histsDiff1 |
TObjArray | _histsDiff2 |
TObjArray | _histsError1 |
TObjArray | _histsError2 |
TObjArray | _histsParFit |
TObjArray | _histsParSmear |
TObjArray | _histsParTrue |
TObjArray | _histsPull1 |
TObjArray | _histsPull2 |
TH1D * | _histStatus |
Protected Member Functions | |
void | createHists () |
void | fillM () |
void | fillPar () |
void | fillPull1 () |
void | fillPull2 () |
void | smearParticles () |
Private Attributes | |
TAbsFitParticle * | _breco |
Bool_t | _doCheckConstraintsTruth |
TAbsFitParticle * | _iniBreco |
TAbsFitParticle * | _iniLepton |
std::vector< TAbsFitParticle * > | _inimeasParticles |
TAbsFitParticle * | _iniNeutrino |
std::vector< TAbsFitParticle * > | _iniunmeasParticles |
TAbsFitParticle * | _iniX |
TAbsFitParticle * | _lepton |
std::vector< TAbsFitParticle * > | _measParticles |
TAbsFitParticle * | _neutrino |
Bool_t | _printConsAfter |
Bool_t | _printConsBefore |
Bool_t | _printConsIni |
Bool_t | _printPartAfter |
Bool_t | _printPartIni |
Bool_t | _printSmearedPartBefore |
std::vector< TAbsFitParticle * > | _unmeasParticles |
Bool_t | _withMassConstraint |
Bool_t | _withMPDGCons |
TAbsFitParticle * | _X |
TVector3 | _Y4S |
Definition at line 12 of file TSLToyGen.h.
TSLToyGen::TSLToyGen | ( | const TAbsFitParticle * | bReco, |
const TAbsFitParticle * | lepton, | ||
const TAbsFitParticle * | X, | ||
const TAbsFitParticle * | neutrino | ||
) |
Definition at line 12 of file TSLToyGen.cc.
References _breco, _doCheckConstraintsTruth, _iniBreco, _iniLepton, _iniNeutrino, _iniX, _lepton, _neutrino, _printConsAfter, _printConsBefore, _printConsIni, _printPartAfter, _printPartIni, _printSmearedPartBefore, _withMassConstraint, _withMPDGCons, _X, and TAbsFitParticle::clone().
|
override |
Definition at line 44 of file TSLToyGen.cc.
References _breco, _iniBreco, _iniLepton, _iniNeutrino, _iniX, _lepton, _neutrino, and _X.
|
protected |
Definition at line 324 of file TSLToyGen.cc.
References _histChi2, _histMBrecoFit, _histMBrecoSmear, _histMBrecoTrue, _histMXFit, _histMXlnuFit, _histMXlnuSmear, _histMXlnuTrue, _histMXSmear, _histMXTrue, _histNIter, _histPChi2, _histsDiff1, _histsDiff2, _histsError1, _histsError2, _histsParFit, _histsParSmear, _histsParTrue, _histsPull1, _histsPull2, _histStatus, _measParticles, TAbsFitParticle::getNPar(), h, mps_fire::i, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by doToyExperiments().
Bool_t TSLToyGen::doToyExperiments | ( | Int_t | nbExperiments = 1000 | ) |
Definition at line 56 of file TSLToyGen.cc.
References _breco, _doCheckConstraintsTruth, _histChi2, _histNIter, _histPChi2, _histStatus, _iniBreco, _iniLepton, _inimeasParticles, _iniNeutrino, _iniunmeasParticles, _iniX, _lepton, _measParticles, _neutrino, _printConsAfter, _printConsBefore, _printConsIni, _printPartAfter, _printPartIni, _printSmearedPartBefore, _withMassConstraint, _withMPDGCons, _X, _Y4S, TKinFitter::addConstraint(), TKinFitter::addMeasParticle(), TFitConstraintM::addParticle1(), TFitConstraintM::addParticles1(), TFitConstraintM::addParticles2(), TKinFitter::addUnmeasParticle(), gather_cfg::cout, createHists(), TFitConstraintEp::E, alignCSCRings::e, fillM(), fillPar(), fillPull1(), fillPull2(), TKinFitter::fit(), TFitConstraintM::getCurrentValue(), TKinFitter::getF(), TAbsFitParticle::getIni4Vec(), TKinFitter::getMaxF(), TKinFitter::getNbIter(), TKinFitter::getNDF(), TKinFitter::getS(), TKinFitter::getStatus(), mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, TAbsFitParticle::print(), TFitConstraintEp::pX, TFitConstraintEp::pY, TFitConstraintEp::pZ, TKinFitter::setMaxDeltaS(), TKinFitter::setMaxF(), TKinFitter::setMaxNbIter(), TKinFitter::setVerbosity(), and smearParticles().
|
protected |
Definition at line 299 of file TSLToyGen.cc.
References _breco, _histMBrecoFit, _histMBrecoSmear, _histMBrecoTrue, _histMXFit, _histMXlnuFit, _histMXlnuSmear, _histMXlnuTrue, _histMXSmear, _histMXTrue, _iniBreco, _iniLepton, _iniNeutrino, _iniX, _lepton, _neutrino, _X, TAbsFitParticle::getCurr4Vec(), and TAbsFitParticle::getIni4Vec().
Referenced by doToyExperiments().
|
protected |
Definition at line 284 of file TSLToyGen.cc.
References _histsParFit, _histsParSmear, _histsParTrue, _inimeasParticles, _measParticles, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by doToyExperiments().
|
protected |
Definition at line 246 of file TSLToyGen.cc.
References _histsDiff1, _histsError1, _histsPull1, _inimeasParticles, _measParticles, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by doToyExperiments().
|
protected |
Definition at line 268 of file TSLToyGen.cc.
References _histsDiff2, _histsError2, _histsPull2, _measParticles, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by doToyExperiments().
|
inline |
Definition at line 56 of file TSLToyGen.h.
References _doCheckConstraintsTruth, and relativeConstraints::value.
|
inline |
Definition at line 54 of file TSLToyGen.h.
References _withMassConstraint, and relativeConstraints::value.
|
inline |
Definition at line 55 of file TSLToyGen.h.
References _withMPDGCons, and relativeConstraints::value.
|
inline |
Definition at line 52 of file TSLToyGen.h.
References _printConsAfter, and relativeConstraints::value.
|
inline |
Definition at line 51 of file TSLToyGen.h.
References _printConsBefore, and relativeConstraints::value.
|
inline |
Definition at line 48 of file TSLToyGen.h.
References _printConsIni, and relativeConstraints::value.
|
inline |
Definition at line 50 of file TSLToyGen.h.
References _printPartAfter, and relativeConstraints::value.
|
inline |
Definition at line 47 of file TSLToyGen.h.
References _printPartIni, and relativeConstraints::value.
|
inline |
Definition at line 49 of file TSLToyGen.h.
References _printSmearedPartBefore, and relativeConstraints::value.
|
protected |
Definition at line 216 of file TSLToyGen.cc.
References _inimeasParticles, _measParticles, _neutrino, _Y4S, TAbsFitParticle::calc4Vec(), TAbsFitParticle::getCovMatrix(), TAbsFitParticle::getNPar(), TAbsFitParticle::getParIni(), visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, and TAbsFitParticle::setIni4Vec().
Referenced by doToyExperiments().
|
private |
Definition at line 79 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 92 of file TSLToyGen.h.
Referenced by doToyExperiments(), setCheckConstraintsTruth(), and TSLToyGen().
TH1D* TSLToyGen::_histChi2 |
Definition at line 24 of file TSLToyGen.h.
Referenced by createHists(), and doToyExperiments().
TH1D* TSLToyGen::_histMBrecoFit |
Definition at line 28 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMBrecoSmear |
Definition at line 27 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMBrecoTrue |
Definition at line 26 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMXFit |
Definition at line 31 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMXlnuFit |
Definition at line 34 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMXlnuSmear |
Definition at line 33 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMXlnuTrue |
Definition at line 32 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMXSmear |
Definition at line 30 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histMXTrue |
Definition at line 29 of file TSLToyGen.h.
Referenced by createHists(), and fillM().
TH1D* TSLToyGen::_histNIter |
Definition at line 22 of file TSLToyGen.h.
Referenced by createHists(), and doToyExperiments().
TH1D* TSLToyGen::_histPChi2 |
Definition at line 23 of file TSLToyGen.h.
Referenced by createHists(), and doToyExperiments().
TObjArray TSLToyGen::_histsDiff1 |
Definition at line 42 of file TSLToyGen.h.
Referenced by createHists(), and fillPull1().
TObjArray TSLToyGen::_histsDiff2 |
Definition at line 45 of file TSLToyGen.h.
Referenced by createHists(), and fillPull2().
TObjArray TSLToyGen::_histsError1 |
Definition at line 41 of file TSLToyGen.h.
Referenced by createHists(), and fillPull1().
TObjArray TSLToyGen::_histsError2 |
Definition at line 44 of file TSLToyGen.h.
Referenced by createHists(), and fillPull2().
TObjArray TSLToyGen::_histsParFit |
Definition at line 38 of file TSLToyGen.h.
Referenced by createHists(), and fillPar().
TObjArray TSLToyGen::_histsParSmear |
Definition at line 37 of file TSLToyGen.h.
Referenced by createHists(), and fillPar().
TObjArray TSLToyGen::_histsParTrue |
Definition at line 36 of file TSLToyGen.h.
Referenced by createHists(), and fillPar().
TObjArray TSLToyGen::_histsPull1 |
Definition at line 40 of file TSLToyGen.h.
Referenced by createHists(), and fillPull1().
TObjArray TSLToyGen::_histsPull2 |
Definition at line 43 of file TSLToyGen.h.
Referenced by createHists(), and fillPull2().
TH1D* TSLToyGen::_histStatus |
Definition at line 21 of file TSLToyGen.h.
Referenced by createHists(), and doToyExperiments().
|
private |
Definition at line 75 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 76 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 69 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillPar(), fillPull1(), and smearParticles().
|
private |
Definition at line 78 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 70 of file TSLToyGen.h.
Referenced by doToyExperiments().
|
private |
Definition at line 77 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 80 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 71 of file TSLToyGen.h.
Referenced by createHists(), doToyExperiments(), fillPar(), fillPull1(), fillPull2(), and smearParticles().
|
private |
Definition at line 82 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), smearParticles(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 88 of file TSLToyGen.h.
Referenced by doToyExperiments(), setprintConsAfter(), and TSLToyGen().
|
private |
Definition at line 87 of file TSLToyGen.h.
Referenced by doToyExperiments(), setprintConsBefore(), and TSLToyGen().
|
private |
Definition at line 85 of file TSLToyGen.h.
Referenced by doToyExperiments(), setprintConsIni(), and TSLToyGen().
|
private |
Definition at line 89 of file TSLToyGen.h.
Referenced by doToyExperiments(), setprintPartAfter(), and TSLToyGen().
|
private |
Definition at line 84 of file TSLToyGen.h.
Referenced by doToyExperiments(), setprintPartIni(), and TSLToyGen().
|
private |
Definition at line 86 of file TSLToyGen.h.
Referenced by doToyExperiments(), setprintSmearedPartBefore(), and TSLToyGen().
|
private |
Definition at line 72 of file TSLToyGen.h.
|
private |
Definition at line 90 of file TSLToyGen.h.
Referenced by doToyExperiments(), setMassConstraint(), and TSLToyGen().
|
private |
Definition at line 91 of file TSLToyGen.h.
Referenced by doToyExperiments(), setMPDGCons(), and TSLToyGen().
|
private |
Definition at line 81 of file TSLToyGen.h.
Referenced by doToyExperiments(), fillM(), TSLToyGen(), and ~TSLToyGen().
|
private |
Definition at line 73 of file TSLToyGen.h.
Referenced by doToyExperiments(), and smearParticles().