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() [1/2]

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

◆ TwoBodyDecayVirtualMeasurement() [2/2]

TwoBodyDecayVirtualMeasurement::TwoBodyDecayVirtualMeasurement ( const TwoBodyDecayVirtualMeasurement other)
inline

Definition at line 30 of file TwoBodyDecayVirtualMeasurement.h.

31  : thePrimaryMass(other.thePrimaryMass),
32  thePrimaryWidth(other.thePrimaryWidth),
33  theSecondaryMass(other.theSecondaryMass),
34  theBeamSpot(other.theBeamSpot) {}

Member Function Documentation

◆ beamSpot()

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

Definition at line 40 of file TwoBodyDecayVirtualMeasurement.h.

40 { return theBeamSpot; }

References theBeamSpot.

◆ beamSpotError()

const AlgebraicSymMatrix TwoBodyDecayVirtualMeasurement::beamSpotError ( void  ) const
inline

Definition at line 42 of file TwoBodyDecayVirtualMeasurement.h.

42 { return extractBeamSpotError(); }

References extractBeamSpotError().

Referenced by TwoBodyDecayEstimator::constructMatrices().

◆ beamSpotPosition()

const AlgebraicVector TwoBodyDecayVirtualMeasurement::beamSpotPosition ( void  ) const
inline

◆ convertXYZPoint()

const AlgebraicVector TwoBodyDecayVirtualMeasurement::convertXYZPoint ( const math::XYZPoint p) const
inlineprivate

Definition at line 45 of file TwoBodyDecayVirtualMeasurement.h.

45  {
46  AlgebraicVector v(3);
47  v(1) = p.x();
48  v(2) = p.y();
49  v(3) = p.z();
50  return v;
51  }

References AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

Referenced by beamSpotPosition().

◆ extractBeamSpotError()

const AlgebraicSymMatrix TwoBodyDecayVirtualMeasurement::extractBeamSpotError ( ) const
inlineprivate

Definition at line 53 of file TwoBodyDecayVirtualMeasurement.h.

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  }

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

Referenced by beamSpotError().

◆ primaryMass()

const double& TwoBodyDecayVirtualMeasurement::primaryMass ( void  ) const
inline

◆ primaryWidth()

const double& TwoBodyDecayVirtualMeasurement::primaryWidth ( void  ) const
inline

Definition at line 37 of file TwoBodyDecayVirtualMeasurement.h.

37 { return thePrimaryWidth; }

References thePrimaryWidth.

Referenced by TwoBodyDecayEstimator::constructMatrices().

◆ secondaryMass()

const double& TwoBodyDecayVirtualMeasurement::secondaryMass ( void  ) const
inline

Member Data Documentation

◆ theBeamSpot

const reco::BeamSpot& TwoBodyDecayVirtualMeasurement::theBeamSpot
private

◆ thePrimaryMass

const double TwoBodyDecayVirtualMeasurement::thePrimaryMass
private

Definition at line 61 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryMass().

◆ thePrimaryWidth

const double TwoBodyDecayVirtualMeasurement::thePrimaryWidth
private

Definition at line 62 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by primaryWidth().

◆ theSecondaryMass

const double TwoBodyDecayVirtualMeasurement::theSecondaryMass
private

Definition at line 63 of file TwoBodyDecayVirtualMeasurement.h.

Referenced by secondaryMass().

TwoBodyDecayVirtualMeasurement::thePrimaryMass
const double thePrimaryMass
Definition: TwoBodyDecayVirtualMeasurement.h:61
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
findQualityFiles.v
v
Definition: findQualityFiles.py:179
TwoBodyDecayVirtualMeasurement::primaryWidth
const double & primaryWidth(void) const
Definition: TwoBodyDecayVirtualMeasurement.h:37
TwoBodyDecayVirtualMeasurement::thePrimaryWidth
const double thePrimaryWidth
Definition: TwoBodyDecayVirtualMeasurement.h:62
reco::BeamSpot::sigmaZ
double sigmaZ() const
sigma z
Definition: BeamSpot.h:76
TwoBodyDecayVirtualMeasurement::theBeamSpot
const reco::BeamSpot & theBeamSpot
Definition: TwoBodyDecayVirtualMeasurement.h:64
TwoBodyDecayVirtualMeasurement::convertXYZPoint
const AlgebraicVector convertXYZPoint(const math::XYZPoint &p) const
Definition: TwoBodyDecayVirtualMeasurement.h:45
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
trackingPlots.other
other
Definition: trackingPlots.py:1467
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition: AlgebraicObjects.h:15
reco::BeamSpot::BeamWidthX
double BeamWidthX() const
beam width X
Definition: BeamSpot.h:82
TwoBodyDecayVirtualMeasurement::theSecondaryMass
const double theSecondaryMass
Definition: TwoBodyDecayVirtualMeasurement.h:63
TwoBodyDecayVirtualMeasurement::primaryMass
const double & primaryMass(void) const
Definition: TwoBodyDecayVirtualMeasurement.h:36
TwoBodyDecayVirtualMeasurement::secondaryMass
const double & secondaryMass(void) const
Definition: TwoBodyDecayVirtualMeasurement.h:38
TwoBodyDecayVirtualMeasurement::extractBeamSpotError
const AlgebraicSymMatrix extractBeamSpotError() const
Definition: TwoBodyDecayVirtualMeasurement.h:53
TwoBodyDecayVirtualMeasurement::beamSpot
const reco::BeamSpot & beamSpot(void) const
Definition: TwoBodyDecayVirtualMeasurement.h:40
reco::BeamSpot::BeamWidthY
double BeamWidthY() const
beam width Y
Definition: BeamSpot.h:84