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 40 of file TwoBodyDecayVirtualMeasurement.h.

References theBeamSpot.

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

Definition at line 42 of file TwoBodyDecayVirtualMeasurement.h.

References extractBeamSpotError().

Referenced by TwoBodyDecayEstimator::constructMatrices().

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

Definition at line 41 of file TwoBodyDecayVirtualMeasurement.h.

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

Referenced by TwoBodyDecayEstimator::constructMatrices().

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 45 of file TwoBodyDecayVirtualMeasurement.h.

References findQualityFiles::v.

Referenced by beamSpotPosition().

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

Definition at line 53 of file TwoBodyDecayVirtualMeasurement.h.

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

Referenced by beamSpotError().

53  {
54  AlgebraicSymMatrix bse(3, 0);
55  bse[0][0] = theBeamSpot.BeamWidthX();
56  bse[1][1] = theBeamSpot.BeamWidthY();
57  bse[2][2] = theBeamSpot.sigmaZ();
58  return bse;
59  }
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 61 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryMass().

const double TwoBodyDecayVirtualMeasurement::thePrimaryWidth
private

Definition at line 62 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryWidth().

const double TwoBodyDecayVirtualMeasurement::theSecondaryMass
private

Definition at line 63 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by secondaryMass().