CMS 3D CMS Logo

TwoBodyDecayEstimator.h
Go to the documentation of this file.
1 #ifndef Alignment_TwoBodyDecay_TwoBodyDecayEstimator_h
2 #define Alignment_TwoBodyDecay_TwoBodyDecayEstimator_h
3 
6 
9 
11 
21 public:
23 
25  virtual ~TwoBodyDecayEstimator(void) {}
26 
27  virtual TwoBodyDecay estimate(const std::vector<RefCountedLinearizedTrackState> &linTracks,
28  const TwoBodyDecayParameters &linearizationPoint,
29  const TwoBodyDecayVirtualMeasurement &vm) const;
30 
31  inline int ndf(void) const { return theNdf; }
32  inline const AlgebraicVector &pulls(void) const { return thePulls; }
33 
34  virtual TwoBodyDecayEstimator *clone(void) const { return new TwoBodyDecayEstimator(*this); }
35 
36 protected:
37  virtual bool constructMatrices(const std::vector<RefCountedLinearizedTrackState> &linTracks,
38  const TwoBodyDecayParameters &linearizationPoint,
40  AlgebraicVector &vecM,
41  AlgebraicSymMatrix &matG,
42  AlgebraicMatrix &matA) const;
43 
44 private:
45  bool checkValues(const AlgebraicVector &vec) const;
46 
51 
52  mutable int theNdf;
54 };
55 
56 #endif
TwoBodyDecayEstimator::estimate
virtual TwoBodyDecay estimate(const std::vector< RefCountedLinearizedTrackState > &linTracks, const TwoBodyDecayParameters &linearizationPoint, const TwoBodyDecayVirtualMeasurement &vm) const
Definition: TwoBodyDecayEstimator.cc:20
TwoBodyDecayEstimator::pulls
const AlgebraicVector & pulls(void) const
Definition: TwoBodyDecayEstimator.h:32
TwoBodyDecayEstimator::checkValues
bool checkValues(const AlgebraicVector &vec) const
Definition: TwoBodyDecayEstimator.cc:215
AlgebraicObjects.h
TwoBodyDecayEstimator::theMaxIterDiff
double theMaxIterDiff
Definition: TwoBodyDecayEstimator.h:48
ReferenceCountingPointer< LinearizedTrackState< 5 > >
config
Definition: config.py:1
TwoBodyDecayEstimator::ndf
int ndf(void) const
Definition: TwoBodyDecayEstimator.h:31
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
TwoBodyDecayEstimator::TwoBodyDecayEstimator
TwoBodyDecayEstimator(const edm::ParameterSet &config)
Definition: TwoBodyDecayEstimator.cc:11
TwoBodyDecayEstimator::theMaxIterations
int theMaxIterations
Definition: TwoBodyDecayEstimator.h:49
TwoBodyDecayEstimator::theRobustificationConstant
double theRobustificationConstant
Definition: TwoBodyDecayEstimator.h:47
TwoBodyDecayVirtualMeasurement.h
TwoBodyDecayVirtualMeasurement
Definition: TwoBodyDecayVirtualMeasurement.h:19
edm::ParameterSet
Definition: ParameterSet.h:47
TwoBodyDecayParameters
Definition: TwoBodyDecayParameters.h:14
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition: AlgebraicObjects.h:15
TwoBodyDecayEstimator::clone
virtual TwoBodyDecayEstimator * clone(void) const
Definition: TwoBodyDecayEstimator.h:34
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
PerigeeLinearizedTrackState.h
TwoBodyDecayEstimator::theUseInvariantMass
bool theUseInvariantMass
Definition: TwoBodyDecayEstimator.h:50
TwoBodyDecayEstimator::RefCountedLinearizedTrackState
PerigeeLinearizedTrackState::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition: TwoBodyDecayEstimator.h:22
TwoBodyDecay
Definition: TwoBodyDecay.h:15
TwoBodyDecayEstimator::theNdf
int theNdf
Definition: TwoBodyDecayEstimator.h:52
TwoBodyDecayEstimator::thePulls
AlgebraicVector thePulls
Definition: TwoBodyDecayEstimator.h:53
TwoBodyDecayEstimator::constructMatrices
virtual bool constructMatrices(const std::vector< RefCountedLinearizedTrackState > &linTracks, const TwoBodyDecayParameters &linearizationPoint, const TwoBodyDecayVirtualMeasurement &vm, AlgebraicVector &vecM, AlgebraicSymMatrix &matG, AlgebraicMatrix &matA) const
Definition: TwoBodyDecayEstimator.cc:99
TwoBodyDecayEstimator
Definition: TwoBodyDecayEstimator.h:20
ParameterSet.h
TwoBodyDecayEstimator::~TwoBodyDecayEstimator
virtual ~TwoBodyDecayEstimator(void)
Definition: TwoBodyDecayEstimator.h:25
TwoBodyDecay.h