Smears the four vectors of charged tracks according to dP/P = r for a given range of the polar angle. More...
#include <SimpleTrackSmearer.h>
Public Member Functions | |
| SimpleTrackSmearer (const std::vector< float > &resVec) | |
| virtual | ~SimpleTrackSmearer () |
| Virtual d'tor. More... | |
| virtual HepLorentzVector | smearedFourVector (const HepLorentzVector &v, int pdgCode) |
| Smears the given four vector according to the resolution for the polar angle of the track. More... | |
Public Member Functions inherited from marlin::IFourVectorSmearer | |
| virtual | ~IFourVectorSmearer () |
| Virtual d'tor. More... | |
Protected Attributes | |
| ResVec | _resVec |
Smears the four vectors of charged tracks according to dP/P = r for a given range of the polar angle.
The resolutions r are given in the constructor as a vector holding triplets of: r0, th_min0, th_max0, r1, th_min1, th_max1, ...
Perfect electron and muon ID is assumed to set the particle energy ( mass ) - all other particles are assumed to be pions.
|
inlinevirtual |
Virtual d'tor.
|
virtual |
Smears the given four vector according to the resolution for the polar angle of the track.
Returns a vector with all elements 0. if no resolution is defined.
Implements marlin::IFourVectorSmearer.
1.8.6