Skip to content
Snippets Groups Projects
Commit 4914a18f authored by Clara Carrion Martinez's avatar Clara Carrion Martinez
Browse files

new histograms added: pTResVspT

parent 8846827a
No related branches found
No related tags found
No related merge requests found
......@@ -204,6 +204,11 @@ def IDAlignMonGenericTracksAlgCfg(helper, alg, **kwargs):
title = 'p_{T} error Vs p_{T};p_{T};p_{T} error'
genericTrackGroup.defineHistogram(varName, type='TH2F', path=pathtrack, title=title, xbins=200, xmin=-m_pTRange, xmax=m_pTRange, ybins=50, ymin=0., ymax=3.)
varName = 'm_pT_2fillpTRes,m_pTRes_2fillpT;pTResVspT'
title = 'p_{T} Resolution Vs p_{T};p_{T};p_{T} Resolution'
genericTrackGroup.defineHistogram(varName, type='TH2F', path=pathtrack, title=title, xbins=200, xmin=-m_pTRange, xmax=m_pTRange, ybins=100, ymin=0, ymax=0.1)
varName = 'm_p;P'
title = 'Track Momentum P;Signed Track P [GeV];Tracks'
genericTrackGroup.defineHistogram(varName, type='TH1F', path=pathtrack, title=title, xbins=200, xmin=-m_pTRange, xmax=m_pTRange)
......
......@@ -573,6 +573,10 @@ StatusCode IDAlignMonGenericTracksAlg::fillHistograms( const EventContext& ctx )
auto pTRes_m = Monitored::Scalar<float>( "m_pTRes", std::fabs(Err_qOverP / qOverP) );
fill(genericTrackGroup, pTRes_m);
auto pTRes_2fillpT_m = Monitored::Scalar<float>( "m_pTRes_2fillpT", std::fabs(Err_qOverP / qOverP) );
auto pT_2fillpTRes_m = Monitored::Scalar<float>( "m_pT_2fillpTRes", pT );
fill(genericTrackGroup, pT_2fillpTRes_m, pTRes_2fillpT_m);
} //
// end of loop on trks
//
......
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