Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CandFitTrack3 Class Reference

#include <CandFitTrack3.h>

Inheritance diagram for CandFitTrack3:

CandFitTrack CandTrack CandReco CandBase CandRefCounted List of all members.

Public Member Functions

 CandFitTrack3 ()

Static Public Member Functions

CandFitTrack3Handle MakeCandidate (AlgHandle &ah, CandContext &cx)

Protected Member Functions

 CandFitTrack3 (AlgHandle &ah)
 CandFitTrack3 (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 CandFitTrack3 (const CandFitTrack3 &rhs)
virtual ~CandFitTrack3 ()
virtual void CreateLocalHandle ()
virtual CandFitTrack3Dup () const
void Init ()

Protected Attributes

Int_t fNTrackStrip
Int_t fNTrackDigit
Int_t fNIterate
Int_t fNDOF
map< Int_t, Float_t > fdUdZ
map< Int_t, Float_t > fdVdZ
Double_t fdUdZ0
Double_t fdVdZ0
Double_t fU0
Double_t fV0
Double_t fP0
Double_t fdUdZ0Err
Double_t fdVdZ0Err
Double_t fU0Err
Double_t fV0Err
Double_t fP0Err
Double_t fdUdZ0Initial
Double_t fdVdZ0Initial
Double_t fU0Initial
Double_t fV0Initial
Double_t fP0Initial
Double_t fInitialQP

Friends

class CandFitTrack3Handle

Constructor & Destructor Documentation

CandFitTrack3::CandFitTrack3  ) 
 

Definition at line 31 of file CandFitTrack3.cxx.

References CandHandle::GetArchUidInt(), CandHandle::GetUidInt(), and MSG.

Referenced by Dup(), and MakeCandidate().

00032 {
00033   MSG("Cand", Msg::kDebug)
00034                         << "Begin CandFitTrackSR::CandFitTrackSR() ctor: " << endl
00035                                            << "UidInt = " << GetUidInt()
00036                            << ", ArchUidInt " << GetArchUidInt() << endl
00037                              << "No. of links = " << GetNLinks() << endl
00038                           << "End CandFitTrack3::CandFitTrack3() ctor." << endl;
00039   Init();
00040 }

CandFitTrack3::CandFitTrack3 AlgHandle ah  )  [protected]
 

Definition at line 43 of file CandFitTrack3.cxx.

00043                                           :
00044   CandFitTrack(ah)    // Should be the next class up on inheritance chain
00045 {
00046 
00047 // The sole purpose of this constructor is to transmit the AlgHandle
00048 // up the inheritance chain to CandBase without having to invoke the
00049 // full constructor of an intermediate Candidate type which the highest
00050 // level Candidate might inherit from.  One only wants to create the
00051 // LocalHandle and invoke the RunAlg() method in the lowest level class.
00052 
00053  
00054 
00055 }

CandFitTrack3::CandFitTrack3 AlgHandle ah,
CandHandle ch,
CandContext cx
[protected]
 

Definition at line 58 of file CandFitTrack3.cxx.

References CreateLocalHandle(), CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), MSG, and AlgHandle::RunAlg().

00058                                                                            :
00059   CandFitTrack(ah)    // Should be the next class up on inheritance chain
00060 {
00061   CreateLocalHandle();
00062   MSG("Cand", Msg::kDebug)
00063              << "Begin CandFitTrack3::CandFitTrack3(AlgHandle &, CandHandle &, "
00064                                       << "CandContext &) ctor: " << endl
00065                                            << "UidInt = " << GetUidInt()
00066                            << ", ArchUidInt " << GetArchUidInt() << endl
00067                              << "No. of links = " << GetNLinks() << endl
00068                << "End CandFitTrack3::CandFitTrack3(AlgHandle &, CandHandle &, "
00069                                       << "CandContext &) ctor." << endl;
00070 
00071 
00072 // Run Algorithm to construct Candidate
00073   {                                         // Start of scope.
00074     CandFitTrack3Handle csh(this);              // csh will go out of scope
00075     ch = csh;                               // after setting ch.
00076   }
00077   ah.RunAlg(ch, cx);
00078 }

CandFitTrack3::CandFitTrack3 const CandFitTrack3 rhs  )  [protected]
 

Definition at line 81 of file CandFitTrack3.cxx.

References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG.

00081                                                      :
00082   CandFitTrack(rhs)  // Should be the next class up on inheritance chain
00083 {
00084 //CreateLocalHandle(); // Moved to Dup function following copy-ctor call
00085   MSG("Cand", Msg::kDebug)
00086     << "Begin CandFitTrack3::CandFitTrack3(const CandFitTrack3 &rhs) ctor: " << endl
00087                                            << "UidInt = " << GetUidInt()
00088                            << ", ArchUidInt " << GetArchUidInt() << endl
00089                              << "No. of links = " << GetNLinks() << endl
00090       << "End CandFitTrack3::CandFitTrack3(const CandFitTrack3 &rhs) ctor." << endl;
00091 
00092 }

CandFitTrack3::~CandFitTrack3  )  [protected, virtual]
 

Definition at line 95 of file CandFitTrack3.cxx.

References CandBase::GetArchUidInt(), CandRefCounted::GetNLinks(), CandBase::GetUidInt(), and MSG.

00096 {
00097   MSG("Cand", Msg::kDebug)
00098                        << "Begin CandFitTrack3::~CandFitTrack3() dtor: " << endl
00099                                            << "UidInt = " << GetUidInt()
00100                            << ", ArchUidInt " << GetArchUidInt() << endl
00101                              << "No. of links = " << GetNLinks() << endl
00102                          << "End CandFitTrack3::~CandFitTrack3() dtor." << endl;
00103 
00104 }


Member Function Documentation

void CandFitTrack3::CreateLocalHandle  )  [protected, virtual]
 

Reimplemented from CandFitTrack.

Definition at line 107 of file CandFitTrack3.cxx.

References CandFitTrack3Handle, and CandBase::SetLocalHandle().

Referenced by CandFitTrack3(), and Dup().

00108 {
00109   SetLocalHandle(new CandFitTrack3Handle(this));
00110 }

CandFitTrack3 * CandFitTrack3::Dup  )  const [protected, virtual]
 

Reimplemented from CandFitTrack.

Definition at line 113 of file CandFitTrack3.cxx.

References CandBase::AddDaughterLink(), CandFitTrack3(), CreateLocalHandle(), and CandBase::GetDaughterIterator().

00114 {
00115 
00116 // Base copy ctor dups owned pointers, but defers copying Daughter List.
00117 // Daughter List copy is made in the derived class Dup() function.
00118 // This is because base class copy constructor hasn't yet created
00119 // fLocalHandle with a CandHandle* of the full derived type.
00120   CandFitTrack3 *cb = new CandFitTrack3(*this);       // Copy-ctor dups ptrs
00121   cb->CreateLocalHandle();   // Initializes fLocalHandle after copy-ctor
00122   TIter iterdau = GetDaughterIterator();
00123   CandHandle *dau;
00124   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00125   return cb;
00126 }

void CandFitTrack3::Init  )  [protected]
 

CandFitTrack3Handle CandFitTrack3::MakeCandidate AlgHandle ah,
CandContext cx
[static]
 

Reimplemented from CandFitTrack.

Definition at line 129 of file CandFitTrack3.cxx.

References CandFitTrack3().

Referenced by AlgFitTrack3List::RunAlg().

00130 {
00131   CandFitTrack3Handle csh;
00132   new CandFitTrack3(ah, csh, cx);          // csh owns the new CandFitTrack3
00133   return csh;
00134 }


Friends And Related Function Documentation

friend class CandFitTrack3Handle [friend]
 

Definition at line 31 of file CandFitTrack3.h.

Referenced by CreateLocalHandle().


Member Data Documentation

map<Int_t,Float_t> CandFitTrack3::fdUdZ [mutable, protected]
 

Definition at line 56 of file CandFitTrack3.h.

Referenced by CandFitTrack3Handle::GetdUdZ(), and CandFitTrack3Handle::SetdUdZ().

Double_t CandFitTrack3::fdUdZ0 [protected]
 

Definition at line 59 of file CandFitTrack3.h.

Double_t CandFitTrack3::fdUdZ0Err [protected]
 

Definition at line 64 of file CandFitTrack3.h.

Double_t CandFitTrack3::fdUdZ0Initial [protected]
 

Definition at line 70 of file CandFitTrack3.h.

map<Int_t,Float_t> CandFitTrack3::fdVdZ [mutable, protected]
 

Definition at line 57 of file CandFitTrack3.h.

Referenced by CandFitTrack3Handle::GetdVdZ(), and CandFitTrack3Handle::SetdVdZ().

Double_t CandFitTrack3::fdVdZ0 [protected]
 

Definition at line 60 of file CandFitTrack3.h.

Double_t CandFitTrack3::fdVdZ0Err [protected]
 

Definition at line 65 of file CandFitTrack3.h.

Double_t CandFitTrack3::fdVdZ0Initial [protected]
 

Definition at line 71 of file CandFitTrack3.h.

Double_t CandFitTrack3::fInitialQP [protected]
 

Definition at line 76 of file CandFitTrack3.h.

Int_t CandFitTrack3::fNDOF [protected]
 

Reimplemented from CandFitTrack.

Definition at line 54 of file CandFitTrack3.h.

Int_t CandFitTrack3::fNIterate [protected]
 

Reimplemented from CandFitTrack.

Definition at line 52 of file CandFitTrack3.h.

Int_t CandFitTrack3::fNTrackDigit [protected]
 

Reimplemented from CandTrack.

Definition at line 49 of file CandFitTrack3.h.

Int_t CandFitTrack3::fNTrackStrip [protected]
 

Reimplemented from CandTrack.

Definition at line 48 of file CandFitTrack3.h.

Double_t CandFitTrack3::fP0 [protected]
 

Definition at line 63 of file CandFitTrack3.h.

Double_t CandFitTrack3::fP0Err [protected]
 

Definition at line 68 of file CandFitTrack3.h.

Double_t CandFitTrack3::fP0Initial [protected]
 

Definition at line 74 of file CandFitTrack3.h.

Double_t CandFitTrack3::fU0 [protected]
 

Definition at line 61 of file CandFitTrack3.h.

Double_t CandFitTrack3::fU0Err [protected]
 

Definition at line 66 of file CandFitTrack3.h.

Double_t CandFitTrack3::fU0Initial [protected]
 

Definition at line 72 of file CandFitTrack3.h.

Double_t CandFitTrack3::fV0 [protected]
 

Definition at line 62 of file CandFitTrack3.h.

Double_t CandFitTrack3::fV0Err [protected]
 

Definition at line 67 of file CandFitTrack3.h.

Double_t CandFitTrack3::fV0Initial [protected]
 

Definition at line 73 of file CandFitTrack3.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:08:53 2010 for loon by  doxygen 1.3.9.1