CMS 3D CMS Logo

List of all members | Public Member Functions
LagrangeChildUpdator Class Reference

#include <LagrangeChildUpdator.h>

Inheritance diagram for LagrangeChildUpdator:
ChildUpdator

Public Member Functions

LagrangeChildUpdatorclone () const override
 
 LagrangeChildUpdator ()
 
RefCountedKinematicTree update (RefCountedKinematicTree tree) const override
 
std::vector< RefCountedKinematicTreeupdate (const std::vector< RefCountedKinematicTree > &trees) const override
 
 ~LagrangeChildUpdator () override
 
- Public Member Functions inherited from ChildUpdator
 ChildUpdator ()
 
virtual ~ChildUpdator ()
 

Detailed Description

This is the space for daughter particle update after the lagrange multipliers refit. Current class is not yet implemented. Return the input unchanged for the moment.

Definition at line 13 of file LagrangeChildUpdator.h.

Constructor & Destructor Documentation

◆ LagrangeChildUpdator()

LagrangeChildUpdator::LagrangeChildUpdator ( )
inline

Definition at line 15 of file LagrangeChildUpdator.h.

Referenced by clone().

15 {}

◆ ~LagrangeChildUpdator()

LagrangeChildUpdator::~LagrangeChildUpdator ( )
inlineoverride

Definition at line 16 of file LagrangeChildUpdator.h.

16 {}

Member Function Documentation

◆ clone()

LagrangeChildUpdator* LagrangeChildUpdator::clone ( void  ) const
inlineoverridevirtual

Implements ChildUpdator.

Definition at line 22 of file LagrangeChildUpdator.h.

References LagrangeChildUpdator().

22 { return new LagrangeChildUpdator(*this); }

◆ update() [1/2]

RefCountedKinematicTree LagrangeChildUpdator::update ( RefCountedKinematicTree  tree) const
overridevirtual

Method updating particles and vertices inside the tree below the constrained particle The tree pointer should be set on particle just updated by ParentParticleFitter Class to be used by KinematicParticleFitter only.

Implements ChildUpdator.

Definition at line 3 of file LagrangeChildUpdator.cc.

References make_classfiles::tree.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().

3  {
4  //space for down update method
5  //now does nothing, supposed to
6  //update the states of daughter
7  //particles down the kinematic decay chain
8 
10  return nTree;
11 }

◆ update() [2/2]

std::vector< RefCountedKinematicTree > LagrangeChildUpdator::update ( const std::vector< RefCountedKinematicTree > &  trees) const
overridevirtual

Implements ChildUpdator.

Definition at line 12 of file LagrangeChildUpdator.cc.

References dqmdumpme::trees.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().

13  {
14  //space for down update method
15  //now does nothing, supposed to
16  //update the states of daughter
17  //particles down the kinematic decay chain
18 
19  std::vector<RefCountedKinematicTree> nTree = trees;
20 
21  return nTree;
22 }