Smears the four vectors of (neutral) clusters according to dE/E = A "+" B / sqrt( E/GeV ) for a given range of the polar angle. More...
#include <SimpleClusterSmearer.h>
Public Member Functions | |
SimpleClusterSmearer (const std::vector< float > &resVec) | |
virtual | ~SimpleClusterSmearer () |
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 cluster. More... | |
Public Member Functions inherited from marlin::IFourVectorSmearer | |
virtual | ~IFourVectorSmearer () |
Virtual d'tor. More... | |
Protected Attributes | |
ResVec | _resVec |
Smears the four vectors of (neutral) clusters according to dE/E = A "+" B / sqrt( E/GeV ) for a given range of the polar angle.
The resolution parameters A and B are given in the constructor as a vector holding quadruples of: A0, B0, th_min0, th_max0, A0, B0, th_min1, th_max1, ...
Momenta are assigned assumig massless particles.
|
inlinevirtual |
Virtual d'tor.
|
virtual |
Smears the given four vector according to the resolution for the polar angle of the cluster.
Returns a vector with all elements 0. if no resolution is defined.
Implements marlin::IFourVectorSmearer.