CandFitTrackHandle Class Reference

#include <CandFitTrackHandle.h>

Inheritance diagram for CandFitTrackHandle:
CandTrackHandle CandRecoHandle CandHandle CandFitTrackAtNuHandle CandFitTrackCamHandle CandFitTrackMSHandle CandFitTrackSAHandle CandFitTrackSRHandle

List of all members.

Public Member Functions

 CandFitTrackHandle ()
 CandFitTrackHandle (const CandFitTrackHandle &cdh)
 CandFitTrackHandle (CandFitTrack *cd)
virtual ~CandFitTrackHandle ()
virtual CandFitTrackHandleDupHandle () const
virtual void Trace (const char *c="") const
void SetMomentumRange (Double_t)
Double_t GetMomentumRange () const
void SetEndQP (Double_t)
void SetPlaneChi2 (Int_t, Double_t)
void SetPlaneQP (Int_t, Double_t)
void SetEndUError (Double_t)
void SetEndVError (Double_t)
void SetEnddUError (Double_t)
void SetEnddVError (Double_t)
void SetEndQPError (Double_t)
void SetNSwimFail (Int_t)
void SetBave (Double_t)
Double_t GetBave () const
Double_t GetEndQP () const
Float_t GetPlaneChi2 (Int_t) const
Float_t GetPlaneQP (Int_t) const
Double_t GetEndUError () const
Double_t GetEndVError () const
Double_t GetEnddUError () const
Double_t GetEnddVError () const
Double_t GetEndQPError () const
Int_t GetNSwimFail () const
void SetMomentumCurve (Double_t)
Double_t GetMomentumCurve () const
Double_t GetEMCharge () const
void SetEMCharge (Double_t)
Double_t GetChi2 () const
void SetChi2 (Double_t)
Bool_t GetPass () const
void SetPass (Bool_t)
Double_t GetVtxQPError () const
void SetVtxQPError (Double_t)
Int_t GetNDOF () const
void SetNDOF (Int_t)
Int_t GetNIterate () const
void SetNIterate (Int_t)
Double_t GetCPUTime () const
void SetCPUTime (Double_t)
Double_t GetVtxUError () const
void SetVtxUError (Double_t)
Double_t GetVtxVError () const
void SetVtxVError (Double_t)
Double_t GetVtxdUError () const
void SetVtxdUError (Double_t)
Double_t GetVtxdVError () const
void SetVtxdVError (Double_t)
CandTrackHandleGetFinderTrack () const
void SetFinderTrack (CandTrackHandle *)
void ClearMaps ()

Static Public Member Functions

static NavKey KeyFromSlice (const CandFitTrackHandle *)

Detailed Description

Definition at line 23 of file CandFitTrackHandle.h.


Constructor & Destructor Documentation

CandFitTrackHandle::CandFitTrackHandle (  ) 

Definition at line 35 of file CandFitTrackHandle.cxx.

Referenced by DupHandle().

00036 {
00037 }

CandFitTrackHandle::CandFitTrackHandle ( const CandFitTrackHandle cdh  ) 

Definition at line 40 of file CandFitTrackHandle.cxx.

00040                                                                     :
00041   CandTrackHandle(cdh)
00042 {
00043 }

CandFitTrackHandle::CandFitTrackHandle ( CandFitTrack cd  ) 

Definition at line 46 of file CandFitTrackHandle.cxx.

00046                                                        :
00047   CandTrackHandle(cd)
00048 {
00049 }

CandFitTrackHandle::~CandFitTrackHandle (  )  [virtual]

Definition at line 52 of file CandFitTrackHandle.cxx.

00053 {
00054 }


Member Function Documentation

void CandFitTrackHandle::ClearMaps (  )  [virtual]

Reimplemented from CandTrackHandle.

Reimplemented in CandFitTrackSRHandle.

Definition at line 377 of file CandFitTrackHandle.cxx.

References CandFitTrack::fPlaneChi2, CandFitTrack::fPlaneQP, and CandHandle::GetOwnedCandBase().

00378 {
00379   CandFitTrack *track = dynamic_cast<CandFitTrack*>(GetOwnedCandBase());
00380   track->fPlaneChi2.clear();
00381   track->fPlaneQP.clear();
00382   CandTrackHandle::ClearMaps();
00383 }

CandFitTrackHandle * CandFitTrackHandle::DupHandle (  )  const [virtual]

Reimplemented from CandTrackHandle.

Reimplemented in CandFitTrackAtNuHandle, CandFitTrackCamHandle, CandFitTrackMSHandle, CandFitTrackSAHandle, and CandFitTrackSRHandle.

Definition at line 57 of file CandFitTrackHandle.cxx.

References CandFitTrackHandle().

00058 {
00059    return (new CandFitTrackHandle(*this));
00060 }

Double_t CandFitTrackHandle::GetBave (  )  const

Definition at line 137 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpTrackFit().

00138 {
00139   return dynamic_cast<const CandFitTrack*>(GetCandBase())->fBave;
00140 }

Double_t CandFitTrackHandle::GetChi2 (  )  const
Double_t CandFitTrackHandle::GetCPUTime (  )  const

Definition at line 309 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackFit(), NtpSRModule::FillNtpTrackFit(), UberModuleLite::FillNtpTrackFit(), and TrackContext::GetCpuSR().

00310 {
00311   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fCPUTime;
00312 }

Double_t CandFitTrackHandle::GetEMCharge (  )  const
Double_t CandFitTrackHandle::GetEnddUError (  )  const

Definition at line 226 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackEnd(), UberModuleLite::FillNtpTrackEnd(), and NtpSRModule::FillNtpTrackEnd().

00227 {
00228   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fEnddUError;
00229 }

Double_t CandFitTrackHandle::GetEnddVError (  )  const

Definition at line 232 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackEnd(), UberModuleLite::FillNtpTrackEnd(), and NtpSRModule::FillNtpTrackEnd().

00233 {
00234   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fEnddVError;
00235 }

Double_t CandFitTrackHandle::GetEndQP (  )  const

Definition at line 125 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitTrackSR::InitializeFit().

00126 {
00127   return dynamic_cast<const CandFitTrack*>(GetCandBase())->fEndQP;
00128 }

Double_t CandFitTrackHandle::GetEndQPError (  )  const

Definition at line 238 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

00239 {
00240   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fEndQPError;
00241 }

Double_t CandFitTrackHandle::GetEndUError (  )  const

Definition at line 214 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackEnd(), UberModuleLite::FillNtpTrackEnd(), and NtpSRModule::FillNtpTrackEnd().

00215 {
00216   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fEndUError;
00217 }

Double_t CandFitTrackHandle::GetEndVError (  )  const

Definition at line 220 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackEnd(), UberModuleLite::FillNtpTrackEnd(), and NtpSRModule::FillNtpTrackEnd().

00221 {
00222   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fEndVError;
00223 }

CandTrackHandle * CandFitTrackHandle::GetFinderTrack (  )  const
Double_t CandFitTrackHandle::GetMomentumCurve (  )  const
Double_t CandFitTrackHandle::GetMomentumRange (  )  const
Int_t CandFitTrackHandle::GetNDOF (  )  const
Int_t CandFitTrackHandle::GetNIterate (  )  const
Int_t CandFitTrackHandle::GetNSwimFail (  )  const
Bool_t CandFitTrackHandle::GetPass (  )  const
Float_t CandFitTrackHandle::GetPlaneChi2 ( Int_t  iplane  )  const

Definition at line 150 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpTrack(), UberModule::FillNtpTrack(), and UberModuleLite::FillNtpTrack().

00151 {
00152   map<Int_t,Float_t>::iterator iter;
00153   iter = (dynamic_cast<const CandFitTrack *>(GetCandBase())->fPlaneChi2).find(iplane);
00154   if (iter!=(dynamic_cast<const CandFitTrack *>(GetCandBase())->fPlaneChi2).end()) {
00155     return dynamic_cast<const CandFitTrack *>(GetCandBase())->fPlaneChi2[iplane];
00156   }
00157   return -1.;
00158 }

Float_t CandFitTrackHandle::GetPlaneQP ( Int_t  iplane  )  const

Definition at line 161 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpTrack(), UberModule::FillNtpTrack(), and UberModuleLite::FillNtpTrack().

00162 {
00163   map<Int_t,Float_t>::iterator iter;
00164   iter = (dynamic_cast<const CandFitTrack *>(GetCandBase())->fPlaneQP).find(iplane);
00165   if (iter!=(dynamic_cast<const CandFitTrack *>(GetCandBase())->fPlaneQP).end()) {
00166     return dynamic_cast<const CandFitTrack *>(GetCandBase())->fPlaneQP[iplane];
00167   }
00168   return -1.;
00169 }

Double_t CandFitTrackHandle::GetVtxdUError (  )  const

Definition at line 346 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackVertex(), NtpSRModule::FillNtpTrackVertex(), UberModuleLite::FillNtpTrackVertex(), and TrackContext::GetEDirCosUSR().

00347 {
00348   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fVtxdUError;
00349 }

Double_t CandFitTrackHandle::GetVtxdVError (  )  const

Definition at line 358 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackVertex(), NtpSRModule::FillNtpTrackVertex(), UberModuleLite::FillNtpTrackVertex(), and TrackContext::GetEDirCosVSR().

00359 {
00360   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fVtxdVError;
00361 }

Double_t CandFitTrackHandle::GetVtxQPError (  )  const
Double_t CandFitTrackHandle::GetVtxUError (  )  const

Definition at line 322 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackVertex(), NtpSRModule::FillNtpTrackVertex(), UberModuleLite::FillNtpTrackVertex(), and TrackContext::GetUErrorSR().

00323 {
00324   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fVtxUError;
00325 }

Double_t CandFitTrackHandle::GetVtxVError (  )  const

Definition at line 334 of file CandFitTrackHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackVertex(), NtpSRModule::FillNtpTrackVertex(), UberModuleLite::FillNtpTrackVertex(), and TrackContext::GetVErrorSR().

00335 {
00336   return dynamic_cast<const CandFitTrack *>(GetCandBase())->fVtxVError;
00337 }

NavKey CandFitTrackHandle::KeyFromSlice ( const CandFitTrackHandle reco  )  [static]

Reimplemented from CandTrackHandle.

Definition at line 75 of file CandFitTrackHandle.cxx.

References CandRecoHandle::GetCandSlice(), and CandHandle::GetUidInt().

00076 {
00077   if (reco->GetCandSlice()) {
00078     return static_cast<Int_t>(reco->GetCandSlice()->GetUidInt());
00079   }
00080   return 0;
00081 
00082 }

void CandFitTrackHandle::SetBave ( Double_t  bave  ) 

Definition at line 144 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackCam::SetTrackProperties().

00145 {
00146   dynamic_cast<CandFitTrack*>(GetOwnedCandBase())->fBave = bave;
00147 }

void CandFitTrackHandle::SetChi2 ( Double_t  chi2  ) 
void CandFitTrackHandle::SetCPUTime ( Double_t  cputime  ) 

Definition at line 303 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackCamList::RunAlg(), and AlgFitTrackSRList::RunAlg().

00304 {
00305   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fCPUTime = cputime;
00306 }

void CandFitTrackHandle::SetEMCharge ( Double_t  emcharge  ) 
void CandFitTrackHandle::SetEnddUError ( Double_t  error  ) 

Definition at line 196 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00197 {
00198   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fEnddUError = error;
00199 }

void CandFitTrackHandle::SetEnddVError ( Double_t  error  ) 

Definition at line 202 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00203 {
00204   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fEnddVError = error;
00205 }

void CandFitTrackHandle::SetEndQP ( Double_t  qp0  ) 

Definition at line 131 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by CandFitTrackSRHandle::SetEnd(), AlgFitTrackSR::SetTrackParameters(), and AlgFitTrackCam::SetTrackProperties().

00132 {
00133   dynamic_cast<CandFitTrack*>(GetOwnedCandBase())->fEndQP = qp0;
00134 }

void CandFitTrackHandle::SetEndQPError ( Double_t  error  ) 

Definition at line 208 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00209 {
00210   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fEndQPError = error;
00211 }

void CandFitTrackHandle::SetEndUError ( Double_t  error  ) 

Definition at line 184 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00185 {
00186   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fEndUError = error;
00187 }

void CandFitTrackHandle::SetEndVError ( Double_t  error  ) 

Definition at line 190 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00191 {
00192   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fEndVError = error;
00193 }

void CandFitTrackHandle::SetFinderTrack ( CandTrackHandle fth  ) 

Definition at line 371 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackAtNu::RunAlg().

00372 {
00373   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fFinderTrack = fth;
00374 }

void CandFitTrackHandle::SetMomentumCurve ( Double_t  momentum  ) 

Definition at line 119 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackAtNu::RunAlg(), AlgFitTrackCam::RunTheFitter(), and AlgFitTrackCam::SetTrackProperties().

00120 {
00121   dynamic_cast<CandFitTrack*>(GetOwnedCandBase())->fMomentumCurve = momentum;
00122 }

void CandFitTrackHandle::SetMomentumRange ( Double_t  momentum  ) 
void CandFitTrackHandle::SetNDOF ( Int_t  ndof  ) 

Definition at line 291 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00292 {
00293   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fNDOF = ndof;
00294 }

void CandFitTrackHandle::SetNIterate ( Int_t  n  ) 

Definition at line 267 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackAtNu::RunAlg(), AlgFitTrackSR::SetTrackParameters(), and AlgFitTrackCam::SetTrackProperties().

00268 {
00269   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fNIterate = n;
00270 }

void CandFitTrackHandle::SetNSwimFail ( Int_t  nswimfail  ) 
void CandFitTrackHandle::SetPass ( Bool_t  pass  ) 

Definition at line 261 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackAtNu::RunAlg(), and AlgFitTrackCam::RunTheFitter().

00262 {
00263   dynamic_cast<CandFitTrack*>(GetOwnedCandBase())->fPass = pass;
00264 }

void CandFitTrackHandle::SetPlaneChi2 ( Int_t  iplane,
Double_t  chi2 
)

Definition at line 178 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::ReverseFit(), AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00179 {
00180   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fPlaneChi2[iplane] = (Float_t)chi2;
00181 }

void CandFitTrackHandle::SetPlaneQP ( Int_t  iplane,
Double_t  qp 
)

Definition at line 172 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::ReverseFit(), AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00173 {
00174   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fPlaneQP[iplane] = (Float_t)qp;
00175 }

void CandFitTrackHandle::SetVtxdUError ( Double_t  error  ) 

Definition at line 340 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00341 {
00342   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fVtxdUError = error;
00343 }

void CandFitTrackHandle::SetVtxdVError ( Double_t  error  ) 

Definition at line 352 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00353 {
00354   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fVtxdVError = error;
00355 }

void CandFitTrackHandle::SetVtxQPError ( Double_t  error  ) 
void CandFitTrackHandle::SetVtxUError ( Double_t  error  ) 

Definition at line 316 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00317 {
00318   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fVtxUError = error;
00319 }

void CandFitTrackHandle::SetVtxVError ( Double_t  error  ) 

Definition at line 328 of file CandFitTrackHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitTrackSR::SetPlaneParameters(), and AlgFitTrackCam::SetTrackProperties().

00329 {
00330   dynamic_cast<CandFitTrack *>(GetOwnedCandBase())->fVtxVError = error;
00331 }

void CandFitTrackHandle::Trace ( const char *  c = ""  )  const [virtual]

Reimplemented from CandTrackHandle.

Reimplemented in CandFitTrackAtNuHandle, CandFitTrackMSHandle, and CandFitTrackSRHandle.

Definition at line 64 of file CandFitTrackHandle.cxx.

References Msg::kDebug, and MSG.

00065 {
00066   MSG("Cand", Msg::kDebug)
00067     << "**********Begin CandFitTrackHandle::Trace(\"" << c << "\")" << endl
00068            << "Information from CandFitTrackHandle's CandHandle: " << endl;
00069   CandHandle::Trace(c);
00070   MSG("Cand", Msg::kDebug)
00071      << "**********End CandFitTrackHandle::Trace(\"" << c << "\")" << endl;
00072 }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1