TrackEstimatorRange Class Reference

#include <TrackEstimatorRange.h>

Inheritance diagram for TrackEstimatorRange:
TrackEstimator

List of all members.

Public Member Functions

 TrackEstimatorRange ()
 ~TrackEstimatorRange ()
virtual void Config (const AlgConfig &)
virtual TVectorD EstimateTrackParams (FitContext &) const

Detailed Description

Set initial value of track momentum to Prange, values of u, v, du/dz, dv/dz from simple estimates.

Author:
Sergei avva@fnal.gov

Definition at line 20 of file TrackEstimatorRange.h.


Constructor & Destructor Documentation

TrackEstimatorRange::TrackEstimatorRange (  ) 

ctor

Definition at line 30 of file TrackEstimatorRange.cxx.

00031 {
00032     TracerSA trace("TrackEstimatorRange::TrackEstimatorRange()");
00033 }

TrackEstimatorRange::~TrackEstimatorRange (  ) 

dtor

Definition at line 38 of file TrackEstimatorRange.cxx.

00039 {
00040     TracerSA trace("TrackEstimatorRange::~TrackEstimatorRange()");
00041 }


Member Function Documentation

void TrackEstimatorRange::Config ( const AlgConfig  )  [virtual]

configure filter using given AlgConfig

read configuration parameters from AlgConfig

Implements TrackEstimator.

Definition at line 68 of file TrackEstimatorRange.cxx.

00069 {
00070     TracerSA trace("TrackEstimatorRange::Config(const AlgConfig&)");
00071 }

TVectorD TrackEstimatorRange::EstimateTrackParams ( FitContext fitContext  )  const [virtual]

filter method

set initial track parameters (changes its argument FitContext)

Implements TrackEstimator.

Definition at line 46 of file TrackEstimatorRange.cxx.

References FitContext::fData, DataFT::GetDudzlin(), DataFT::GetDvdzlin(), FitContext::GetPrange(), DataFT::GetUlin(), DataFT::GetVlin(), ConstFT::kdUdZ, ConstFT::kdVdZ, ConstFT::kQoverP, kU, kV, and ConstFT::NTrackParams.

00047 {
00048     TracerSA trace("TrackEstimatorRange::EstimateTrackParams"
00049                                                 "(FitContext& fitContext)");
00050     
00051     TVectorD fitEstimate(NTrackParams);
00052     //const DataFT* data = fitContext.GetData();
00053     
00054     fitEstimate(kU) = fitContext.fData.GetUlin(0);
00055     fitEstimate(kdUdZ) = fitContext.fData.GetDudzlin(0);
00056     fitEstimate(kV) = fitContext.fData.GetVlin(0);
00057     fitEstimate(kdVdZ) = fitContext.fData.GetDvdzlin(0);
00058     // estimate 10% higher than Prange to make sure swimmer 
00059     // swims through the whole track
00060     fitEstimate(kQoverP) = -1./(fitContext.GetPrange()*1.1);
00061     
00062     return fitEstimate;
00063 }        


The documentation for this class was generated from the following files:

Generated on 14 Dec 2017 for loon by  doxygen 1.6.1