Skip to content
Snippets Groups Projects
Commit f44f70a7 authored by Kenji Hamano's avatar Kenji Hamano
Browse files

weighted histogram added

parent 25f2f32f
No related branches found
No related tags found
No related merge requests found
......@@ -146,9 +146,12 @@ def TrigMETMonConfig(inputFlags):
path='Shifter/tcpufit',xbins=eta_bins,xmin=eta_min,xmax=eta_max)
metGroup.defineHistogram('tcpufit_phi',title='tcpufit #phi;#phi;Events',
path='Shifter/tcpufit',xbins=phi_bins,xmin=phi_min,xmax=phi_max)
metGroup.defineHistogram('tcpufit_eta,tcpufit_phi', type='TH2F',title='tcpufit #eta - #phi;#eta;#phi',
path='Shifter/tcpufit',xbins=eta_bins,xmin=eta_min,xmax=eta_max,ybins=phi_bins,ymin=phi_min,ymax=phi_max)
metGroup.defineHistogram('pass_HLT1, tcpufit_Et', type='TEfficiency',title='HLT efficiency;E_{T} [GeV];Efficiency',
#metGroup.defineHistogram('tcpufit_phi', title='tcpufit #phi (etweighted);#phi;Events', weight='tcpufit_Et',
# path='Shifter/tcpufit',xbins=phi_bins,xmin=phi_min,xmax=phi_max)
metGroup.defineHistogram('tcpufit_eta,tcpufit_phi', type='TH2F', title='tcpufit #eta - #phi;#eta;#phi',
path='Shifter/tcpufit',
xbins=eta_bins,xmin=eta_min,xmax=eta_max,ybins=phi_bins,ymin=phi_min,ymax=phi_max)
metGroup.defineHistogram('pass_HLT1, tcpufit_Et', type='TProfile',title='HLT efficiency;E_{T} [GeV];Efficiency',
path='Shifter/Eff',xbins=et_bins,xmin=et_min,xmax=et_max)
metGroup.defineHistogram('mht_Ex',title='mht Missing E_{x};E_{x} [GeV];Events',
path='Expert/mht',xbins=ec_bins,xmin=ec_min,xmax=ec_max)
......
......@@ -149,7 +149,7 @@ StatusCode TrigMETMonitorAlgorithm::fillHistograms( const EventContext& ctx ) co
tcpufit_phi = v.Phi();
// temporary fake trigger decision
if (tcpufit_Et > 30.) pass_HLT1 = 1.0;
if (tcpufit_Et > 10.) pass_HLT1 = 1.0;
}
......
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