CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
TSLToyGen Class Reference

#include <TSLToyGen.h>

Inheritance diagram for TSLToyGen:

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)
 
virtual ~TSLToyGen ()
 

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
 

Detailed Description

Definition at line 12 of file TSLToyGen.h.

Constructor & Destructor Documentation

TSLToyGen::TSLToyGen ( const TAbsFitParticle bReco,
const TAbsFitParticle lepton,
const TAbsFitParticle X,
const TAbsFitParticle neutrino 
)

Definition at line 14 of file TSLToyGen.cc.

TSLToyGen::~TSLToyGen ( )
virtual

Definition at line 45 of file TSLToyGen.cc.

Member Function Documentation

void TSLToyGen::createHists ( )
protected

Definition at line 358 of file TSLToyGen.cc.

Bool_t TSLToyGen::doToyExperiments ( Int_t  nbExperiments = 1000)

Definition at line 59 of file TSLToyGen.cc.

void TSLToyGen::fillM ( )
protected

Definition at line 331 of file TSLToyGen.cc.

void TSLToyGen::fillPar ( )
protected

Definition at line 313 of file TSLToyGen.cc.

void TSLToyGen::fillPull1 ( )
protected

Definition at line 266 of file TSLToyGen.cc.

void TSLToyGen::fillPull2 ( )
protected

Definition at line 294 of file TSLToyGen.cc.

void TSLToyGen::setCheckConstraintsTruth ( Bool_t  value)
inline

Definition at line 55 of file TSLToyGen.h.

References _doCheckConstraintsTruth, and relativeConstraints::value.

void TSLToyGen::setMassConstraint ( Bool_t  value)
inline

Definition at line 53 of file TSLToyGen.h.

References _withMassConstraint, and relativeConstraints::value.

void TSLToyGen::setMPDGCons ( Bool_t  value)
inline

Definition at line 54 of file TSLToyGen.h.

References _withMPDGCons, and relativeConstraints::value.

54 { _withMPDGCons = value; }
Bool_t _withMPDGCons
Definition: TSLToyGen.h:92
void TSLToyGen::setprintConsAfter ( Bool_t  value)
inline

Definition at line 51 of file TSLToyGen.h.

References _printConsAfter, and relativeConstraints::value.

void TSLToyGen::setprintConsBefore ( Bool_t  value)
inline

Definition at line 50 of file TSLToyGen.h.

References _printConsBefore, and relativeConstraints::value.

void TSLToyGen::setprintConsIni ( Bool_t  value)
inline

Definition at line 47 of file TSLToyGen.h.

References _printConsIni, and relativeConstraints::value.

47 { _printConsIni = value; }
Bool_t _printConsIni
Definition: TSLToyGen.h:86
void TSLToyGen::setprintPartAfter ( Bool_t  value)
inline

Definition at line 49 of file TSLToyGen.h.

References _printPartAfter, and relativeConstraints::value.

void TSLToyGen::setprintPartIni ( Bool_t  value)
inline

Definition at line 46 of file TSLToyGen.h.

References _printPartIni, and relativeConstraints::value.

46 { _printPartIni = value; }
Bool_t _printPartIni
Definition: TSLToyGen.h:85
void TSLToyGen::setprintSmearedPartBefore ( Bool_t  value)
inline

Definition at line 48 of file TSLToyGen.h.

References _printSmearedPartBefore, and relativeConstraints::value.

void TSLToyGen::smearParticles ( )
protected

Definition at line 234 of file TSLToyGen.cc.

Member Data Documentation

TAbsFitParticle* TSLToyGen::_breco
private

Definition at line 80 of file TSLToyGen.h.

Bool_t TSLToyGen::_doCheckConstraintsTruth
private

Definition at line 93 of file TSLToyGen.h.

Referenced by setCheckConstraintsTruth().

TH1D* TSLToyGen::_histChi2

Definition at line 23 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMBrecoFit

Definition at line 27 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMBrecoSmear

Definition at line 26 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMBrecoTrue

Definition at line 25 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMXFit

Definition at line 30 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMXlnuFit

Definition at line 33 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMXlnuSmear

Definition at line 32 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMXlnuTrue

Definition at line 31 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMXSmear

Definition at line 29 of file TSLToyGen.h.

TH1D* TSLToyGen::_histMXTrue

Definition at line 28 of file TSLToyGen.h.

TH1D* TSLToyGen::_histNIter

Definition at line 21 of file TSLToyGen.h.

TH1D* TSLToyGen::_histPChi2

Definition at line 22 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsDiff1

Definition at line 41 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsDiff2

Definition at line 44 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsError1

Definition at line 40 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsError2

Definition at line 43 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsParFit

Definition at line 37 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsParSmear

Definition at line 36 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsParTrue

Definition at line 35 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsPull1

Definition at line 39 of file TSLToyGen.h.

TObjArray TSLToyGen::_histsPull2

Definition at line 42 of file TSLToyGen.h.

TH1D* TSLToyGen::_histStatus

Definition at line 20 of file TSLToyGen.h.

TAbsFitParticle* TSLToyGen::_iniBreco
private

Definition at line 76 of file TSLToyGen.h.

TAbsFitParticle* TSLToyGen::_iniLepton
private

Definition at line 77 of file TSLToyGen.h.

std::vector<TAbsFitParticle*> TSLToyGen::_inimeasParticles
private

Definition at line 70 of file TSLToyGen.h.

TAbsFitParticle* TSLToyGen::_iniNeutrino
private

Definition at line 79 of file TSLToyGen.h.

std::vector<TAbsFitParticle*> TSLToyGen::_iniunmeasParticles
private

Definition at line 71 of file TSLToyGen.h.

TAbsFitParticle* TSLToyGen::_iniX
private

Definition at line 78 of file TSLToyGen.h.

TAbsFitParticle* TSLToyGen::_lepton
private

Definition at line 81 of file TSLToyGen.h.

std::vector<TAbsFitParticle*> TSLToyGen::_measParticles
private

Definition at line 72 of file TSLToyGen.h.

TAbsFitParticle* TSLToyGen::_neutrino
private

Definition at line 83 of file TSLToyGen.h.

Bool_t TSLToyGen::_printConsAfter
private

Definition at line 89 of file TSLToyGen.h.

Referenced by setprintConsAfter().

Bool_t TSLToyGen::_printConsBefore
private

Definition at line 88 of file TSLToyGen.h.

Referenced by setprintConsBefore().

Bool_t TSLToyGen::_printConsIni
private

Definition at line 86 of file TSLToyGen.h.

Referenced by setprintConsIni().

Bool_t TSLToyGen::_printPartAfter
private

Definition at line 90 of file TSLToyGen.h.

Referenced by setprintPartAfter().

Bool_t TSLToyGen::_printPartIni
private

Definition at line 85 of file TSLToyGen.h.

Referenced by setprintPartIni().

Bool_t TSLToyGen::_printSmearedPartBefore
private

Definition at line 87 of file TSLToyGen.h.

Referenced by setprintSmearedPartBefore().

std::vector<TAbsFitParticle*> TSLToyGen::_unmeasParticles
private

Definition at line 73 of file TSLToyGen.h.

Bool_t TSLToyGen::_withMassConstraint
private

Definition at line 91 of file TSLToyGen.h.

Referenced by setMassConstraint().

Bool_t TSLToyGen::_withMPDGCons
private

Definition at line 92 of file TSLToyGen.h.

Referenced by setMPDGCons().

TAbsFitParticle* TSLToyGen::_X
private

Definition at line 82 of file TSLToyGen.h.

TVector3 TSLToyGen::_Y4S
private

Definition at line 74 of file TSLToyGen.h.