CandFitTrackSAHandle Class Reference

#include <CandFitTrackSAHandle.h>

Inheritance diagram for CandFitTrackSAHandle:
CandFitTrackHandle CandTrackHandle CandRecoHandle CandHandle

List of all members.

Public Member Functions

 CandFitTrackSAHandle ()
 CandFitTrackSAHandle (const CandFitTrackSAHandle &rhs)
 CandFitTrackSAHandle (CandFitTrackSA *candidate)
virtual ~CandFitTrackSAHandle ()
virtual CandFitTrackSAHandleDupHandle () const
const TClonesArray & GetFits () const
void AddNtpFitSA (const NtpFitSA &fit)

Detailed Description

Definition at line 30 of file CandFitTrackSAHandle.h.


Constructor & Destructor Documentation

CandFitTrackSAHandle::CandFitTrackSAHandle (  ) 

Definition at line 27 of file CandFitTrackSAHandle.cxx.

Referenced by DupHandle().

00028 {
00029 }

CandFitTrackSAHandle::CandFitTrackSAHandle ( const CandFitTrackSAHandle rhs  ) 

Definition at line 31 of file CandFitTrackSAHandle.cxx.

00032     : CandFitTrackHandle(handle)
00033 {
00034 }

CandFitTrackSAHandle::CandFitTrackSAHandle ( CandFitTrackSA candidate  ) 

Definition at line 36 of file CandFitTrackSAHandle.cxx.

00037     : CandFitTrackHandle(candidate)
00038 {
00039     TracerSA trace(
00040         "CandFitTrackSAHandle::CandFitTrackSAHandle(CandFitTrackSA*)"
00041     );
00042 }

CandFitTrackSAHandle::~CandFitTrackSAHandle (  )  [virtual]

Definition at line 44 of file CandFitTrackSAHandle.cxx.

00045 {
00046 }


Member Function Documentation

void CandFitTrackSAHandle::AddNtpFitSA ( const NtpFitSA fit  ) 

Definition at line 61 of file CandFitTrackSAHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitTrackSA::RunAlg().

00062 {
00063    TClonesArray& fits = dynamic_cast<CandFitTrackSA *>(GetCandBase())->fFits;
00064    Int_t i = fits.GetEntriesFast();
00065    NtpFitSA* ntpfitsa;
00066    ntpfitsa = new((fits)[i]) NtpFitSA(fit);
00067 }

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

Reimplemented from CandFitTrackHandle.

Definition at line 48 of file CandFitTrackSAHandle.cxx.

References CandFitTrackSAHandle().

00049 {
00050     return new CandFitTrackSAHandle(*this);
00051 }

const TClonesArray & CandFitTrackSAHandle::GetFits (  )  const

Definition at line 56 of file CandFitTrackSAHandle.cxx.

References CandHandle::GetCandBase().

00057 {
00058    return dynamic_cast<const CandFitTrackSA *>(GetCandBase())->fFits;
00059 }


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1