#include <iostream>
#include <string>
#include <vector>
#include <map>
#include "TFile.h"
#include "TCanvas.h"
#include "TH1.h"
#include "TLegend.h"
#include "TEfficiency.h"
#include "TStyle.h"
#include "VxEff.h"
Go to the source code of this file.
|
TCanvas | gVtxEffCanvas ("vtx_eff","Vertex Finding Efficiencies, Std and TMVA ranking", 800, 800) |
|
TLegend | gVtxEffLegend (0.6, 0.30, 0.98, 0.50) |
|
int | VxEff (const std::vector< std::string > &vtx_file_keys, const std::vector< std::string > &vtx_file_names) |
|
int | VxEff (const std::map< std::string, std::string > &vtx_file_names) |
| Creates and displays histograms with vertex finding efficiency as a function of track multiplicity. More...
|
|
TCanvas gVtxEffCanvas |
( |
"vtx_eff" |
, |
|
|
"Vertex Finding |
Efficiencies, |
|
|
Std and TMVA ranking" |
, |
|
|
800 |
, |
|
|
800 |
|
|
) |
| |
TLegend gVtxEffLegend |
( |
0. |
6, |
|
|
0. |
30, |
|
|
0. |
98, |
|
|
0. |
50 |
|
) |
| |
int VxEff |
( |
const std::vector< std::string > & |
vtx_file_keys, |
|
|
const std::vector< std::string > & |
vtx_file_names |
|
) |
| |
int VxEff |
( |
const std::map< std::string, std::string > & |
vtx_file_names | ) |
|
Creates and displays histograms with vertex finding efficiency as a function of track multiplicity.
The function takes two ROOT file names containing histograms corresponging to standard and TMVA vertex ranks.
Definition at line 58 of file VxEff.C.
const std::map<std::string, std::string> myDefaultVertexFiles |
Initial value:= {
{"STD", "mytestout.root"},
{"TMVA", "mytestout.root"}
}
Definition at line 19 of file VxEff.C.
const std::vector<Style_t> myMarkerStyles = {kFullCross, kFullTriangleDown, kFullCircle, kFullStar} |