1 #ifndef SimpleTrackSmearer_h
2 #define SimpleTrackSmearer_h 1
4 #include "marlin/MarlinConfig.h"
6 #ifdef MARLIN_CLHEP // only if CLHEP is available !
8 #include "marlin/IFourVectorSmearer.h"
11 #define ELECTRON_MASS 0.0005109989
12 #define MUON_MASS 0.10565836
13 #define PION_MASS 0.139570
53 typedef std::vector<TrackResolution> ResVec ;
67 virtual HepLorentzVector
smearedFourVector(
const HepLorentzVector& v,
int pdgCode ) ;
79 #endif // MARLIN_CLHEP
80 #endif // SimpleTrackSmearer_h
Interface for smearing of four vectors - based on CLHEP::HepLorentzVector.
Definition: IFourVectorSmearer.h:23
Smears the four vectors of charged tracks according to dP/P = r for a given range of the polar angle...
Definition: SimpleTrackSmearer.h:51
Small helper class to store tracker resolutions for a polar angle range.
Definition: SimpleTrackSmearer.h:22
virtual ~SimpleTrackSmearer()
Virtual d'tor.
Definition: SimpleTrackSmearer.h:61
virtual HepLorentzVector smearedFourVector(const HepLorentzVector &v, int pdgCode)
Smears the given four vector according to the resolution for the polar angle of the track...
Definition: SimpleTrackSmearer.cc:43