87 muonWithVariables =
"muonWithVariables" 88 setattr(proc, muonWithVariables, cms.EDProducer(
"MuonSpecialVariables",
89 muonSrc=cms.InputTag(
"slimmedMuons"),
90 vertexSrc=cms.InputTag(
"offlineSlimmedPrimaryVertices"),
91 trkSrc=cms.InputTag(
"pfTracks"),
94 getattr(proc,
"muonTask").
add(getattr(proc,muonWithVariables))
96 proc.slimmedMuonsUpdated.src = cms.InputTag(
"muonWithVariables")
105 proc.muonTable.variables.standalonePt =
Var(
"? standAloneMuon().isNonnull() ? standAloneMuon().pt() : -1", float, doc =
"pt of the standalone muon", precision=14)
106 proc.muonTable.variables.standaloneEta =
Var(
"? standAloneMuon().isNonnull() ? standAloneMuon().eta() : -99", float, doc =
"eta of the standalone muon", precision=14)
107 proc.muonTable.variables.standalonePhi =
Var(
"? standAloneMuon().isNonnull() ? standAloneMuon().phi() : -99", float, doc =
"phi of the standalone muon", precision=14)
108 proc.muonTable.variables.standaloneCharge =
Var(
"? standAloneMuon().isNonnull() ? standAloneMuon().charge() : -99", float, doc =
"phi of the standalone muon", precision=14)
111 proc.muonTable.variables.innerTrackAlgo =
Var(
'? innerTrack().isNonnull() ? innerTrack().algo() : -99',
'int', precision=-1, doc=
'Track algo enum, check DataFormats/TrackReco/interface/TrackBase.h for details.')
112 proc.muonTable.variables.innerTrackOriginalAlgo =
Var(
'? innerTrack().isNonnull() ? innerTrack().originalAlgo() : -99',
'int', precision=-1, doc=
'Track original algo enum')
115 proc.muonTable.variables.pfAbsIso03_neu =
Var(
"pfIsolationR03().sumNeutralHadronEt",float,doc=
"PF absolute isolation dR=0.3, neutral component")
116 proc.muonTable.variables.pfAbsIso03_pho =
Var(
"pfIsolationR03().sumPhotonEt",float,doc=
"PF absolute isolation dR=0.3, photon component")
117 proc.muonTable.variables.pfAbsIso03_sumPU =
Var(
"pfIsolationR03().sumPUPt",float,doc=
"PF absolute isolation dR=0.3, pu component (no deltaBeta corrections)")
118 proc.muonTable.variables.absTrkIso03 =
Var(
"userFloat('absTrkiso03')",float,doc=
"Realtive Tracker Iso with cone size 0.3")
121 proc.muonTable.variables.pfAbsIso04_chg =
Var(
"pfIsolationR04().sumChargedHadronPt",float,doc=
"PF absolute isolation dR=0.4, charged component")
122 proc.muonTable.variables.pfAbsIso04_neu =
Var(
"pfIsolationR04().sumNeutralHadronEt",float,doc=
"PF absolute isolation dR=0.4, neutral component")
123 proc.muonTable.variables.pfAbsIso04_pho =
Var(
"pfIsolationR04().sumPhotonEt",float,doc=
"PF absolute isolation dR=0.4, photon component")
124 proc.muonTable.variables.pfAbsIso04_sumPU =
Var(
"pfIsolationR04().sumPUPt",float,doc=
"PF absolute isolation dR=0.4, pu component (no deltaBeta corrections)")
125 proc.muonTable.variables.absTrkIso04 =
Var(
"userFloat('absTrkiso04')",float,doc=
"Realtive Tracker Iso with cone size 0.4")
128 proc.muonTable.variables.miniPFAbsIso_chg =
Var(
"userFloat('miniIsoChg')",float,doc=
"mini PF absolute isolation, charged component")
129 proc.muonTable.variables.miniPFAbsIso_all =
Var(
"userFloat('miniIsoAll')",float,doc=
"mini PF absolute isolation, total (with scaled rho*EA PU corrections)")
130 proc.muonTable.variables.miniPFAbsIso_neu =
Var(
"miniPFIsolation().neutralHadronIso()",float,doc=
"mini PF absolute isolation, neutral component")
131 proc.muonTable.variables.miniPFAbsIso_pho =
Var(
"miniPFIsolation().photonIso()", float, doc=
"mini PF absolute isolation, photon component")
134 proc.muonTable.variables.tkAbsIso =
Var(
"isolationR03().sumPt",float,doc=
"Tracker-based absolute isolation dR=0.3 for highPt, trkIso",precision=6)
135 proc.muonTable.variables.pfAbsIso03_chg =
Var(
"pfIsolationR03().sumChargedHadronPt",float,doc=
"PF absolute isolation dR=0.3, charged component")
136 proc.muonTable.variables.pfAbsIso03_all =
Var(
"(pfIsolationR03().sumChargedHadronPt + max(pfIsolationR03().sumNeutralHadronEt + pfIsolationR03().sumPhotonEt - pfIsolationR03().sumPUPt/2,0.0))",float,doc=
"PF absolute isolation dR=0.3, total (deltaBeta corrections)")
137 proc.muonTable.variables.pfAbsIso04_all =
Var(
"(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))",float,doc=
"PF absolute isolation dR=0.4, total (deltaBeta corrections)")
138 proc.muonTable.variables.jetAbsIso =
Var(
"?userCand('jetForLepJetVar').isNonnull()?(1./userFloat('ptRatio'))-1.:(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))",float,doc=
"Absolute isolation in matched jet (1/ptRatio-1, pfRelIso04_all if no matched jet)",precision=8)
141 proc.muonTable.variables.expectedMatchedStations =
Var(
"expectedNnumberOfMatchedStations()",int,doc=
"Expected Number of Matched stations")
142 proc.muonTable.variables.RPCLayers =
Var(
"numberOfMatchedRPCLayers()",int,doc=
"Number of RPC Layers")
143 proc.muonTable.variables.stationMask =
Var(
"stationMask()",
"uint8",doc=
"Number of masked station")
144 proc.muonTable.variables.nShowers =
Var(
"numberOfShowers()",int,doc=
"Number of Showers")
149 proc.muonTable.variables.pixelLayers =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().hitPattern().pixelLayersWithMeasurement() : -99", float,doc=
"Number of Pixel Layers")
150 proc.muonTable.variables.pixelHits =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().hitPattern().numberOfValidPixelHits() : -99", float, doc=
"Numbr of valid pixel hits")
151 proc.muonTable.variables.muonStations =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().hitPattern().muonStationsWithValidHits() : -99", float, doc=
"No of valid hits in muon stations")
152 proc.muonTable.variables.DTHits =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().hitPattern().numberOfValidMuonDTHits() : -99", float, doc=
"No of valid hits in DT")
153 proc.muonTable.variables.CSCHits =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().hitPattern().numberOfValidMuonCSCHits() : -99", float, doc=
"No of valid hits in CSC")
154 proc.muonTable.variables.RPCHits =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().hitPattern().numberOfValidMuonRPCHits() : -99", float, doc=
"No of valid hits in RPC")
159 proc.muonTable.variables.trkChi2 =
Var(
"? globalTrack().isNonnull() ? globalTrack().normalizedChi2() : ? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().normalizedChi2() : -99",float,doc=
"Normalized Chi Square from either globalTrack or innerTrack ")
160 proc.muonTable.variables.trkChi2_outerTrack =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().normalizedChi2() : -99",float,doc=
"Normalized Chi Square from outerTrack ")
161 proc.muonTable.variables.trkChi2_innerTrack =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().normalizedChi2() : -99",float,doc=
"Normalized Chi Square from outerTrack ")
165 proc.muonTable.variables.innerTrack_ptErr =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().ptError()/innerTrack().pt() : -99", float, doc=
"InnerTrack Pt Error")
166 proc.muonTable.variables.innerTrack_pt =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().pt(): -99", float, doc=
"InnerTrack Pt")
167 proc.muonTable.variables.innerTrack_eta =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().eta(): -99", float, doc=
"InnerrTrack Eta")
168 proc.muonTable.variables.innerTrack_phi =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().phi(): -99", float, doc=
"InnerTrack Phi")
169 proc.muonTable.variables.innerTrack_charge =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().charge(): -99", float, doc=
"InnerTrack charge")
170 proc.muonTable.variables.innerTrack_MuonHits =
Var(
"? innerTrack().isNonnull() ? innerTrack().hitPattern().numberOfValidMuonHits() : -99", float, doc =
"Number of valid Muon Hits from InnerTrack")
171 proc.muonTable.variables.innerTrack_validFraction =
Var(
"? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().validFraction() : -99", float, doc=
"Inner Track Valid Fraction")
177 proc.muonTable.variables.innerTrackDxy =
Var(
"? userInt('isGoodVertex') ? userFloat('innerTrackDxy') : -99.9",float,doc =
"dxy from Primary Vertex calculated with Inner Track")
178 proc.muonTable.variables.innerTrackDz =
Var(
"? userInt('isGoodVertex') ? userFloat('innerTrackDz') : -99.9",float,doc=
"dz from Primary Vertex calculated with Inner Track")
182 proc.muonTable.variables.outerTrack_ptErr =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().ptError()/outerTrack().pt() : -99", float, doc=
"OuterTrack Pt Error")
183 proc.muonTable.variables.outerTrack_pt =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().pt(): -99", float, doc=
"OuterTrack Pt")
184 proc.muonTable.variables.outerTrack_eta =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().eta(): -99", float, doc=
"OuterTrack Eta")
185 proc.muonTable.variables.outerTrack_phi =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().phi(): -99", float, doc=
"OuterTrack Phi")
186 proc.muonTable.variables.outerTrack_charge =
Var(
"? outerTrack().isNonnull() && outerTrack().isAvailable() ? outerTrack().charge(): -99", float, doc=
"OuterTrack charge")
187 proc.muonTable.variables.outerTrack_MuonHits =
Var(
"? outerTrack().isNonnull() ? outerTrack().hitPattern().numberOfValidMuonHits() : -99", float, doc =
"Number of valid Muon Hits from OuterTrack")
192 proc.muonTable.variables.muonHits =
Var(
"? globalTrack().isNonnull() ? globalTrack().hitPattern().numberOfValidMuonHits() : ? innerTrack().isNonnull() && innerTrack().isAvailable() ? innerTrack().hitPattern().numberOfValidMuonHits() :-99",float,doc=
"Number of valid Muon Hits from either globalTrack or innerTrack")
193 proc.muonTable.variables.globalTrack_ptErr =
Var(
"? globalTrack().isNonnull() ? globalTrack().ptError()/globalTrack().pt() : -99", float, doc=
"GlobalTrack Pt Error")
194 proc.muonTable.variables.globalTrack_pt =
Var(
"? globalTrack().isNonnull() ? globalTrack().pt(): -99", float, doc=
"GlobalTrack Pt")
195 proc.muonTable.variables.globalTrack_eta =
Var(
"? globalTrack().isNonnull() ? globalTrack().eta(): -99", float, doc=
"GlobalTrack Eta")
196 proc.muonTable.variables.globalTrack_phi =
Var(
"? globalTrack().isNonnull() ? globalTrack().phi(): -99", float, doc=
"GlobalTrack Phi")
197 proc.muonTable.variables.globalTrack_charge =
Var(
"? globalTrack().isNonnull() ? globalTrack().charge(): -99", float, doc=
"GlobalTrack charge")
201 proc.muonTable.variables.best_pt =
Var(
"? muonBestTrack().isNonnull() && muonBestTrack().isAvailable() ? muonBestTrack().pt(): -99", float, doc=
"MuonBestTrack Pt")
202 proc.muonTable.variables.best_pterr =
Var(
"? muonBestTrack().isNonnull() && muonBestTrack().isAvailable() ? muonBestTrack().ptError() : -99", float, doc =
"pTerr from MuonBestTrack")
203 proc.muonTable.variables.best_eta =
Var(
"? muonBestTrack().isNonnull() && muonBestTrack().isAvailable() ? muonBestTrack().eta(): -99", float, doc=
"MuonBestrack Eta")
204 proc.muonTable.variables.best_phi =
Var(
"? muonBestTrack().isNonnull() && muonBestTrack().isAvailable() ? muonBestTrack().phi(): -99", float, doc=
"MuonBestTrack Phi")
205 proc.muonTable.variables.best_charge =
Var(
"? muonBestTrack().isNonnull() && muonBestTrack().isAvailable() ? muonBestTrack().charge(): -99", float, doc=
"MuonBestTrack charge")
208 proc.muonTable.variables.tuneP_pt =
Var(
"? tunePMuonBestTrack().isNonnull() && tunePMuonBestTrack().isAvailable() ? tunePMuonBestTrack().pt() : -99", float, doc =
"pT from tunePMuonBestTrack")
209 proc.muonTable.variables.tuneP_pterr =
Var(
"? tunePMuonBestTrack().isNonnull() && tunePMuonBestTrack().isAvailable() ? tunePMuonBestTrack().ptError() : -99", float, doc =
"pTerr from tunePMuonBestTrack")
210 proc.muonTable.variables.tuneP_eta =
Var(
"? tunePMuonBestTrack().isNonnull() && tunePMuonBestTrack().isAvailable() ? tunePMuonBestTrack().eta(): -99", float, doc=
"tunePMuonBestTrack Eta")
211 proc.muonTable.variables.tuneP_phi =
Var(
"? tunePMuonBestTrack().isNonnull() && tunePMuonBestTrack().isAvailable() ? tunePMuonBestTrack().phi(): -99", float, doc=
"tunePMuonBestTrack Phi")
212 proc.muonTable.variables.tuneP_charge =
Var(
"? tunePMuonBestTrack().isNonnull() && tunePMuonBestTrack().isAvailable() ? tunePMuonBestTrack().charge(): -99", float, doc=
"tunePMuonBestTrack() charge")
213 proc.muonTable.variables.tuneP_muonHits =
Var(
"? tunePMuonBestTrack().isNonnull() && tunePMuonBestTrack().isAvailable() ? tunePMuonBestTrack().hitPattern().numberOfValidMuonHits() : -99", int, doc=
"No of valid muon hists from tunePMuonBestTrack")
216 proc.muonTable.variables.tpfms_pt =
Var(
"? tpfmsTrack().isNonnull() && tpfmsTrack().isAvailable() ? tpfmsTrack().pt() : -99", float, doc =
"pT from tpfmsTrack")
217 proc.muonTable.variables.tpfms_pterr =
Var(
"? tpfmsTrack().isNonnull() && tpfmsTrack().isAvailable() ? tpfmsTrack().ptError() : -99", float, doc =
"pTerr from tpfmsTrack")
218 proc.muonTable.variables.tpfms_eta =
Var(
"? tpfmsTrack().isNonnull() && tpfmsTrack().isAvailable() ? tpfmsTrack().eta(): -99", float, doc=
"tpfmsTrack Eta")
219 proc.muonTable.variables.tpfms_phi =
Var(
"? tpfmsTrack().isNonnull() && tpfmsTrack().isAvailable() ? tpfmsTrack().phi(): -99", float, doc=
"tpfmsTrack Phi")
220 proc.muonTable.variables.tpfms_charge =
Var(
"? tpfmsTrack().isNonnull() && tpfmsTrack().isAvailable() ? tpfmsTrack().charge(): -99", float, doc=
"tpfmsTrack charge")
221 proc.muonTable.variables.tpfms_muonHits =
Var(
"? tpfmsTrack().isNonnull() && tpfmsTrack().isAvailable() ? tpfmsTrack().hitPattern().numberOfValidMuonHits() : -99", int, doc=
"No of valid muon hists from tpfmsTrack")
225 proc.muonTable.variables.picky_pt =
Var(
"? pickyTrack().isNonnull() && pickyTrack().isAvailable() ? pickyTrack().pt() : -99", float, doc =
"pT from pickyTrack")
226 proc.muonTable.variables.picky_pterr =
Var(
"? pickyTrack().isNonnull() && pickyTrack().isAvailable() ? pickyTrack().ptError() : -99", float, doc =
"pTerr from pickyTrack")
227 proc.muonTable.variables.picky_eta =
Var(
"? pickyTrack().isNonnull() && pickyTrack().isAvailable() ? pickyTrack().eta(): -99", float, doc=
"pickyTrack Eta")
228 proc.muonTable.variables.picky_phi =
Var(
"? pickyTrack().isNonnull() && pickyTrack().isAvailable() ? pickyTrack().phi(): -99", float, doc=
"pickyTrack Phi")
229 proc.muonTable.variables.picky_charge =
Var(
"? pickyTrack().isNonnull() && pickyTrack().isAvailable() ? pickyTrack().charge(): -99", float, doc=
"pickyTrack charge")
230 proc.muonTable.variables.picky_muonHits =
Var(
"? pickyTrack().isNonnull() && pickyTrack().isAvailable() ? pickyTrack().hitPattern().numberOfValidMuonHits() : -99", int, doc=
"No of valid muon hists from pickyTrack")
233 proc.muonTable.variables.dyt_pt =
Var(
"? dytTrack().isNonnull() && dytTrack().isAvailable() ? dytTrack().pt() : -99", float, doc =
"pT from dytTrack")
234 proc.muonTable.variables.dyt_pterr =
Var(
"? dytTrack().isNonnull() && dytTrack().isAvailable() ? dytTrack().ptError() : -99", float, doc =
"pTerr from dytTrack")
235 proc.muonTable.variables.dyt_eta =
Var(
"? dytTrack().isNonnull() && dytTrack().isAvailable() ? dytTrack().eta(): -99", float, doc=
"dytTrack Eta")
236 proc.muonTable.variables.dyt_phi =
Var(
"? dytTrack().isNonnull() && dytTrack().isAvailable() ? dytTrack().phi(): -99", float, doc=
"dytTrack Phi")
237 proc.muonTable.variables.dyt_charge =
Var(
"? dytTrack().isNonnull() && dytTrack().isAvailable() ? dytTrack().charge(): -99", float, doc=
"dytTrack charge")
238 proc.muonTable.variables.dyt_muonHits =
Var(
"? dytTrack().isNonnull() && dytTrack().isAvailable() ? dytTrack().hitPattern().numberOfValidMuonHits() : -99", int, doc=
"No of valid muon hists from dytTrack")
241 proc.muonTable.variables.positionChi2 =
Var(
"combinedQuality().chi2LocalPosition", float, doc=
"chi2 Local Position")
242 proc.muonTable.variables.momentumChi2 =
Var(
"combinedQuality().chi2LocalMomentum", float, doc=
"chi2 Local Momentum")
243 proc.muonTable.variables.trkKink =
Var(
"combinedQuality().trkKink", float, doc=
"Track Kink")
244 proc.muonTable.variables.glbKink =
Var(
"combinedQuality().glbKink", float, doc=
"Glb Kink")
245 proc.muonTable.variables.glbTrackProbability =
Var(
"combinedQuality().glbTrackProbability", float, doc=
"Glb Track Probability")
246 proc.muonTable.variables.trkRelChi2 =
Var(
"combinedQuality().trkRelChi2",float,doc=
"Track Rel Chi2")
249 proc.muonTable.variables.timAtIpInOutErr =
Var(
"time().timeAtIpInOutErr",float,doc=
"timAtIpInOutErr")
252 proc.muonTable.variables.isArbitratedTracker =
Var(
"userInt('isArbitratedTracker')", bool, doc =
"s Arbitrated Tracker")
255 proc.muonTable.variables.standaloneExtraIdx =
Var(
'? standAloneMuon().isNonnull() ? standAloneMuon().extra().key() : -99',
'int', precision=-1, doc=
'Index of the StandAloneTrack TrackExtra in the original collection')
256 proc.muonTable.variables.innerTrackExtraIdx =
Var(
'? innerTrack().isNonnull() ? innerTrack().extra().key() : -99',
'int', precision=-1, doc=
'Index of the innerTrack TrackExtra in the original collection')
260 proc.muonTable.variables.jetPtRatio =
Var(
"?userCand('jetForLepJetVar').isNonnull()?min(userFloat('ptRatio'),1.5):1.0/(1.0+(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt)", float, doc=
"ptRatio using the LepAware JEC approach, for muon MVA", lazyEval=
True)
261 proc.muonTable.variables.jetDF =
Var(
"?userCand('jetForLepJetVar').isNonnull()?max(userCand('jetForLepJetVar').bDiscriminator('pfDeepFlavourJetTags:probbb')+userCand('jetForLepJetVar').bDiscriminator('pfDeepFlavourJetTags:probb')+userCand('jetForLepJetVar').bDiscriminator('pfDeepFlavourJetTags:problepb'),0.0):0.0",float,doc=
"b-tagging discriminator of the jet matched to the lepton, for muon MVA", lazyEval=
True)
262 proc.muonTable.variables.jetCSVv2 =
Var(
"?userCand('jetForLepJetVar').isNonnull()?max(userCand('jetForLepJetVar').bDiscriminator('pfCombinedSecondaryVertexV2BJetTags'),0.0):0.0",float,doc=
"CSVv2 b-tagging discriminator of the jet matched to the lepton, for muon MVA", lazyEval=
True)
265 proc.muonTable.variables.nsegments =
Var(
"userInt('nsegments')", int, doc =
"nsegments as of Spark-tool")
268 proc.muonTable.variables.simType =
Var(
"? simType() ? simType() : -99",int,doc=
"simType")
269 proc.muonTable.variables.simExtType =
Var(
"? simExtType() ? simExtType() : -99",int,doc=
"simExtType")
270 proc.muonTable.variables.simFlavour =
Var(
"? simFlavour() ? simFlavour() : -99",int,doc=
"simFlavour")
271 proc.muonTable.variables.simHeaviestMotherFlavour =
Var(
" ? simHeaviestMotherFlavour() ? simHeaviestMotherFlavour() : -99",int,doc=
"simHeaviestMotherFlavour")
272 proc.muonTable.variables.simPdgId =
Var(
"? simPdgId() ? simPdgId() : -99",int,doc=
"simPdgId")
273 proc.muonTable.variables.simMotherPdgId =
Var(
"? simMotherPdgId() ? simMotherPdgId() : -99",int,doc=
"simMotherPdgId")
274 proc.muonTable.variables.simBX =
Var(
"? simBX() ? simBX() : -99",int,doc=
"simBX")
275 proc.muonTable.variables.simProdRho =
Var(
"? simProdRho() ? simProdRho(): -99",float,doc=
"simProdRho")
276 proc.muonTable.variables.simProdZ =
Var(
"? simProdZ() ? simProdZ(): -99",float,doc=
"simProdZ")
277 proc.muonTable.variables.simPt =
Var(
"? simPt() ? simPt(): -99",float,doc=
"simPt")
278 proc.muonTable.variables.simEta =
Var(
"? simEta() ? simEta(): -99",float,doc=
"simEta")
279 proc.muonTable.variables.simPhi =
Var(
"? simPhi() ? simPhi(): -99",float,doc=
'simPhi')
282 proc.muonTable.variables.isRPC =
Var(
"isRPCMuon",bool,doc=
"muon is RPC muon")
def Var(expr, valtype, doc=None, precision=-1, lazyEval=False)
def AddVariablesForMuon(proc)
void add(std::map< std::string, TH1 *> &h, TH1 *hist)