12 #include "../TrackParametersHelper.h"
19 PlotMgr* pParent,
const std::string& dirName,
20 const std::string& anaTag,
const std::string& trackType,
21 bool doGlobalPlots,
bool doTruthMuPlots ) :
22 PlotMgr( dirName, anaTag, pParent ),
23 m_trackType( trackType ),
24 m_doGlobalPlots( doGlobalPlots ),
25 m_doTruthMuPlots( doTruthMuPlots ) { }
34 if(
sc.isFailure() ) {
42 ATH_MSG_DEBUG(
"Booking efficiency plots in " << getDirectory() );
44 ATH_CHECK( retrieveAndBook( m_fakerate_vs_pt,
"fakerate_vs_"+m_trackType+
"_pt" ) );
45 ATH_CHECK( retrieveAndBook( m_fakerate_vs_eta,
"fakerate_vs_"+m_trackType+
"_eta" ) );
46 ATH_CHECK( retrieveAndBook( m_fakerate_vs_phi,
"fakerate_vs_"+m_trackType+
"_phi" ) );
47 ATH_CHECK( retrieveAndBook( m_fakerate_vs_d0,
"fakerate_vs_"+m_trackType+
"_d0" ) );
48 ATH_CHECK( retrieveAndBook( m_fakerate_vs_z0,
"fakerate_vs_"+m_trackType+
"_z0" ) );
49 if( m_doGlobalPlots ) {
50 ATH_CHECK( retrieveAndBook( m_fakerate_vs_actualMu,
"fakerate_vs_actualMu" ) );
51 if( m_doTruthMuPlots )
ATH_CHECK( retrieveAndBook( m_fakerate_vs_truthMu,
"fakerate_vs_truthMu" ) );
53 return StatusCode::SUCCESS;
60 template<
typename PARTICLE >
78 if( m_doGlobalPlots ) {
83 return StatusCode::SUCCESS;