Systematic Helper¶
InfoGetter¶
Log File¶
-
class
Utilities.LogFile.LogFile(name, info, path='.')[source]¶ Bases:
objectWrapper for Logfile for a plot
- plotTable : PrettyTable
- PrettyTable holding all the histogram information
- output_name : string
- Name/path of logfile to be created
- analysis : string
- Analysis running over
- selection : string
- Selection of analysis running over
- lumi : float
- Luminosity of this run (in ipb, but converted to ifb in class)
- hists : list of lists
- List of lists with Integral and Error^2 indexed by the constants BKG, SIGNAL, DATA, TOTAL
- callTime : string
- String of the time this script was called (any format)
- command : string
- Command used to start this script
- name : string
- Name of the histogram
-
add_mc(drawOrder)[source]¶ Add background data to this class
- drawOrder : list of tuples (string, GenericHist)
- List of all background hists with their names
-
add_metainfo(callTime, command)[source]¶ Set specific metadata for output file
- callTime : string
- Time script was call (not formated, must be done before here)
- command : string
- Full commandline string use for this run
-
add_signal(signal, groupName)[source]¶ Add signal data to this class
- signal : GenericHist
- Histogram of signal information
- groupName : string
- Name used to label the singal
-
get_likelihood()[source]¶ Get Figure of merit
- tuple
- tuple Figure of Merit (S/sqrt(S+B)) and its error