CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
TwoBodyDecayVirtualMeasurement Class Reference

#include <TwoBodyDecayVirtualMeasurement.h>

Public Member Functions

const reco::BeamSpotbeamSpot (void) const
 
const AlgebraicSymMatrix beamSpotError (void) const
 
const AlgebraicVector beamSpotPosition (void) const
 
const double & primaryMass (void) const
 
const double & primaryWidth (void) const
 
const double & secondaryMass (void) const
 
 TwoBodyDecayVirtualMeasurement (const double primaryMass, const double primaryWidth, const double secondaryMass, const reco::BeamSpot &beamSpot)
 
 TwoBodyDecayVirtualMeasurement (const TwoBodyDecayVirtualMeasurement &other)
 

Private Member Functions

const AlgebraicVector convertXYZPoint (const math::XYZPoint &p) const
 
const AlgebraicSymMatrix extractBeamSpotError () const
 

Private Attributes

const reco::BeamSpottheBeamSpot
 
const double thePrimaryMass
 
const double thePrimaryWidth
 
const double theSecondaryMass
 

Detailed Description

/class TwoBodyDecayVirtualMeasurement

Container-class for the virtual measurements (beam profile, mass-constraint) included into the estimation of the properties of two-body decays (see TwoBodyDecayEstimator).

/author Edmund Widl

Definition at line 19 of file TwoBodyDecayVirtualMeasurement.h.

Constructor & Destructor Documentation

TwoBodyDecayVirtualMeasurement::TwoBodyDecayVirtualMeasurement ( const double  primaryMass,
const double  primaryWidth,
const double  secondaryMass,
const reco::BeamSpot beamSpot 
)
inline
TwoBodyDecayVirtualMeasurement::TwoBodyDecayVirtualMeasurement ( const TwoBodyDecayVirtualMeasurement other)
inline

Member Function Documentation

const reco::BeamSpot& TwoBodyDecayVirtualMeasurement::beamSpot ( void  ) const
inline

Definition at line 43 of file TwoBodyDecayVirtualMeasurement.h.

References theBeamSpot.

43 { return theBeamSpot; }
const AlgebraicSymMatrix TwoBodyDecayVirtualMeasurement::beamSpotError ( void  ) const
inline

Definition at line 45 of file TwoBodyDecayVirtualMeasurement.h.

References extractBeamSpotError().

Referenced by TwoBodyDecayEstimator::constructMatrices().

45 { return extractBeamSpotError(); }
const AlgebraicSymMatrix extractBeamSpotError() const
const AlgebraicVector TwoBodyDecayVirtualMeasurement::beamSpotPosition ( void  ) const
inline

Definition at line 44 of file TwoBodyDecayVirtualMeasurement.h.

References convertXYZPoint(), reco::BeamSpot::position(), and theBeamSpot.

Referenced by TwoBodyDecayEstimator::constructMatrices().

44 { return convertXYZPoint( theBeamSpot.position() ); }
const AlgebraicVector convertXYZPoint(const math::XYZPoint &p) const
const Point & position() const
position
Definition: BeamSpot.h:62
const AlgebraicVector TwoBodyDecayVirtualMeasurement::convertXYZPoint ( const math::XYZPoint p) const
inlineprivate

Definition at line 49 of file TwoBodyDecayVirtualMeasurement.h.

References findQualityFiles::v.

Referenced by beamSpotPosition().

50  { AlgebraicVector v(3); v(1)=p.x(); v(2)=p.y(); v(3)=p.z(); return v; }
CLHEP::HepVector AlgebraicVector
const AlgebraicSymMatrix TwoBodyDecayVirtualMeasurement::extractBeamSpotError ( ) const
inlineprivate

Definition at line 52 of file TwoBodyDecayVirtualMeasurement.h.

References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::sigmaZ(), and theBeamSpot.

Referenced by beamSpotError().

53  { AlgebraicSymMatrix bse(3,0); bse[0][0] = theBeamSpot.BeamWidthX(); bse[1][1] = theBeamSpot.BeamWidthY(); bse[2][2] = theBeamSpot.sigmaZ(); return bse; }
double BeamWidthX() const
beam width X
Definition: BeamSpot.h:86
double sigmaZ() const
sigma z
Definition: BeamSpot.h:80
double BeamWidthY() const
beam width Y
Definition: BeamSpot.h:88
CLHEP::HepSymMatrix AlgebraicSymMatrix
const double& TwoBodyDecayVirtualMeasurement::primaryMass ( void  ) const
inline
const double& TwoBodyDecayVirtualMeasurement::primaryWidth ( void  ) const
inline
const double& TwoBodyDecayVirtualMeasurement::secondaryMass ( void  ) const
inline

Member Data Documentation

const reco::BeamSpot& TwoBodyDecayVirtualMeasurement::theBeamSpot
private
const double TwoBodyDecayVirtualMeasurement::thePrimaryMass
private

Definition at line 55 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryMass().

const double TwoBodyDecayVirtualMeasurement::thePrimaryWidth
private

Definition at line 56 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryWidth().

const double TwoBodyDecayVirtualMeasurement::theSecondaryMass
private

Definition at line 57 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by secondaryMass().