Various kinematical variables of reconstructed tracks Tracks.
No Cuts (RecoTrack)
I loop over all reconstructed tracks in an event and plot the following kinematical variables and detector information: PT, η, φ, d0, z0, and the number of valid hits in the tracker.
The first loop is over the RecoTracks in each event. Next I define a match as a RecoTrack that has a corresponding SimTrack associated by hits using CMSSW_1_3_1 TrackAssociatorByHits that Boris showed me. Unmatched is defined as NOT Matched.
Same plot as above but each distribution is normalized to one.
The Second loop is over the SimTracks in each event. Next I define a match as a SimTrack that has a corresponding RecoTrack associated by hits again using CMSSW_1_3_1 TrackAssociatorByHits. Unmatched is defined as NOT Matched.