Marlin  1.17.1
 All Classes Namespaces Functions Variables Enumerations Friends Pages
Public Member Functions | Protected Attributes | List of all members
marlin::SimpleClusterSmearer Class Reference

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>

Inheritance diagram for marlin::SimpleClusterSmearer:
marlin::IFourVectorSmearer

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
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual marlin::SimpleClusterSmearer::~SimpleClusterSmearer ( )
inlinevirtual

Virtual d'tor.

Member Function Documentation

HepLorentzVector marlin::SimpleClusterSmearer::smearedFourVector ( const HepLorentzVector &  v,
int  pdgCode 
)
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.


The documentation for this class was generated from the following files: