Skip to content
Snippets Groups Projects
Commit 032bbbf4 authored by marco aparo's avatar marco aparo
Browse files

Adding inclusive fake and dupl rate plots

parent b2498cb2
No related branches found
No related tags found
No related merge requests found
{
"duplrate_vs_$TRKTAG_inclusive" : {
"type" : "TEfficiency",
"xAxis" : { "title" : "Inclusive", "nBins" : "1", "low" : "0.0", "high" : "2.0" },
"yAxis" : { "title" : "Duplicate rate" }
},
"duplrate_vs_$TRKTAG_pt" : {
"type" : "TEfficiency",
"xAxis" : { "title" : "$TRKTYPE p_{T} [GeV]", "nBins" : "25", "low" : "0.0", "high" : "50.0" },
......
{
"fakerate_vs_$TRKTAG_inclusive" : {
"type" : "TEfficiency",
"xAxis" : { "title" : "Inclusive", "nBins" : "1", "low" : "0.0", "high" : "2.0" },
"yAxis" : { "title" : "Fake rate" }
},
"fakerate_vs_$TRKTAG_pt" : {
"type" : "TEfficiency",
"xAxis" : { "title" : "$TRKTYPE p_{T} [GeV]", "nBins" : "100", "low" : "0.0", "high" : "50.0" },
......
......@@ -262,6 +262,7 @@
<hist1D name="duplnum_nonzero_vs_actualMu" type="TProfile" plotopts="ratio" tests="KSnorm"/>
<hist1D name="duplnum_vs_truthMu" type="TProfile" plotopts="ratio" tests="KSnorm"/>
<hist1D name="duplnum_nonzero_vs_truthMu" type="TProfile" plotopts="ratio" tests="KSnorm"/>
<graph name="duplrate_vs_truth_inclusive" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
<graph name="duplrate_vs_truth_pt" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
<graph name="duplrate_vs_truth_eta" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
<graph name="duplrate_vs_truth_phi" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
......@@ -528,6 +529,7 @@
<graph name="eff_vs_truthMu" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
</TDirectory>
<TDirectory name="FakeRates">
<graph name="fakerate_vs_offl_inclusive" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
<graph name="fakerate_vs_offl_pt" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
<graph name="fakerate_vs_offl_eta" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
<graph name="fakerate_vs_offl_phi" type="TEfficiency" plotopts="ratio" tests="KSnorm"/>
......
......@@ -41,6 +41,7 @@ StatusCode IDTPM::DuplicateRatePlots::bookPlots()
{
ATH_MSG_DEBUG( "Booking duplicate rate plots in " << getDirectory() );
ATH_CHECK( retrieveAndBook( m_duplrate_vs_incl, "duplrate_vs_"+m_trackType+"_inclusive" ) );
ATH_CHECK( retrieveAndBook( m_duplrate_vs_pt, "duplrate_vs_"+m_trackType+"_pt" ) );
ATH_CHECK( retrieveAndBook( m_duplrate_vs_eta, "duplrate_vs_"+m_trackType+"_eta" ) );
ATH_CHECK( retrieveAndBook( m_duplrate_vs_phi, "duplrate_vs_"+m_trackType+"_phi" ) );
......@@ -94,6 +95,7 @@ StatusCode IDTPM::DuplicateRatePlots::fillPlots(
float pz0 = z0( particle );
/// Fill the histograms
ATH_CHECK( fill( m_duplrate_vs_incl, 1, (nMatched>1), weight ) );
ATH_CHECK( fill( m_duplrate_vs_pt, ppt, (nMatched>1), weight ) );
ATH_CHECK( fill( m_duplrate_vs_eta, peta, (nMatched>1), weight ) );
ATH_CHECK( fill( m_duplrate_vs_phi, pphi, (nMatched>1), weight ) );
......
......@@ -54,6 +54,7 @@ namespace IDTPM {
bool m_doGlobalPlots{};
bool m_doTruthMuPlots{};
TEfficiency* m_duplrate_vs_incl{};
TEfficiency* m_duplrate_vs_pt{};
TEfficiency* m_duplrate_vs_eta{};
TEfficiency* m_duplrate_vs_phi{};
......
......@@ -41,6 +41,7 @@ StatusCode IDTPM::FakeRatePlots::bookPlots()
{
ATH_MSG_DEBUG( "Booking efficiency plots in " << getDirectory() );
ATH_CHECK( retrieveAndBook( m_fakerate_vs_incl, "fakerate_vs_"+m_trackType+"_inclusive" ) );
ATH_CHECK( retrieveAndBook( m_fakerate_vs_pt, "fakerate_vs_"+m_trackType+"_pt" ) );
ATH_CHECK( retrieveAndBook( m_fakerate_vs_eta, "fakerate_vs_"+m_trackType+"_eta" ) );
ATH_CHECK( retrieveAndBook( m_fakerate_vs_phi, "fakerate_vs_"+m_trackType+"_phi" ) );
......@@ -69,6 +70,7 @@ StatusCode IDTPM::FakeRatePlots::fillPlots(
float pz0 = z0( particle );
/// Fill the histograms
ATH_CHECK( fill( m_fakerate_vs_incl, 1, isFake, weight ) );
ATH_CHECK( fill( m_fakerate_vs_pt, ppt, isFake, weight ) );
ATH_CHECK( fill( m_fakerate_vs_eta, peta, isFake, weight ) );
ATH_CHECK( fill( m_fakerate_vs_phi, pphi, isFake, weight ) );
......
......@@ -54,6 +54,7 @@ namespace IDTPM {
bool m_doGlobalPlots{};
bool m_doTruthMuPlots{};
TEfficiency* m_fakerate_vs_incl{};
TEfficiency* m_fakerate_vs_pt{};
TEfficiency* m_fakerate_vs_eta{};
TEfficiency* m_fakerate_vs_phi{};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment