11 vertexTree =
new TTree(filterName,
"Vertex fit results");
54 const TString &
index) {
55 TString branchName, branchVariables;
56 for (
int i = 0;
i < 5;
i++) {
58 branchVariables = branchName +
'[' + index +
"]/F";
70 TDirectory *rootDir = gDirectory;
93 std::cout <<
"Mean of Residual distribution X: " << resX->GetMean() << std::endl;
94 std::cout <<
"Mean of Residual distribution Y: " << resY->GetMean() << std::endl;
95 std::cout <<
"Mean of Residual distribution Z: " << resZ->GetMean() << std::endl;
96 std::cout <<
"RMS of Residual distribution X: " << resX->GetRMS() << std::endl;
97 std::cout <<
"RMS of Residual distribution Y: " << resY->GetRMS() << std::endl;
98 std::cout <<
"RMS of Residual distribution Z: " << resZ->GetRMS() << std::endl;
99 std::cout <<
"Mean of Pull distribution X: " << pullX->GetMean() << std::endl;
100 std::cout <<
"Mean of Pull distribution Y: " << pullY->GetMean() << std::endl;
101 std::cout <<
"Mean of Pull distribution Z: " << pullZ->GetMean() << std::endl;
102 std::cout <<
"RMS of Pull distribution X: " << pullX->GetRMS() << std::endl;
103 std::cout <<
"RMS of Pull distribution Y: " << pullY->GetRMS() << std::endl;
104 std::cout <<
"RMS of Pull distribution Z: " << pullZ->GetRMS() << std::endl;
105 std::cout <<
"Average chi-square probability: " << chiProb->GetMean() << std::endl;
106 std::cout <<
"Average normalized chi-square : " << chiNorm->GetMean() << std::endl;
159 static std::atomic<int> nFill{0};
160 TDirectory *rootDir = gDirectory;
166 if ((++nFill) % 1000 == 0)
void fill(const TransientVertex &recv, const TrackingVertex *simv=nullptr, reco::RecoToSimCollection *recSimColl=nullptr, const float &time=0)
void defineTrackBranch(const TString &prefix, const TString &type, const float *(VertexFitterResult::*pfunc)(const int) const, const TString &index)
const int * simTrack_recIndex()
const int * vertexPresent() const
const int * recTrack_simIndex()
SimpleVertexTree(const char *fitterName="VertexFitter", const MagneticField *magField=nullptr)
const float * recTrackWeight()
const float * simVertexPos() const
const int * numberSimTracks()
const float * recVertexErr() const
const float * recParameters(const int i) const
const float * refParameters(const int i) const
const int * trackInformation() const
const int * numberRecTracks()
const float * recVertexPos() const
const float * simParameters(const int i) const
const float * chi2Information() const
TString * parameterNames[5]
const float * refErrors(const int i) const
virtual ~SimpleVertexTree()
const float * time() const
VertexFitterResult * result
const float * recErrors(const int i) const