ATLAS Offline Software
Loading...
Searching...
No Matches
JetStandardHistoSpecs Namespace Reference

Functions

 defineHistoForLeadingJets (conf, parentAlg, monhelper, path)
 defineHistoForRespAndEff (conf, parentAlg, monhelper, path)

Variables

 knownVar
 knownEventVar
list _knownHistos
 defineHistoFunc
 defineHistoForLeadingJets
 Group
 defineHistoForRespAndEff
 RefContainerName
 EnergyScale
 responseAndEffSpecMap
 knownHistos = ConfigDict( )
 knownSelector

Function Documentation

◆ defineHistoForLeadingJets()

defineHistoForLeadingJets ( conf,
parentAlg,
monhelper,
path )

Definition at line 266 of file JetStandardHistoSpecs.py.

266def defineHistoForLeadingJets(conf, parentAlg, monhelper, path):
267
268 # helpfor that generates the monitoring group#
269 group = monhelper.addGroup(parentAlg, conf.Group, f'Jets/{parentAlg.JetContainerName}')
270 path = 'standardHistos'
271 group.defineHistogram('dEta;leadJetsDEta', path=path, xbins=100, xmin=-5, xmax=5)
272 group.defineHistogram('dPhi;leadJetsDPhi', path=path, xbins=100, xmin=-3, xmax=3)
273 group.defineHistogram('dR;leadJetsDR', path=path, xbins=100, xmin=0, xmax=10)
274
275
276# Add the specifications

◆ defineHistoForRespAndEff()

defineHistoForRespAndEff ( conf,
parentAlg,
monhelper,
path )

Definition at line 287 of file JetStandardHistoSpecs.py.

287def defineHistoForRespAndEff(conf, parentAlg, monhelper , path):
288 # create a monitoring group with the histo path starting from the parentAlg
289 group = monhelper.addGroup(parentAlg, conf.Group, f'Jets/{parentAlg.JetContainerName}')
290 path = 'standardHistos'
291 # define the histogram
292 group.defineHistogram('passDr1,refPt;efficiencyR1',title='Passing deltaR<0.1', type="TEfficiency", path=path, xbins=100 , xmin=0, xmax=4000. ,)
293 group.defineHistogram('passDr2,refPt;efficiencyR2',title='Passing deltaR<0.2', type="TEfficiency", path=path, xbins=100 , xmin=0, xmax=4000. ,)
294 group.defineHistogram('passDr3,refPt;efficiencyR3',title='Passing deltaR<0.3', type="TEfficiency", path=path, xbins=100 , xmin=0, xmax=4000. ,)
295 group.defineHistogram('relDiff',title='pT relative Diff', type="TH1F", path=path, xbins=100 , xmin=-2, xmax=2. ,)
296 group.defineHistogram('refEta,relDiff',title='pT relative Diff vs Eta', type="TH2F", path=path, xbins=60 , xmin=-5, xmax=5., ybins=60 , ymin=-2, ymax=2. ,)
297 group.defineHistogram('refPt,relDiff',title='pT relative Diff vs pT', type="TH2F", path=path, xbins=60 , xmin=0, xmax=5000., ybins=60 , ymin=-2, ymax=2. ,)
298

Variable Documentation

◆ _knownHistos

list JetStandardHistoSpecs._knownHistos
protected

Definition at line 73 of file JetStandardHistoSpecs.py.

◆ defineHistoForLeadingJets

JetStandardHistoSpecs.defineHistoForLeadingJets

Definition at line 278 of file JetStandardHistoSpecs.py.

◆ defineHistoForRespAndEff

JetStandardHistoSpecs.defineHistoForRespAndEff

Definition at line 300 of file JetStandardHistoSpecs.py.

◆ defineHistoFunc

JetStandardHistoSpecs.defineHistoFunc

Definition at line 278 of file JetStandardHistoSpecs.py.

◆ EnergyScale

JetStandardHistoSpecs.EnergyScale

Definition at line 300 of file JetStandardHistoSpecs.py.

◆ Group

JetStandardHistoSpecs.Group

Definition at line 278 of file JetStandardHistoSpecs.py.

◆ knownEventVar

JetStandardHistoSpecs.knownEventVar

Definition at line 29 of file JetStandardHistoSpecs.py.

◆ knownHistos

JetStandardHistoSpecs.knownHistos = ConfigDict( )

Definition at line 313 of file JetStandardHistoSpecs.py.

◆ knownSelector

JetStandardHistoSpecs.knownSelector
Initial value:
= dict(
LooseBad = ToolSpec('JetCleaningTool' , "LooseBadJets" , CutLevel = "LooseBad")
)

Definition at line 333 of file JetStandardHistoSpecs.py.

◆ knownVar

JetStandardHistoSpecs.knownVar
Initial value:
= dict(
mass = VarSpec('m:GeV', 'float'),
JVF = VarSpec('JVF', 'vecfloat'),
EPS = VarSpec('EnergyPerSampling', 'vecfloat'),
# this variable has an index specified. It will thus has only 1 value per jet : the JVF at pos 0
JVF0 = VarSpec('JVF', 'vecfloat', 0),
)

Definition at line 15 of file JetStandardHistoSpecs.py.

◆ RefContainerName

JetStandardHistoSpecs.RefContainerName

Definition at line 300 of file JetStandardHistoSpecs.py.

◆ responseAndEffSpecMap

JetStandardHistoSpecs.responseAndEffSpecMap
Initial value:
= dict(
AntiKt4TruthJets = 'respVsAntiKt4Truth',
AntiKt10TruthTrimmedPtFrac5SmallR20Jets = 'respVsAntiKt10TruthTrim',
)

Definition at line 304 of file JetStandardHistoSpecs.py.