ATLAS Offline Software
Functions | Variables
python.egammaMonitorPrecisionConfig Namespace Reference

Functions

def egammaMonitorPrecisionCfg (flags, name)
 
def egammaMonitorSuperClusterCfg (flags, name)
 

Variables

 log
 

Function Documentation

◆ egammaMonitorPrecisionCfg()

def python.egammaMonitorPrecisionConfig.egammaMonitorPrecisionCfg (   flags,
  name 
)

Definition at line 9 of file egammaMonitorPrecisionConfig.py.

9 def egammaMonitorPrecisionCfg(flags, name):
10 
11 
12  if ('Electron' in name):
13  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
14  monTool = GenericMonitoringTool(flags, "MonTool_"+name)
15  #track variables monitoring
16  monTool.defineHistogram('deltaEta0',title='Precision#Delta#eta0', path='EXPERT',xbins=40, xmin=-0.01,xmax=0.01)
17  monTool.defineHistogram('deltaEta1',title='Precision#Delta#eta1', path='EXPERT',xbins=40, xmin=-0.01,xmax=0.01)
18  monTool.defineHistogram('deltaEta2',title='Precision#Delta#eta2', path='EXPERT',xbins=40, xmin=-0.01,xmax=0.01)
19  monTool.defineHistogram('deltaEta3',title='Precision#Delta#eta3', path='EXPERT',xbins=40, xmin=-0.01,xmax=0.01)
20  monTool.defineHistogram('deltaPhi0',title='Precision#Delta#eta0', path='EXPERT',xbins=40, xmin=-0.01,xmax=0.01)
21  monTool.defineHistogram('deltaPhi1',title='Precision#Delta#phi1', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
22  monTool.defineHistogram('deltaPhi2',title='Precision#Delta#phi2', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
23  monTool.defineHistogram('deltaPhi3',title='Precision#Delta#phi3', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
24  monTool.defineHistogram('deltaPhiRescaled0',title='Precision#Delta#phiRescaled0', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
25  monTool.defineHistogram('deltaPhiRescaled1',title='Precision#Delta#phiRescaled1', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
26  monTool.defineHistogram('deltaPhiRescaled2',title='Precision#Delta#phiRescaled2', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
27  monTool.defineHistogram('deltaPhiRescaled3',title='Precision#Delta#phiRescaled3', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
28  monTool.defineHistogram('deltaPhiLast',title='Precision#Delta#phiLastMeasurement', path='EXPERT',xbins=40, xmin=-0.1,xmax=0.1)
29  monTool.defineHistogram('d0',title='Precision#d0', path='EXPERT',xbins=40, xmin=-1,xmax=1)
30 
31  #Shower Shapes variables monitoring
32  monTool.defineHistogram('Reta', type='TH1F', path='EXPERT',title="Reta",xbins=15, xmin=0.4, xmax=1.2)
33  monTool.defineHistogram('Rphi', type='TH1F', path='EXPERT',title="Rphi",xbins=15, xmin=0.4, xmax=1.2)
34  monTool.defineHistogram('Rhad', type='TH1F', path='EXPERT',title="Rhad",xbins=35, xmin=-0.3, xmax=0.3 )
35  monTool.defineHistogram('Rhad1', type='TH1F', path='EXPERT',title="Rhad",xbins=30, xmin=-0.3, xmax=0.3 )
36  monTool.defineHistogram('ethad', type='TH1F', path='EXPERT',title="Transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated from ehad1 ; E [MeV]",xbins=20, xmin=-1, xmax=1 )
37  monTool.defineHistogram('ethad1', type='TH1F', path='EXPERT',title="ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling; E [MeV]",xbins=20, xmin=-1, xmax=1 )
38  monTool.defineHistogram('weta1', type='TH1F', path='EXPERT',title="Precision Reconstruction corrected width in 3 strips in the 1st samp. ; Width",xbins=12, xmin=0.4, xmax=1 )
39  monTool.defineHistogram('weta2', type='TH1F', path='EXPERT',title="Precision Reconstruction corrected width in 3 strips in the 2st samp. ; Width",xbins=20, xmin=0, xmax=0.02 )
40  monTool.defineHistogram('wtots1', type='TH1F', path='EXPERT',title="Precision Reconstruction total width in em sampling 1 in 20 strips; Width",xbins=20, xmin=0, xmax=20 )
41  monTool.defineHistogram('f1', type='TH1F', path='EXPERT',title="Fraction of energy found in 1st em sampling;Fraction",xbins=11, xmin=0, xmax=1 )
42  monTool.defineHistogram('f3', type='TH1F', path='EXPERT',title="Fraction of energy reconstructed in 3rd sampling ;Fraction",xbins=21, xmin=-0.05, xmax=0.1 )
43  monTool.defineHistogram('eratio', type='TH1F', path='EXPERT',title="Eratio ;Count",xbins=20, xmin=0, xmax=2 )
44 
45  #Isolation variables monitoring
46  monTool.defineHistogram('ptcone20', type='TH1F', path='EXPERT',title="count;ptcone20",xbins=50, xmin=0, xmax=5 )
47  monTool.defineHistogram('ptvarcone30', type='TH1F', path='EXPERT',title="count;ptvarcone30",xbins=50, xmin=0, xmax=5 )
48  monTool.defineHistogram('ptvarcone40', type='TH1F', path='EXPERT', title="count;ptvarcone40",xbins=50, xmin=0, xmax=5 )
49  monTool.defineHistogram('topoetcone20', type='TH1F', path='EXPERT',title="count;topoetcone20[GeV]",xbins=100, xmin=-10, xmax=50 )
50  monTool.defineHistogram('topoetcone40_shift', type='TH1F', path='EXPERT',title="count;topoetcone40[GeV]",xbins=100, xmin=-10, xmax=50 )
51 
52  return monTool
53  else:
54  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
55  monTool = GenericMonitoringTool(flags, "MonTool_"+name)
56 
57  #Shower Shapes variables monitoring
58  monTool.defineHistogram('Reta', type='TH1F', path='EXPERT',title="Reta",xbins=15, xmin=0.4, xmax=1.2)
59  monTool.defineHistogram('Rphi', type='TH1F', path='EXPERT',title="Rphi",xbins=15, xmin=0.4, xmax=1.2)
60  monTool.defineHistogram('Rhad', type='TH1F', path='EXPERT',title="Rhad",xbins=35, xmin=-0.3, xmax=0.3 )
61  monTool.defineHistogram('Rhad1', type='TH1F', path='EXPERT',title="Rhad",xbins=30, xmin=-0.3, xmax=0.3 )
62  monTool.defineHistogram('ethad', type='TH1F', path='EXPERT',title="Transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated from ehad1 ; E [MeV]",xbins=20, xmin=-1, xmax=1 )
63  monTool.defineHistogram('ethad1', type='TH1F', path='EXPERT',title="ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling; E [MeV]",xbins=20, xmin=-1, xmax=1 )
64  monTool.defineHistogram('weta1', type='TH1F', path='EXPERT',title="Precision Reconstruction corrected width in 3 strips in the 1st samp. ; Width",xbins=12, xmin=0.4, xmax=1 )
65  monTool.defineHistogram('weta2', type='TH1F', path='EXPERT',title="Precision Reconstruction corrected width in 3 strips in the 2st samp. ; Width",xbins=20, xmin=0, xmax=0.02 )
66  monTool.defineHistogram('wtots1', type='TH1F', path='EXPERT',title="Precision Reconstruction total width in em sampling 1 in 20 strips; Width",xbins=20, xmin=0, xmax=20 )
67  monTool.defineHistogram('f1', type='TH1F', path='EXPERT',title="Fraction of energy found in 1st em sampling;Fraction",xbins=11, xmin=0, xmax=1 )
68  monTool.defineHistogram('f3', type='TH1F', path='EXPERT',title="Fraction of energy reconstructed in 3rd sampling ;Fraction",xbins=21, xmin=-0.05, xmax=0.1 )
69  monTool.defineHistogram('eratio', type='TH1F', path='EXPERT',title="Eratio ;Count",xbins=20, xmin=0, xmax=2 )
70 
71  #Isolation variables monitoring
72  monTool.defineHistogram('ptcone20', type='TH1F', path='EXPERT',title="count;ptcone20",xbins=50, xmin=0, xmax=5 )
73  monTool.defineHistogram('ptvarcone20', type='TH1F', path='EXPERT',title="count;ptvarcone20",xbins=50, xmin=0, xmax=5 )
74  monTool.defineHistogram('ptvarcone30', type='TH1F', path='EXPERT',title="count;ptvarcone30",xbins=50, xmin=0, xmax=5 )
75  monTool.defineHistogram('topoetcone20', type='TH1F', path='EXPERT',title="count;topoetcone20[GeV]",xbins=100, xmin=-10, xmax=50 )
76  monTool.defineHistogram('topoetcone40_shift', type='TH1F', path='EXPERT',title="count;topoetcone40[GeV]",xbins=100, xmin=-10, xmax=50 )
77 
78  return monTool
79 
80 

◆ egammaMonitorSuperClusterCfg()

def python.egammaMonitorPrecisionConfig.egammaMonitorSuperClusterCfg (   flags,
  name 
)

Definition at line 81 of file egammaMonitorPrecisionConfig.py.

81 def egammaMonitorSuperClusterCfg(flags, name):
82 
83  from math import pi
84 
85  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
86  monTool = GenericMonitoringTool(flags, "MonTool_"+name)
87 
88  #calo cluster variables monitoring
89  monTool.defineHistogram('et', type='TH1D', path='EXPERT', title="E_{T}; E_{T} [GeV]; Entries", xbins= 150, xmin= 0.0, xmax= 200.0)
90  monTool.defineHistogram('eta', type='TH1D', path='EXPERT', title="#eta; #eta; Entries", xbins= 50, xmin=-3.0, xmax= 3.0)
91  monTool.defineHistogram('phi', type='TH1D', path='EXPERT', title="#phi; #phi; Entries", xbins= 64, xmin= -pi, xmax= pi)
92  monTool.defineHistogram('signalState', type='TH1D', path='EXPERT', title="Signal State; Signal State; Entries", xbins= 4, xmin=-1.5, xmax= 2.5)
93 
94  return monTool
95 

Variable Documentation

◆ log

python.egammaMonitorPrecisionConfig.log

Definition at line 7 of file egammaMonitorPrecisionConfig.py.

GenericMonitoringTool
Definition: GenericMonitoringTool.h:53
python.egammaMonitorPrecisionConfig.egammaMonitorSuperClusterCfg
def egammaMonitorSuperClusterCfg(flags, name)
Definition: egammaMonitorPrecisionConfig.py:81
python.egammaMonitorPrecisionConfig.egammaMonitorPrecisionCfg
def egammaMonitorPrecisionCfg(flags, name)
Definition: egammaMonitorPrecisionConfig.py:9