00001 #ifndef ATLFAST_CLUSTERISASSOCIATED_H 00002 #define ATLFAST_CLUSTERISASSOCIATED_H 00003 00004 #ifndef ATLFAST_RECONSTRUCTEDPARTICLE_H 00005 #include "AtlfastEvent/ReconstructedParticle.h" 00006 #endif 00007 00008 #ifndef ATLFAST_ASSOCTYPERECOVERER_H 00009 #include "AtlfastEvent/TypeVisitor.h" 00010 #endif 00011 00012 //-------------------------------------------------------- 00013 00014 namespace Atlfast { 00015 00016 class IAOO; 00017 00019 class ClusterIsAssoc { 00020 00021 public: 00022 00024 ClusterIsAssoc(){} 00025 00028 bool operator() ( IAOO* c ) const { 00029 TypeVisitor tv(c); 00030 return ( !((tv.typeVector(ReconstructedParticle())).empty()) ); 00031 } 00032 }; 00033 } // End namespace 00034 00035 00036 00037 00038 #endif 00039 00040 00041 00042 00043