CandAtNuReco Class Reference

#include <CandAtNuReco.h>

Inheritance diagram for CandAtNuReco:
CandReco CandBase CandRefCounted

List of all members.

Public Member Functions

 CandAtNuReco ()

Static Public Member Functions

static CandAtNuRecoHandle MakeCandidate (AlgHandle &ah, CandContext &cx)

Protected Member Functions

 CandAtNuReco (AlgHandle &ah)
 CandAtNuReco (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 CandAtNuReco (const CandAtNuReco &rhs)
virtual ~CandAtNuReco ()
virtual CandAtNuRecoDup () const
virtual void CreateLocalHandle ()

Private Attributes

TObjArray fTrackList
TObjArray fShowerList
Double_t fAtNuRecoScore
Double_t fCPUTime
Int_t fNBlocks

Friends

class CandAtNuRecoHandle

Detailed Description

Definition at line 13 of file CandAtNuReco.h.


Constructor & Destructor Documentation

CandAtNuReco::CandAtNuReco (  ) 

Definition at line 17 of file CandAtNuReco.cxx.

References Msg::kDebug, and MSG.

Referenced by Dup(), and MakeCandidate().

00017                            :
00018   fAtNuRecoScore(0.0),
00019   fCPUTime(0.0),
00020   fNBlocks(0)
00021 {
00022   MSG("CandAtNuReco", Msg::kDebug) << " " << endl;
00023 }

CandAtNuReco::CandAtNuReco ( AlgHandle ah  )  [protected]

Definition at line 25 of file CandAtNuReco.cxx.

00025                                         : 
00026   CandReco(ah), 
00027   fAtNuRecoScore(0.0),
00028   fCPUTime(0.0),
00029   fNBlocks(0)
00030 {
00031 
00032 }

CandAtNuReco::CandAtNuReco ( AlgHandle ah,
CandHandle ch,
CandContext cx 
) [protected]

Definition at line 34 of file CandAtNuReco.cxx.

References CandAtNuRecoHandle, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00034                                                                          :
00035   CandReco(ah), 
00036   fAtNuRecoScore(0.0),
00037   fCPUTime(0.0),
00038   fNBlocks(0)
00039 {
00040   this->SetLocalHandle(new CandAtNuRecoHandle(this));
00041   { CandAtNuRecoHandle cth(this); ch = cth; }
00042   ah.RunAlg(ch, cx);
00043 }

CandAtNuReco::CandAtNuReco ( const CandAtNuReco rhs  )  [protected]

Definition at line 45 of file CandAtNuReco.cxx.

00045                                                   :
00046   CandReco(rhs),
00047   fAtNuRecoScore(rhs.fAtNuRecoScore),
00048   fCPUTime(rhs.fCPUTime),
00049   fNBlocks(rhs.fNBlocks)
00050 {
00051   
00052 }

CandAtNuReco::~CandAtNuReco (  )  [protected, virtual]

Definition at line 54 of file CandAtNuReco.cxx.

00055 {
00056 
00057 }


Member Function Documentation

void CandAtNuReco::CreateLocalHandle (  )  [protected, virtual]

Implements CandReco.

Definition at line 69 of file CandAtNuReco.cxx.

References CandAtNuRecoHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00070 {
00071   this->SetLocalHandle(new CandAtNuRecoHandle(this));
00072 }

CandAtNuReco * CandAtNuReco::Dup (  )  const [protected, virtual]

Implements CandReco.

Definition at line 59 of file CandAtNuReco.cxx.

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

00060 {
00061   CandAtNuReco *cb = new CandAtNuReco(*this);       
00062   cb->CreateLocalHandle();   
00063   TIter iterdau = GetDaughterIterator();
00064   CandHandle *dau;
00065   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00066   return cb;
00067 }

CandAtNuRecoHandle CandAtNuReco::MakeCandidate ( AlgHandle ah,
CandContext cx 
) [static]

Definition at line 74 of file CandAtNuReco.cxx.

References CandAtNuReco().

Referenced by AtNuFindModule::Reco().

00075 {
00076   CandAtNuRecoHandle csh;
00077   new CandAtNuReco(ah, csh, cx);        
00078   return csh;
00079 }


Friends And Related Function Documentation

friend class CandAtNuRecoHandle [friend]

Definition at line 16 of file CandAtNuReco.h.

Referenced by CandAtNuReco(), and CreateLocalHandle().


Member Data Documentation

Double_t CandAtNuReco::fAtNuRecoScore [private]

Definition at line 36 of file CandAtNuReco.h.

Double_t CandAtNuReco::fCPUTime [private]

Definition at line 37 of file CandAtNuReco.h.

Int_t CandAtNuReco::fNBlocks [private]

Definition at line 38 of file CandAtNuReco.h.

TObjArray CandAtNuReco::fShowerList [private]

Definition at line 34 of file CandAtNuReco.h.

TObjArray CandAtNuReco::fTrackList [private]

Definition at line 33 of file CandAtNuReco.h.


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1