CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions | Variables
runTauDisplay.py File Reference

Go to the source code of this file.

Namespaces

 runTauDisplay
 

Functions

def runTauDisplay.finalDaughters
 
def runTauDisplay.returnRough
 
def runTauDisplay.visibleP4
 

Variables

list runTauDisplay._genparticle_ = []
 
tuple runTauDisplay.argc = len(argvs)
 
 runTauDisplay.argvs = sys.argv
 
tuple runTauDisplay.dr = deltaR(tau.eta(), tau.phi(), visP4.eta(), visP4.phi())
 
tuple runTauDisplay.eid = event.eventAuxiliary()
 
tuple runTauDisplay.events = Events(filelist)
 
int runTauDisplay.evtid = 0
 
tuple runTauDisplay.file = ROOT.TFile(outputname, 'recreate')
 
list runTauDisplay.filelist = []
 
string runTauDisplay.filename = ''
 
tuple runTauDisplay.gen_dm = tauDecayModes.genDecayModeInt([d for d in finalDaughters(igen) if abs(d.pdgId()) not in [12, 14, 16]])
 
list runTauDisplay.genElectrons = [p for p in genParticles if abs(p.pdgId()) == 11 and p.status()==1 and p.pt() > 20 and abs(p.eta())<2.3]
 
list runTauDisplay.genMuons = [p for p in genParticles if abs(p.pdgId()) == 13 and p.status()==1 and p.pt() > 20 and abs(p.eta())<2.3]
 
tuple runTauDisplay.genParticles = genParticlesH.product()
 
tuple runTauDisplay.genParticlesH = Handle('std::vector<reco::GenParticle>')
 
list runTauDisplay.genTaus = [p for p in genParticles if abs(p.pdgId()) == 15 and p.status()==2]
 
list runTauDisplay.gp = _genparticle_[0]
 
tuple runTauDisplay.h_ngen = ROOT.TH1F("h_ngen", "h_ngen",10,0,10)
 
tuple runTauDisplay.jetH = Handle('vector<pat::Jet>')
 
list runTauDisplay.jets = [jet for jet in jetH.product() if jet.pt() > 20 and abs(jet.eta()) < 2.3]
 
string runTauDisplay.outputname = 'Myroot_'
 
string runTauDisplay.RelVal = '7_6_1_v3'
 
list runTauDisplay.runtype = argvs[1]
 
string runTauDisplay.tag = 'v11'
 
tuple runTauDisplay.tau_againstElectronLooseMVA5 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronLooseMVA6 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronMediumMVA5 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronMediumMVA6 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronMVA5raw = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_againstElectronMVA6raw = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_againstElectronTightMVA5 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronTightMVA6 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronVLooseMVA5 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronVLooseMVA6 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronVTightMVA5 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstElectronVTightMVA6 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstMuonLoose3 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_againstMuonTight3 = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byCombinedIsolationDeltaBetaCorrRaw3Hits = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_byIsolationMVA3oldDMwLTraw = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_byIsolationMVArun2v1DBoldDMwLTraw = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_byIsolationMVArun2v1PWoldDMwLTraw = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_byLooseCombinedIsolationDeltaBetaCorr3Hits = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byLooseIsolationMVA3oldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byLooseIsolationMVArun2v1DBoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byLooseIsolationMVArun2v1PWoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byLoosePileupWeightedIsolation3Hits = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byMediumCombinedIsolationDeltaBetaCorr3Hits = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byMediumIsolationMVA3oldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byMediumIsolationMVArun2v1DBoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byMediumIsolationMVArun2v1PWoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byMediumPileupWeightedIsolation3Hits = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byPileupWeightedIsolationRaw3Hits = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_byTightCombinedIsolationDeltaBetaCorr3Hits = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byTightIsolationMVA3oldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byTightIsolationMVArun2v1DBoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byTightIsolationMVArun2v1PWoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byTightPileupWeightedIsolation3Hits = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVLooseIsolationMVA3oldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVLooseIsolationMVArun2v1DBoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVLooseIsolationMVArun2v1PWoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVTightIsolationMVA3oldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVTightIsolationMVArun2v1DBoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVTightIsolationMVArun2v1PWoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVVTightIsolationMVA3oldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVVTightIsolationMVArun2v1DBoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_byVVTightIsolationMVArun2v1PWoldDMwLT = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_chargedIsoPtSum = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_decayModeFindingNewDMs = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_decayModeFindingOldDMs = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_dm = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_dm_rough = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_eta = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_eventid = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_footprintCorrection = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_gendm = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_gendm_rough = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_geneta = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_genphi = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_genpt = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_id = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tau_mass = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_neutralIsoPtSum = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_neutralIsoPtSumWeight = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_phi = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_photonPtSumOutsideSignalCone = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_pt = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_puCorrPtSum = num.zeros(1, dtype=float)
 
tuple runTauDisplay.tau_tree = ROOT.TTree('per_tau','per_tau')
 
tuple runTauDisplay.tau_vertex = num.zeros(1, dtype=int)
 
tuple runTauDisplay.tauH = Handle('vector<pat::Tau>')
 
tuple runTauDisplay.taus = tauH.product()
 
tuple runTauDisplay.vertexH = Handle('std::vector<reco::Vertex>')
 
tuple runTauDisplay.vertices = vertexH.product()
 
tuple runTauDisplay.visP4 = visibleP4(igen)