KtCluster.cxx

Go to the documentation of this file.
00001 #include "AtlfastEvent/KtCluster.h"
00002 #include "AtlfastEvent/IAOOvisitor.h"
00003 
00004 
00005 namespace Atlfast {
00007   KtCluster::KtCluster(): 
00008     Cluster(),
00009     m_yCut(0.){
00010   }
00011 
00012   KtCluster& KtCluster::operator=(const KtCluster& otherCluster){
00013     
00014     if (this!=&otherCluster){
00015       Cluster::operator=(otherCluster);
00016       this->m_yCut=otherCluster.m_yCut;
00017     }
00018     return *this;
00019   }
00020 
00021   KtCluster::KtCluster(const KtCluster& otherCluster) : 
00022     Atlfast::IAOO(otherCluster),
00023     INavigable(otherCluster),
00024     I4Momentum(otherCluster),
00025     INavigable4Momentum(otherCluster),
00026     Atlfast::IKinematic(otherCluster),
00027     Atlfast::IAODNavigation(otherCluster),
00028     Atlfast::ICluster(otherCluster),
00029     Atlfast::IKtCluster(otherCluster),
00030     Cluster(otherCluster){
00031     this->m_yCut=otherCluster.m_yCut;
00032   }
00033   void KtCluster::accept(IAOOvisitor* iaPtr) const{
00034     iaPtr->process(this);
00035   }
00036 
00037   IKtCluster* KtCluster::cloneIKTC() const{
00038     IKtCluster* iktc = new KtCluster(*this);
00039     return iktc;
00040   }
00041   IKinematic* KtCluster::clone() const{
00042     IKinematic* ik = new KtCluster(*this);
00043     return ik;
00044   }
00046   void KtCluster::print(const std::string& coor, std::string t) const{
00047     Cluster::print(coor, t);
00048     std::cout<<t<<"y cut: "<<this->yCut()
00049              <<"               KtCluster"<<std::endl;
00050   }
00051 }

Generated on Fri Sep 21 13:00:10 2007 for AtlfastEvent by  doxygen 1.5.1