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

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

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