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