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

CandTrackAtNuList.cxx

Go to the documentation of this file.
00001 #include "MessageService/MsgService.h"  
00002 #include "JobControl/JobCModuleRegistry.h"
00003 
00004 #include "Algorithm/AlgHandle.h"
00005 #include "CandTrackAtNuList.h"
00006 #include "CandTrackAtNuListHandle.h"
00007 
00008 //
00009 // $Log $
00010 //
00011 
00012 ClassImp(CandTrackAtNuList)
00013 
00014 CVSID("$Id: CandTrackAtNuList.cxx,v 1.8 2005/02/04 21:07:54 blake Exp $");
00015 
00016 CandTrackAtNuList::CandTrackAtNuList()
00017 {
00018   MSG("CandTrackAtNuList", Msg::kDebug) << " " << endl;
00019 }
00020 
00021 CandTrackAtNuList::CandTrackAtNuList(AlgHandle &ah) :
00022   CandTrackList(ah),
00023   fCPUTime(0.0)
00024 {
00025 
00026 }
00027 
00028 CandTrackAtNuList::CandTrackAtNuList(AlgHandle &ah, CandHandle &ch, CandContext &cx) :
00029   CandTrackList(ah),
00030   fCPUTime(0.0)
00031 {
00032   SetLocalHandle(new CandTrackAtNuListHandle(this));                          
00033   {CandTrackAtNuListHandle ctlh(this); ch = ctlh;}    
00034   ah.RunAlg(ch, cx);
00035 }
00036 
00037 CandTrackAtNuList::CandTrackAtNuList(const CandTrackAtNuList &rhs) :
00038   CandTrackList(rhs),
00039   fCPUTime(0.0)
00040 {
00041 
00042 }
00043 
00044 CandTrackAtNuList::~CandTrackAtNuList()
00045 {
00046 
00047 }
00048 
00049 CandTrackAtNuList *CandTrackAtNuList::Dup() const
00050 {
00051   CandTrackAtNuList *cb = new CandTrackAtNuList(*this);         
00052   cb->CreateLocalHandle();
00053   TIter iterdau = GetDaughterIterator();
00054   CandHandle *dau;
00055   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00056   return cb;
00057 }
00058 
00059 CandTrackAtNuListHandle CandTrackAtNuList::MakeCandidate(AlgHandle &ah, CandContext &cx)
00060 {
00061   CandTrackAtNuListHandle ctlh;
00062   new CandTrackAtNuList(ah, ctlh, cx);
00063   return ctlh;
00064 }

Generated on Mon Feb 15 11:06:29 2010 for loon by  doxygen 1.3.9.1