Skip to content

Commit

Permalink
X,Y,Z information naming scheme changed
Browse files Browse the repository at this point in the history
  • Loading branch information
dbruschi committed Dec 16, 2022
1 parent 5e9dd3c commit ba1f5f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions PhysicsTools/NanoAOD/python/generalTracks_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
trackOriginalAlgo = Var('originalAlgo()', 'int', precision=-1, doc='Track original algo enum'),
qualityMask = Var('qualityMask()', 'int', precision=-1, doc='Quality mask of the track.'),
extraIdx = Var('extra().key()', 'int', precision=-1, doc='Index of the TrackExtra in the original collection'),
X = Var('vx', 'float', precision=-1, doc='Track X position'),
Y = Var('vy', 'float', precision=-1, doc='Track Y position'),
Z = Var('vz', 'float', precision=-1, doc='Track Z position'),
vx = Var('vx', 'float', precision=-1, doc='Track X position'),
vy = Var('vy', 'float', precision=-1, doc='Track Y position'),
vz = Var('vz', 'float', precision=-1, doc='Track Z position'),
),
)

Expand Down
6 changes: 3 additions & 3 deletions PhysicsTools/NanoAOD/python/nanoTP_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def customizeNANOTP(process):
muonTable.variables = cms.PSet(muonTable.variables,
standaloneExtraIdx = Var('? standAloneMuon().isNonnull() ? standAloneMuon().extra().key() : -99', 'int', precision=-1, doc='Index of the innerTrack TrackExtra in the original collection'),
innerTrackExtraIdx = Var('? innerTrack().isNonnull() ? innerTrack().extra().key() : -99', 'int', precision=-1, doc='Index of the innerTrack TrackExtra in the original collection'),
X = Var('vx', 'float', precision=-1, doc='Muon X position'),
Y = Var('vy', 'float', precision=-1, doc='Muon Y position'),
Z = Var('vz', 'float', precision=-1, doc='Muon Z position'),
vx = Var('vx', 'float', precision=-1, doc='Muon X position'),
vy = Var('vy', 'float', precision=-1, doc='Muon Y position'),
vz = Var('vz', 'float', precision=-1, doc='Muon Z position'),
)
muonTable.externalVariables = cms.PSet(
isStandAloneUpdatedAtVtx = ExtVar(cms.InputTag("mergedStandAloneMuons:muonUpdatedAtVtx"),bool, doc="is standalone muon track updated at vertex"),
Expand Down

0 comments on commit ba1f5f4

Please sign in to comment.