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

FarDetStripList.cxx

Go to the documentation of this file.
00001 
00002 #include "FarDetStripList.h"
00003 #include "FarDetStripListHandle.h"
00004 
00005 #include "Algorithm/AlgHandle.h"
00006 
00007 ClassImp(FarDetStripList)
00008 
00009 FarDetStripListHandle FarDetStripList::MakeCandidate(AlgHandle &ah,CandContext &cx)
00010 {
00011   FarDetStripListHandle cth;
00012   new FarDetStripList(ah, cth, cx);        
00013   return cth;
00014 }
00015   
00016 FarDetStripList::FarDetStripList() 
00017 {
00018 
00019 }
00020 
00021 FarDetStripList::FarDetStripList(AlgHandle &ah) :
00022   CandStripList(ah)
00023 {
00024 
00025 }
00026  
00027 FarDetStripList::FarDetStripList(AlgHandle &ah, CandHandle &ch, CandContext &cx) :
00028   CandStripList(ah)
00029 {
00030   SetLocalHandle(new FarDetStripListHandle(this));
00031   { FarDetStripListHandle cth(this); ch = cth; }
00032   ah.RunAlg(ch, cx);
00033 }
00034   
00035 FarDetStripList::FarDetStripList(const FarDetStripList &rhs) :
00036   CandStripList(rhs)
00037 {
00038 
00039 }
00040   
00041 FarDetStripList::~FarDetStripList()
00042 {
00043 
00044 }
00045   
00046 FarDetStripList* FarDetStripList::Dup() const
00047 {
00048   FarDetStripList *cb = new FarDetStripList(*this);
00049   cb->CreateLocalHandle();
00050   TIter iterdau = GetDaughterIterator();
00051   CandHandle *dau;
00052   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00053   return cb;
00054 }
00055   
00056 void FarDetStripList::CreateLocalHandle()
00057 {
00058   this->SetLocalHandle(new FarDetStripListHandle(this));
00059 }

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