Public Member Functions | |
def | __init__ (self, cfg_ana, cfg_comp, looperName) |
def | beginLoop (self, setup) |
def | process (self, event) |
def | write (self, setup) |
Public Attributes | |
count | |
lumiList | |
rltInfo | |
useLumiBlocks | |
Apply a json filter, and creates an RLTInfo TTree. See PhysicsTools.HeppyCore.utils.RLTInfo for more information example: jsonFilter = cfg.Analyzer( "JSONAnalyzer", ) The path of the json file to be used is set as a component attribute. The process function returns: - True if - the component is MC or - if the run/lumi pair is in the JSON file - if the json file was not set for this component - False if the component is MC or embed (for H->tau tau), and if the run/lumi pair is not in the JSON file.
Definition at line 10 of file JSONAnalyzer.py.
def core.JSONAnalyzer.JSONAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 31 of file JSONAnalyzer.py.
def core.JSONAnalyzer.JSONAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 44 of file JSONAnalyzer.py.
def core.JSONAnalyzer.JSONAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 60 of file JSONAnalyzer.py.
References triggerObjects_cff.id, core.JSONAnalyzer.JSONAnalyzer.lumiList, core.Analyzer.Analyzer.readCollections(), and core.JSONAnalyzer.JSONAnalyzer.useLumiBlocks.
def core.JSONAnalyzer.JSONAnalyzer.write | ( | self, | |
setup | |||
) |
Definition at line 87 of file JSONAnalyzer.py.
References addOnTests.testit.dirName, analyzer.Analyzer.dirName, MuonIsolationDQM.dirName, MuIsoValidation.dirName, V0Validator.dirName, VariablePlotter::SubDirectory.dirName, and VariablePlotter::Directory.dirName.
core.JSONAnalyzer.JSONAnalyzer.count |
Definition at line 47 of file JSONAnalyzer.py.
core.JSONAnalyzer.JSONAnalyzer.lumiList |
Definition at line 36 of file JSONAnalyzer.py.
Referenced by core.JSONAnalyzer.JSONAnalyzer.process().
core.JSONAnalyzer.JSONAnalyzer.rltInfo |
Definition at line 42 of file JSONAnalyzer.py.
core.JSONAnalyzer.JSONAnalyzer.useLumiBlocks |
Definition at line 40 of file JSONAnalyzer.py.
Referenced by core.JSONAnalyzer.JSONAnalyzer.process(), and core.SkimAnalyzerCount.SkimAnalyzerCount.process().