Skip to content
Snippets Groups Projects
Commit 9f96a166 authored by Edmar Egidio Purcino De Souza's avatar Edmar Egidio Purcino De Souza
Browse files

Include deltaPhiRescaled and deltaPhiLast to be monitored at TopoEgammaBuilder...

Include deltaPhiRescaled and deltaPhiLast to be monitored at TopoEgammaBuilder in the HLT precision step
parent f5f5fd44
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,12 @@ def egammaMonitorPrecisionCfg(name):
defineHistogram('deltaPhi1',title='Precision#Delta#phi1', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhi2',title='Precision#Delta#phi2', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhi3',title='Precision#Delta#phi3', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhiRescaled0',title='Precision#Delta#phiRescaled0', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhiRescaled1',title='Precision#Delta#phiRescaled1', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhiRescaled2',title='Precision#Delta#phiRescaled2', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhiRescaled3',title='Precision#Delta#phiRescaled3', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
defineHistogram('deltaPhiFromLastMeasurement',title='Precision#Delta#phiLastMeasurement', path='EXPERT',xbins=80, xmin=-0.1,xmax=0.1),
#Shower Shapes variables monitoring
defineHistogram('e237',type='TH1F', path='EXPERT',title="Precision Reconstruction uncor energy in 3x7 cells in em sampling 2; E [MeV]",xbins=50, xmin=-15000, xmax=150000 ),
defineHistogram('e277', type='TH1F', path='EXPERT',title="Precision Reconstruction uncor energy in 7x7 cells in em sampling 2;E [MeV]",xbins=50, xmin=-15000, xmax=150000 ),
......
......@@ -49,6 +49,11 @@ void egammaMonitorElectronAlgorithm::filltopoElectronTrackCaloMatch( const Event
auto deltaPhi1 = Monitored::Scalar<float>("deltaPhi1",0.0);
auto deltaPhi2 = Monitored::Scalar<float>("deltaPhi2",0.0);
auto deltaPhi3 = Monitored::Scalar<float>("deltaPhi3",0.0);
auto deltaPhiRescaled0 = Monitored::Scalar<float>("deltaPhiRescaled0",0.0);
auto deltaPhiRescaled1 = Monitored::Scalar<float>("deltaPhiRescaled1",0.0);
auto deltaPhiRescaled2 = Monitored::Scalar<float>("deltaPhiRescaled2",0.0);
auto deltaPhiRescaled3 = Monitored::Scalar<float>("deltaPhiRescaled3",0.0);
auto deltaPhiFromLastMeasurement = Monitored::Scalar<float>("deltaPhiFromLastMeasurement",0.0);
for (const auto& electron : *electrons){
......@@ -60,10 +65,17 @@ void egammaMonitorElectronAlgorithm::filltopoElectronTrackCaloMatch( const Event
electron->trackCaloMatchValue(deltaPhi1,xAOD::EgammaParameters::deltaPhi1);
electron->trackCaloMatchValue(deltaPhi2,xAOD::EgammaParameters::deltaPhi2);
electron->trackCaloMatchValue(deltaPhi3,xAOD::EgammaParameters::deltaPhi3);
electron->trackCaloMatchValue(deltaPhiRescaled0,xAOD::EgammaParameters::deltaPhiRescaled0);
electron->trackCaloMatchValue(deltaPhiRescaled1,xAOD::EgammaParameters::deltaPhiRescaled1);
electron->trackCaloMatchValue(deltaPhiRescaled2,xAOD::EgammaParameters::deltaPhiRescaled2);
electron->trackCaloMatchValue(deltaPhiRescaled3,xAOD::EgammaParameters::deltaPhiRescaled3);
electron->trackCaloMatchValue(deltaPhiFromLastMeasurement,xAOD::EgammaParameters::deltaPhiFromLastMeasurement);
}
auto mon = Monitored::Group(m_monTool, deltaEta0,deltaEta1,deltaEta2,deltaEta3,deltaPhi0,deltaPhi1,deltaPhi2,deltaPhi3);
auto mon = Monitored::Group(m_monTool, deltaEta0,deltaEta1,deltaEta2,deltaEta3,deltaPhi0,deltaPhi1,deltaPhi2,
deltaPhi3,deltaPhiRescaled0,deltaPhiRescaled1,deltaPhiRescaled2,deltaPhiRescaled3,deltaPhiFromLastMeasurement );
ATH_MSG_DEBUG("Electron - Track Online Monitoring in Reconstruction ...");
......
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