HiggsAnalysis-KITHiggsToTauTau
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Namespaces
|
Functions
|
Variables
makePlots_categoryOverlap.py File Reference
Namespaces
makePlots_categoryOverlap
Functions
def
makePlots_categoryOverlap.plot_overlap
Variables
tuple
makePlots_categoryOverlap.log
= logging.getLogger(__name__)
tuple
makePlots_categoryOverlap.parser
string
makePlots_categoryOverlap.help
= "Path to ArtusOutput"
string
makePlots_categoryOverlap.default
= "./"
tuple
makePlots_categoryOverlap.args
= parser.parse_args()
tuple
makePlots_categoryOverlap.exp_dict
=
expressions.ExpressionsDict
()
list
makePlots_categoryOverlap.plot_configs
= []
list
makePlots_categoryOverlap.list_of_samples
= [getattr(samples.Samples, sample) for sample in args.Samples]
tuple
makePlots_categoryOverlap.sample_settings
= samples.Samples()
tuple
makePlots_categoryOverlap.config
list
makePlots_categoryOverlap.firsts
= [exp_dict.replace_expressions(s) for s in args.first_category]
list
makePlots_categoryOverlap.seconds
= [exp_dict.replace_expressions(s) for s in args.second_category]
list
makePlots_categoryOverlap.list_of_args_strings
= [args.args]
list
makePlots_categoryOverlap.names
= []
list
makePlots_categoryOverlap.ratio_names
= []
makePlots_categoryOverlap.add
= nick
tuple
makePlots_categoryOverlap.tfile
= ROOT.TFile(os.path.join(args.output_dir, args.filename+".root"), "READ")
list
makePlots_categoryOverlap.triples
= []
list
makePlots_categoryOverlap.denominator
= [0,0,0]
list
makePlots_categoryOverlap.numerator
= [0,0,0]
tuple
makePlots_categoryOverlap.histogram
= tfile.Get(name)
list
makePlots_categoryOverlap.ratio
= [numerator[x]/denominator[x] if denominator[x]>0 else 0 for x in range(3)]