#include <SimpleVertexTree.h>
Public Member Functions | |
void | fill (const TransientVertex &recv, const TrackingVertex *simv=0, reco::RecoToSimCollection *recSimColl=0, const float &time=0.) |
void | fill (const TransientVertex &recv, const TrackingVertex *simv=0, const float &time=0.) |
void | fill (const TransientVertex &recv, const float &time=0.) |
void | fill (const TrackingVertex *simv) |
void | fill () |
SimpleVertexTree (const char *fitterName="VertexFitter", const MagneticField *magField=0) | |
virtual | ~SimpleVertexTree () |
Private Member Functions | |
void | defineTrackBranch (const TString &prefix, const TString &type, const float *(VertexFitterResult::*pfunc)(const int) const, const TString &index) |
Private Attributes | |
float | chiProb |
float | chiTot |
int | maxTrack |
float | ndf |
int | numberOfVertices |
TString * | parameterNames [5] |
float | recErr [3] |
float | recPos [3] |
VertexFitterResult * | result |
float | simPos [3] |
TString | theFitterName |
bool | trackTest |
TTree * | vertexTree |
Definition at line 41 of file SimpleVertexTree.h.
SimpleVertexTree::SimpleVertexTree | ( | const char * | fitterName = "VertexFitter" , |
const MagneticField * | magField = 0 |
||
) |
The constructor
fitterName | The name of the TTree, and of the associated histograms. |
Definition at line 10 of file SimpleVertexTree.cc.
References VertexFitterResult::chi2Information(), defineTrackBranch(), maxTrack, numberOfVertices, VertexFitterResult::numberRecTracks(), VertexFitterResult::numberSimTracks(), parameterNames, VertexFitterResult::recErrors(), VertexFitterResult::recParameters(), VertexFitterResult::recTrack_simIndex(), VertexFitterResult::recTrackWeight(), VertexFitterResult::recVertexErr(), VertexFitterResult::recVertexPos(), VertexFitterResult::refErrors(), VertexFitterResult::refParameters(), result, VertexFitterResult::simParameters(), VertexFitterResult::simTrack_recIndex(), VertexFitterResult::simVertexPos(), VertexFitterResult::time(), VertexFitterResult::trackInformation(), VertexFitterResult::vertexPresent(), and vertexTree.
|
virtual |
Definition at line 70 of file SimpleVertexTree.cc.
References chiProb, gather_cfg::cout, numberOfVertices, theFitterName, and vertexTree.
|
private |
Definition at line 57 of file SimpleVertexTree.cc.
References mps_fire::i, parameterNames, result, and vertexTree.
Referenced by SimpleVertexTree().
void SimpleVertexTree::fill | ( | const TransientVertex & | recv, |
const TrackingVertex * | simv = 0 , |
||
reco::RecoToSimCollection * | recSimColl = 0 , |
||
const float & | time = 0. |
||
) |
Entry for a RecVertex. If the vertex was not associated to a TkSimVertex, an empty pointer can be given (would be identical to the next method). Timing information for the fit can also be provided.
Definition at line 133 of file SimpleVertexTree.cc.
References VertexFitterResult::fill(), fill(), and result.
void SimpleVertexTree::fill | ( | const TransientVertex & | recv, |
const TrackingVertex * | simv = 0 , |
||
const float & | time = 0. |
||
) |
void SimpleVertexTree::fill | ( | const TransientVertex & | recv, |
const float & | time = 0. |
||
) |
Entry for a RecVertex, without associated vertex. Timing information for the fit can also be provided.
Definition at line 140 of file SimpleVertexTree.cc.
References VertexFitterResult::fill(), fill(), and result.
void SimpleVertexTree::fill | ( | const TrackingVertex * | simv | ) |
Entry for a TkSimVertex, without RecVertex.
Definition at line 146 of file SimpleVertexTree.cc.
References VertexFitterResult::fill(), fill(), and result.
void SimpleVertexTree::fill | ( | void | ) |
To be used if one wants to record "Failed Fits", e.g. to synchronise two Trees
Definition at line 167 of file SimpleVertexTree.cc.
References numberOfVertices, VertexFitterResult::reset(), result, and vertexTree.
Referenced by fill().
|
private |
Definition at line 99 of file SimpleVertexTree.h.
Referenced by ~SimpleVertexTree().
|
private |
Definition at line 99 of file SimpleVertexTree.h.
|
private |
Definition at line 106 of file SimpleVertexTree.h.
Referenced by SimpleVertexTree().
|
private |
Definition at line 99 of file SimpleVertexTree.h.
|
private |
Definition at line 100 of file SimpleVertexTree.h.
Referenced by fill(), SimpleVertexTree(), and ~SimpleVertexTree().
|
private |
Definition at line 107 of file SimpleVertexTree.h.
Referenced by defineTrackBranch(), and SimpleVertexTree().
|
private |
Definition at line 98 of file SimpleVertexTree.h.
|
private |
Definition at line 97 of file SimpleVertexTree.h.
|
private |
Definition at line 102 of file SimpleVertexTree.h.
Referenced by defineTrackBranch(), fill(), and SimpleVertexTree().
|
private |
Definition at line 96 of file SimpleVertexTree.h.
|
private |
Definition at line 103 of file SimpleVertexTree.h.
Referenced by ~SimpleVertexTree().
|
private |
Definition at line 105 of file SimpleVertexTree.h.
|
private |
Definition at line 101 of file SimpleVertexTree.h.
Referenced by defineTrackBranch(), fill(), SimpleVertexTree(), and ~SimpleVertexTree().