12 #include "../TrackParametersHelper.h"
19 PlotMgr* pParent,
const std::string& dirName,
20 const std::string& anaTag,
const std::string& trackType ) :
21 PlotMgr( dirName, anaTag, pParent ),
22 m_trackType( trackType ) { }
31 if(
sc.isFailure() ) {
39 ATH_MSG_DEBUG(
"Booking track parameters plots in " << getDirectory() );
41 ATH_CHECK( retrieveAndBook( m_pt, m_trackType+
"_pt" ) );
42 ATH_CHECK( retrieveAndBook( m_eta, m_trackType+
"_eta" ) );
43 ATH_CHECK( retrieveAndBook( m_phi, m_trackType+
"_phi" ) );
44 ATH_CHECK( retrieveAndBook( m_d0, m_trackType+
"_d0" ) );
45 ATH_CHECK( retrieveAndBook( m_z0, m_trackType+
"_z0" ) );
46 ATH_CHECK( retrieveAndBook( m_z0sin, m_trackType+
"_z0sin" ) );
47 ATH_CHECK( retrieveAndBook( m_theta, m_trackType+
"_theta" ) );
48 ATH_CHECK( retrieveAndBook( m_qoverp, m_trackType+
"_qoverp" ) );
49 if( m_trackType ==
"truth" ) {
50 ATH_CHECK( retrieveAndBook( m_prodR, m_trackType+
"_prodR" ) );
51 ATH_CHECK( retrieveAndBook( m_prodZ, m_trackType+
"_prodZ" ) );
52 ATH_CHECK( retrieveAndBook( m_nSiHits, m_trackType+
"_nSiHits" ) );
53 ATH_CHECK( retrieveAndBook( m_nSiHits_vs_eta, m_trackType+
"_nSiHits_vs_eta" ) );
55 ATH_CHECK( retrieveAndBook( m_chi2, m_trackType+
"_chi2" ) );
56 ATH_CHECK( retrieveAndBook( m_ndof, m_trackType+
"_ndof" ) );
57 ATH_CHECK( retrieveAndBook( m_chi2OverNdof, m_trackType+
"_chi2OverNdof" ) );
58 ATH_CHECK( retrieveAndBook( m_author, m_trackType+
"_author" ) );
59 ATH_CHECK( retrieveAndBook( m_time, m_trackType+
"_time" ) );
60 ATH_CHECK( retrieveAndBook( m_hasValidTime_eff_vs_eta, m_trackType+
"_hasValidTime_eff_vs_eta" ) );
62 ATH_CHECK( retrieveAndBook( m_eta_vs_pt, m_trackType+
"_eta_vs_pt" ) );
63 ATH_CHECK( retrieveAndBook( m_eta_vs_phi, m_trackType+
"_eta_vs_phi" ) );
64 ATH_CHECK( retrieveAndBook( m_z0_vs_d0, m_trackType+
"_z0_vs_d0" ) );
65 ATH_CHECK( retrieveAndBook( m_z0sin_vs_d0, m_trackType+
"_z0sin_vs_d0" ) );
67 return StatusCode::SUCCESS;
74 template<
typename PARTICLE >
92 float pchi2OverNdof = ( pndof > 0 ) ? pchi2 / pndof : 0.;
104 if( m_trackType ==
"truth" ) {
113 for(
unsigned int i=0;
i<pauthor.size();
i++ ) {
131 return StatusCode::SUCCESS;