ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, name, bins, xvar=None, yvar=None, zvar=None, profile=False, **args) |
def | groupName (self) |
def | clone (self, newname, bins=None, xvar=None, yvar=None, zvar=None, **hargs) |
def | to2DSpec (self, yspec, profile=False, zspec=None) |
def | toTool (self) |
def | defineHisto (self, parentAlg, monhelper, path) |
def | clone (self, newname, **args) |
def | clone (self, **kwargs) |
def | __getattr__ (self, attr) |
def | __setattr__ (self, attr, value) |
def | __setitem__ (self, attr, value) |
def | dump (self, out=None) |
Public Attributes | |
is1D | |
nVar | |
isProfile | |
xvar | |
yvar | |
zvar | |
name | |
bins | |
hargs | |
klass | |
Private Member Functions | |
def | _dump (self, writeFunc) |
A dictionary specialized to contain a JetHistoAttributeFiller specification Invocation is like : spec = HistoSpec( name, bins, ...optional args... ) where - name : a string, from which the name of the Histogram is build. AND also the description of variables to be plotted IF none of xvar, yvar or zvar is in the optional args. The final name of histos is given by name.replace(':GeV','').replace(';','_') ex: 'eta' --> histo name : 'eta', variable to plot is 'eta' 'pt:GeV' --> histo name : 'pt', variable to plot is 'pt' at GeV scale 'pt:GeV;eta' --> histo name : 'pt_eta', 2 variables to plot 'pt' at GeV scale on x axis and 'eta' on y axis - bins : the binning of the histogram in the form (nbin, min, max) or (nbinX, minX, maxX, nbinY, minY, maxY ) - optionnal args are : + xvar, yvar, zvar : strings specifying variables + profile : boolean, True if the histo is a TProfile (or TProfile2D) + any other args (ex: title) will be forwarded to the mongroup.defineHistogram() function.
Definition at line 240 of file JetMonitoringConfig.py.
def JetMonitoringConfig.HistoSpec.__init__ | ( | self, | |
name, | |||
bins, | |||
xvar = None , |
|||
yvar = None , |
|||
zvar = None , |
|||
profile = False , |
|||
** | args | ||
) |
Definition at line 255 of file JetMonitoringConfig.py.
|
inherited |
Definition at line 47 of file JetMonitoringConfig.py.
|
inherited |
Definition at line 54 of file JetMonitoringConfig.py.
|
inherited |
Definition at line 60 of file JetMonitoringConfig.py.
|
private |
Reimplemented from JetMonitoringConfig.ConfigDict.
Definition at line 374 of file JetMonitoringConfig.py.
|
inherited |
Definition at line 68 of file JetMonitoringConfig.py.
|
inherited |
Definition at line 192 of file JetMonitoringConfig.py.
def JetMonitoringConfig.HistoSpec.clone | ( | self, | |
newname, | |||
bins = None , |
|||
xvar = None , |
|||
yvar = None , |
|||
zvar = None , |
|||
** | hargs | ||
) |
Definition at line 284 of file JetMonitoringConfig.py.
def JetMonitoringConfig.HistoSpec.defineHisto | ( | self, | |
parentAlg, | |||
monhelper, | |||
path | |||
) |
This function performs the standard monitoring config calls for this JetHisto tool. - group = monhelper.addGroup( ... ) - group.defineHistogram( ... )
Reimplemented from JetMonitoringConfig.ToolSpec.
Definition at line 332 of file JetMonitoringConfig.py.
|
inherited |
prints the content of this dict on stdout (default) or in the file 'out'
Definition at line 76 of file JetMonitoringConfig.py.
def JetMonitoringConfig.HistoSpec.groupName | ( | self | ) |
Definition at line 280 of file JetMonitoringConfig.py.
def JetMonitoringConfig.HistoSpec.to2DSpec | ( | self, | |
yspec, | |||
profile = False , |
|||
zspec = None |
|||
) |
Merge this histo spec and yspec into a new 2D histo spec
Definition at line 294 of file JetMonitoringConfig.py.
def JetMonitoringConfig.HistoSpec.toTool | ( | self | ) |
Reimplemented from JetMonitoringConfig.ToolSpec.
Definition at line 315 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.bins |
Definition at line 276 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.hargs |
Definition at line 277 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.is1D |
Definition at line 256 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.isProfile |
Definition at line 259 of file JetMonitoringConfig.py.
|
inherited |
Definition at line 163 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.name |
Definition at line 275 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.nVar |
Definition at line 258 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.xvar |
Definition at line 261 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.yvar |
Definition at line 262 of file JetMonitoringConfig.py.
JetMonitoringConfig.HistoSpec.zvar |
Definition at line 263 of file JetMonitoringConfig.py.