CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
tauImpactParameter::ChiSquareFunctionUpdator Class Reference

#include <ChiSquareFunctionUpdator.h>

Inheritance diagram for tauImpactParameter::ChiSquareFunctionUpdator:

Public Member Functions

 ChiSquareFunctionUpdator (TrackHelixVertexFitter *VF)
 
virtual double operator() (const std::vector< double > &x) const
 
virtual double Up () const
 
virtual ~ChiSquareFunctionUpdator ()
 

Private Attributes

TrackHelixVertexFitterVF_
 

Detailed Description

Definition at line 17 of file ChiSquareFunctionUpdator.h.

Constructor & Destructor Documentation

tauImpactParameter::ChiSquareFunctionUpdator::ChiSquareFunctionUpdator ( TrackHelixVertexFitter VF)
inline

Definition at line 19 of file ChiSquareFunctionUpdator.h.

References VF_.

19 { VF_ = VF; }
virtual tauImpactParameter::ChiSquareFunctionUpdator::~ChiSquareFunctionUpdator ( )
inlinevirtual

Definition at line 20 of file ChiSquareFunctionUpdator.h.

20 {};

Member Function Documentation

virtual double tauImpactParameter::ChiSquareFunctionUpdator::operator() ( const std::vector< double > &  x) const
inlinevirtual

Definition at line 22 of file ChiSquareFunctionUpdator.h.

References i, tauImpactParameter::TrackHelixVertexFitter::updateChisquare(), VF_, and X.

23  {
24  TVectorT<double> X(x.size());
25  for ( unsigned int i = 0; i < x.size(); ++i ) {
26  X(i) = x[i];
27  }
28  return VF_->updateChisquare(X);
29  }
int i
Definition: DBlmapReader.cc:9
#define X(str)
Definition: MuonsGrabber.cc:48
virtual double updateChisquare(const TVectorT< double > &inpar)
virtual double tauImpactParameter::ChiSquareFunctionUpdator::Up ( ) const
inlinevirtual

Definition at line 30 of file ChiSquareFunctionUpdator.h.

Referenced by tauImpactParameter::Chi2VertexFitter::fit().

30 { return 1.0; }// Error definiton for Chi^2 (virtual function defined in ROOT::Minuit2::FCNBase base-class)

Member Data Documentation

TrackHelixVertexFitter* tauImpactParameter::ChiSquareFunctionUpdator::VF_
private

Definition at line 33 of file ChiSquareFunctionUpdator.h.

Referenced by ChiSquareFunctionUpdator(), and operator()().