Public Member Functions | |
def | __init__ |
def | beginLoop |
def | computeQGvars |
def | declareHandles |
def | jetFlavour |
def | matchJets |
def | process |
def | smearJets |
def | testJetID |
def | testJetNoID |
Public Attributes | |
allJetsUsedForMET | |
bqObjects | |
cqObjects | |
deltaMetFromJEC | |
Read jets, if necessary recalibrate and shift MET. More... | |
doJEC | |
genJets | |
heaviestQCDFlavour | |
jetGammaDR | |
jetLepArbitration | |
jetLepDR | |
jetReCalibrator | |
lepPtMin | |
partons | |
qglcalc | |
rho | |
shiftJEC | |
shiftJER | |
Static Public Attributes | |
alwaysCleanPhotons = False, | |
class_object = JetAnalyzer, | |
cleanGenJetsFromPhoton = False, | |
cleanJetsFromFirstPhoton = False, | |
cleanJetsFromIsoTracks = False, | |
cleanJetsFromTaus = False, | |
cleanSelectedLeptons = True, | |
string | collectionPostFix = "" |
copyJetsByValue = False, | |
doPuId = False, | |
doQG = False, | |
string | genJetCol = 'slimmedGenJets' |
string | jecPath = "" |
list | jet = jlpairs[lep] |
string | jetCol = 'slimmedJets' |
float | jetEta = 4.7 |
float | jetEtaCentral = 2.4 |
tuple | jetLepArbitration = (lambda jet,lepton : lepton) |
float | jetLepDR = 0.4 |
int | jetPt = 25 |
tuple | jlpairs = matchObjectCollection( leptons, allJets, self.jetLepDR**2) |
tuple | jtaupairs = matchObjectCollection( taus, allJets, self.jetLepDR**2) |
lepSelCut = lambdalep:True, | |
list | leptons = [] |
Sort Jets by pT. More... | |
tuple | leptons = event.inclusiveLeptonsifhasattr(event, 'inclusiveLeptons') |
Associate jets to leptons. More... | |
int | minLepPt = 10 |
list | photons = [] |
Clean Jets from photons. More... | |
recalibrateJets = False, | |
string | recalibrationType = "AK4PFchs" |
relaxJetId = False, | |
tuple | rho = ('fixedGridRhoFastjetAll','','') |
int | shiftJEC = 0 |
int | shiftJER = 0 |
smearJets = True, | |
tuple | taus = getattr(event,'selectedTaus',[]) |
Associate jets to taus. More... | |
Taken from RootTools.JetAnalyzer, simplified, modified, added corrections
Definition at line 49 of file JetAnalyzer.py.
def objects.JetAnalyzer.JetAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 51 of file JetAnalyzer.py.
def objects.JetAnalyzer.JetAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 83 of file JetAnalyzer.py.
def objects.JetAnalyzer.JetAnalyzer.computeQGvars | ( | self, | |
jet | |||
) |
def objects.JetAnalyzer.JetAnalyzer.declareHandles | ( | self | ) |
Definition at line 76 of file JetAnalyzer.py.
References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.
def objects.JetAnalyzer.JetAnalyzer.jetFlavour | ( | self, | |
event | |||
) |
Definition at line 322 of file JetAnalyzer.py.
References funct.abs().
def objects.JetAnalyzer.JetAnalyzer.matchJets | ( | self, | |
event, | |||
jets | |||
) |
Definition at line 358 of file JetAnalyzer.py.
References funct.abs(), EVTColContainer.genJets, objects.JetAnalyzer.JetAnalyzer.genJets, and deltar.matchObjectCollection2().
def objects.JetAnalyzer.JetAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 86 of file JetAnalyzer.py.
References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and core.Analyzer.Analyzer.readCollections().
Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().
def objects.JetAnalyzer.JetAnalyzer.smearJets | ( | self, | |
event, | |||
jets | |||
) |
Definition at line 376 of file JetAnalyzer.py.
References objects.JetAnalyzer.JetAnalyzer.smearJets.
def objects.JetAnalyzer.JetAnalyzer.testJetID | ( | self, | |
jet | |||
) |
def objects.JetAnalyzer.JetAnalyzer.testJetNoID | ( | self, | |
jet | |||
) |
objects.JetAnalyzer.JetAnalyzer.allJetsUsedForMET |
Definition at line 103 of file JetAnalyzer.py.
|
static |
Definition at line 424 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.bqObjects |
Definition at line 331 of file JetAnalyzer.py.
|
static |
Definition at line 400 of file JetAnalyzer.py.
|
static |
Definition at line 426 of file JetAnalyzer.py.
|
static |
Definition at line 421 of file JetAnalyzer.py.
|
static |
Definition at line 423 of file JetAnalyzer.py.
|
static |
Definition at line 422 of file JetAnalyzer.py.
|
static |
Definition at line 410 of file JetAnalyzer.py.
|
static |
Definition at line 427 of file JetAnalyzer.py.
|
static |
Definition at line 402 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.cqObjects |
Definition at line 332 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.deltaMetFromJEC |
Read jets, if necessary recalibrate and shift MET.
Definition at line 98 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.doJEC |
Definition at line 60 of file JetAnalyzer.py.
|
static |
Definition at line 414 of file JetAnalyzer.py.
Referenced by objects.JetAnalyzer.JetAnalyzer.testJetID().
|
static |
Definition at line 415 of file JetAnalyzer.py.
|
static |
Definition at line 403 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.genJets |
Definition at line 107 of file JetAnalyzer.py.
Referenced by objects.JetAnalyzer.JetAnalyzer.matchJets().
objects.JetAnalyzer.JetAnalyzer.heaviestQCDFlavour |
Definition at line 355 of file JetAnalyzer.py.
|
static |
Definition at line 425 of file JetAnalyzer.py.
Definition at line 178 of file JetAnalyzer.py.
|
static |
Definition at line 401 of file JetAnalyzer.py.
|
static |
Definition at line 406 of file JetAnalyzer.py.
|
static |
Definition at line 407 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.jetGammaDR |
Definition at line 71 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.jetLepArbitration |
Definition at line 68 of file JetAnalyzer.py.
|
static |
Definition at line 409 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.jetLepDR |
Definition at line 67 of file JetAnalyzer.py.
|
static |
Definition at line 408 of file JetAnalyzer.py.
|
static |
Definition at line 405 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.jetReCalibrator |
Definition at line 63 of file JetAnalyzer.py.
|
static |
Definition at line 172 of file JetAnalyzer.py.
|
static |
Definition at line 185 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.lepPtMin |
Definition at line 69 of file JetAnalyzer.py.
|
static |
Definition at line 412 of file JetAnalyzer.py.
|
static |
Sort Jets by pT.
Apply jet selection Clean Jets from leptons
Definition at line 137 of file JetAnalyzer.py.
|
static |
Associate jets to leptons.
Definition at line 171 of file JetAnalyzer.py.
|
static |
Definition at line 411 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.partons |
Definition at line 334 of file JetAnalyzer.py.
|
static |
Clean Jets from photons.
Definition at line 153 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.qglcalc |
Definition at line 73 of file JetAnalyzer.py.
|
static |
Definition at line 416 of file JetAnalyzer.py.
|
static |
Definition at line 417 of file JetAnalyzer.py.
|
static |
Definition at line 413 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.rho |
Definition at line 89 of file JetAnalyzer.py.
Referenced by Lepton.Lepton.absIsoFromEA(), Electron.Electron.electronID(), Electron.Electron.mvaNonTrigV0(), Electron.Electron.mvaRun2(), Electron.Electron.mvaTrigNoIPV0(), and Electron.Electron.mvaTrigV0().
|
static |
Definition at line 404 of file JetAnalyzer.py.
Referenced by Lepton.Lepton.absIsoFromEA(), Electron.Electron.electronID(), Electron.Electron.mvaNonTrigV0(), Electron.Electron.mvaRun2(), Electron.Electron.mvaTrigNoIPV0(), and Electron.Electron.mvaTrigV0().
objects.JetAnalyzer.JetAnalyzer.shiftJEC |
Definition at line 55 of file JetAnalyzer.py.
|
static |
Definition at line 418 of file JetAnalyzer.py.
objects.JetAnalyzer.JetAnalyzer.shiftJER |
Definition at line 80 of file JetAnalyzer.py.
|
static |
Definition at line 420 of file JetAnalyzer.py.
|
static |
Definition at line 419 of file JetAnalyzer.py.
Referenced by objects.JetAnalyzer.JetAnalyzer.smearJets().
|
static |
Associate jets to taus.
Definition at line 184 of file JetAnalyzer.py.