SimHits, SimTracks, and SimVertices in FastSim

SimTrack and SimVertex collections

The SimTrack and SimVertex collections summarise the trajectories of particles through the detector.

A first component of these collections corresponds to particles provided by the generator. For each such particle, the origin vertex is stored as a SimVertex, and the momentum at the origin vertex is stored as SimTrack.

  • These SimVertices and SimTracks are produced in the function
    FBaseSimEvent::fill(const std::vector& simTracks,const std::vector& simVertices)
    (link to code)
  • which is caled inside
    (link to code)

A second component of these collections corresponds to particles produced during simulation via interaction of particles with material.

SimHits in tracker

Useful variables

  • int PSimHit::trackId() returns index of SimTrack in SimTrackCollection that produced the SimHit
  • int PSimHit::particleType() returns the Pdg id number of the SimTrack that produced the SimHit
  • float PSimHit::energyLoss() returns the energy lost by the SimTrack through ionisation in the silicon module at which the hit resides. This variable is used, during digitization, to determine the strength of the signal in the silicon sensors.

-- LukasVanelderen - 2015-04-21

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2015-04-27 - LukasVanelderen
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback