00001 #ifndef ___Atlfast_clusterisassoc__ 00002 #define ___Atlfast_clusterisassocs__ 00003 00004 #include "AtlfastCode/Cluster.h" 00005 #include "AtlfastCode/AssociationManager.h" 00006 #include "AtlfastCode/ReconstructedParticle.h" 00007 #include "AtlfastCode/ReconstructedParticle.h" 00008 #include "AtlfastCode/MsgStreamDefs.h" 00009 00010 00011 //-------------------------------------------------------- 00012 00013 namespace Atlfast { 00014 00015 00016 class ClusterIsAssoc { 00017 00018 public: 00019 00020 ClusterIsAssoc(){} 00021 00022 bool operator() ( const Atlfast::Cluster* c ) const { 00023 const SmartRefVector<ReconstructedParticle> srv = 00024 c->associations( ReconstructedParticle()); 00025 return (srv.size()>0); 00026 } 00027 }; 00028 } // End namespace 00029 00030 00031 00032 00033 #endif 00034 00035 00036 00037 00038