HowTo get list of tracks/select tracks/etc. |
|
Read this first:
You should issue following commands from the root prompt to get what you want. To list tracks: To list cdfparticles(muons, electrons, photons):
If you want to list all particles To select tracks: If you want to look which cdftrack corresponds to given particle do the following: root [0] ListCdfParticles() -------- List of Cdf Particles -------- TEdCdfParticle: pdg = 13 CdfTrackId = 377 Pt = 1.77032 Eta = 0.0248386 Phi = 3.29123 TEdCdfParticle: pdg = 22 CdfTrackId = -1 Pt = 2.20698 Eta = 0.553515 Phi = 1.93267 TEdCdfParticle: pdg = 13 CdfTrackId = 376 Pt = 2.69725 Eta = -0.982484 Phi = 2.53686 root [1] SelectCdfTrack(377) Draw tracks which have different silicon vertices(i.e. different VertexSi()) using diffferent colors: Draw electrons in magenta, muons in green: |