140 def addMonitoring(self, flags):
143 cuts=[
'Has Track',
'ptCalo',
'#Delta #eta',
'#Delta #phi',
'etOverPt_low',
'etOverPt_high',
'TRTHitRatio']
144 monTool.defineHistogram(
'CutCounter', type=
'TH1I', path=
'EXPERT', title=
"FastElectron Hypo Cut Counter;Cut Counter", xbins=7, xmin=0, xmax=7, opt=
"kCumulative",xlabels=cuts)
145 monTool.defineHistogram(
'CaloTrackdEta', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo #Delta #eta between cluster and track;#Delta #eta;Nevents", xbins=80, xmin=-0.4, xmax=0.4)
146 monTool.defineHistogram(
'CaloTrackdPhi', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo #Delta #phi between cluster and track;#Delta #phi;Nevents", xbins=80, xmin=-0.4, xmax=0.4)
147 monTool.defineHistogram(
'CaloTrackEoverP', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo E/p;E/p;Nevents", xbins=120, xmin=0, xmax=12)
148 monTool.defineHistogram(
'PtTrack', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo p_{T}^{track} [MeV];p_{T}^{track} [MeV];Nevents", xbins=50, xmin=0, xmax=100000)
149 monTool.defineHistogram(
'PtCalo', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo p_{T}^{calo} [MeV];p_{T}^{calo} [MeV];Nevents", xbins=50, xmin=0, xmax=100000)
150 monTool.defineHistogram(
'CaloEta', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo #eta^{calo} ; #eta^{calo};Nevents", xbins=200, xmin=-2.5, xmax=2.5)
151 monTool.defineHistogram(
'CaloPhi', type=
'TH1F', path=
'EXPERT', title=
"FastElectron Hypo #phi^{calo} ; #phi^{calo};Nevents", xbins=320, xmin=-3.2, xmax=3.2)
152 monTool.defineHistogram(
'd0Value', type=
"TH1F", path=
'EXPERT', title=
"FastElectron Hypo Track d0; d0 [mm]", xbins=100, xmin=-1, xmax=1)
153 if self.tool().DoRinger:
154 monTool.defineHistogram(
'NNOutput',type=
'TH1F', path=
'EXPERT',title=
"NN Output; NN; Count", xbins=17,xmin=-8,xmax=+8)
156 monTool.HistPath =
'FastElectronHypo/'+self.__name
157 self.tool().MonTool = monTool