54 const TString &
index) {
56 for (
int i = 0;
i < 5;
i++) {
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 * recTrack_simIndex()
const float * simVertexPos() const
SimpleVertexTree(const char *fitterName="VertexFitter", const MagneticField *magField=nullptr)
const float * refErrors(const int i) const
const float * recParameters(const int i) const
const float * recTrackWeight()
const float * recErrors(const int i) const
const int * numberSimTracks()
const float * chi2Information() const
const float * simParameters(const int i) const
const float * recVertexErr() const
const int * numberRecTracks()
const float * time() const
const float * refParameters(const int i) const
TString * parameterNames[5]
const float * recVertexPos() const
const int * trackInformation() const
virtual ~SimpleVertexTree()
const int * vertexPresent() const
float pullY(const MatchPair &match)
VertexFitterResult * result
float pullX(const MatchPair &match)