CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

TwoBodyDecayVirtualMeasurement Class Reference

#include <TwoBodyDecayVirtualMeasurement.h>

List of all members.

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.

{ return theBeamSpot; }
const AlgebraicSymMatrix TwoBodyDecayVirtualMeasurement::beamSpotError ( void  ) const [inline]
const AlgebraicVector TwoBodyDecayVirtualMeasurement::beamSpotPosition ( void  ) const [inline]
const AlgebraicVector TwoBodyDecayVirtualMeasurement::convertXYZPoint ( const math::XYZPoint p) const [inline, private]

Definition at line 49 of file TwoBodyDecayVirtualMeasurement.h.

References v.

Referenced by beamSpotPosition().

    { AlgebraicVector v(3); v(1)=p.x(); v(2)=p.y(); v(3)=p.z(); return v; }
const AlgebraicSymMatrix TwoBodyDecayVirtualMeasurement::extractBeamSpotError ( ) const [inline, private]

Definition at line 52 of file TwoBodyDecayVirtualMeasurement.h.

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

Referenced by beamSpotError().

    { AlgebraicSymMatrix bse(3,0); bse[0][0] = theBeamSpot.BeamWidthX(); bse[1][1] = theBeamSpot.BeamWidthY(); bse[2][2] = theBeamSpot.sigmaZ(); return bse; }
const double& TwoBodyDecayVirtualMeasurement::primaryMass ( void  ) const [inline]
const double& TwoBodyDecayVirtualMeasurement::primaryWidth ( void  ) const [inline]

Definition at line 40 of file TwoBodyDecayVirtualMeasurement.h.

References thePrimaryWidth.

Referenced by TwoBodyDecayEstimator::constructMatrices().

{ return thePrimaryWidth; }
const double& TwoBodyDecayVirtualMeasurement::secondaryMass ( void  ) const [inline]

Member Data Documentation

Definition at line 55 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryMass().

Definition at line 56 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryWidth().

Definition at line 57 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by secondaryMass().