12 #include "../TrackParametersHelper.h"
19 PlotMgr* pParent,
const std::string& dirName,
20 const std::string& anaTag,
const std::string& trackType,
bool doGlobalPlots ) :
21 PlotMgr( dirName, anaTag, pParent ),
22 m_trackType( trackType ),
23 m_doGlobalPlots( doGlobalPlots ) { }
32 if(
sc.isFailure() ) {
40 ATH_MSG_DEBUG(
"Booking duplicate rate plots in " << getDirectory() );
42 ATH_CHECK( retrieveAndBook( m_duplrate_vs_pt,
"duplrate_vs_"+m_trackType+
"_pt" ) );
43 ATH_CHECK( retrieveAndBook( m_duplrate_vs_eta,
"duplrate_vs_"+m_trackType+
"_eta" ) );
44 ATH_CHECK( retrieveAndBook( m_duplrate_vs_phi,
"duplrate_vs_"+m_trackType+
"_phi" ) );
45 ATH_CHECK( retrieveAndBook( m_duplrate_vs_d0,
"duplrate_vs_"+m_trackType+
"_d0" ) );
46 ATH_CHECK( retrieveAndBook( m_duplrate_vs_z0,
"duplrate_vs_"+m_trackType+
"_z0" ) );
48 ATH_CHECK( retrieveAndBook( m_duplnum_vs_pt,
"duplnum_vs_"+m_trackType+
"_pt" ) );
49 ATH_CHECK( retrieveAndBook( m_duplnum_vs_eta,
"duplnum_vs_"+m_trackType+
"_eta" ) );
50 ATH_CHECK( retrieveAndBook( m_duplnum_vs_phi,
"duplnum_vs_"+m_trackType+
"_phi" ) );
51 ATH_CHECK( retrieveAndBook( m_duplnum_vs_d0,
"duplnum_vs_"+m_trackType+
"_d0" ) );
52 ATH_CHECK( retrieveAndBook( m_duplnum_vs_z0,
"duplnum_vs_"+m_trackType+
"_z0" ) );
54 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_pt,
"duplnum_nonzero_vs_"+m_trackType+
"_pt" ) );
55 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_eta,
"duplnum_nonzero_vs_"+m_trackType+
"_eta" ) );
56 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_phi,
"duplnum_nonzero_vs_"+m_trackType+
"_phi" ) );
57 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_d0,
"duplnum_nonzero_vs_"+m_trackType+
"_d0" ) );
58 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_z0,
"duplnum_nonzero_vs_"+m_trackType+
"_z0" ) );
60 if( m_doGlobalPlots ) {
61 ATH_CHECK( retrieveAndBook( m_duplrate_vs_truthMu,
"duplrate_vs_truthMu" ) );
62 ATH_CHECK( retrieveAndBook( m_duplrate_vs_actualMu,
"duplrate_vs_actualMu" ) );
64 ATH_CHECK( retrieveAndBook( m_duplnum_vs_truthMu,
"duplnum_vs_truthMu" ) );
65 ATH_CHECK( retrieveAndBook( m_duplnum_vs_actualMu,
"duplnum_vs_actualMu" ) );
67 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_truthMu,
"duplnum_nonzero_vs_truthMu" ) );
68 ATH_CHECK( retrieveAndBook( m_duplnum_nonzero_vs_actualMu,
"duplnum_nonzero_vs_actualMu" ) );
71 return StatusCode::SUCCESS;
78 template<
typename PARTICLE >
81 unsigned int nMatched,
114 if( m_doGlobalPlots ) {
127 return StatusCode::SUCCESS;