00001
00002
00003
00004
00005
00006
00007 #ifndef HEPMCHELPER_ISCHARGED_H
00008 #define HEPMCHELPER_ISCHARGED_H
00009
00010 #ifndef HEPMCHELPER_IMCSELECTOR_H
00011 #include "AtlfastUtils/HepMC_helper/IMCselector.h"
00012 #endif
00013
00014 #ifndef ATLFASTCODE_CHARGESERVICE_H
00015 #include "AtlfastUtils/ChargeService.h"
00016 #endif
00017
00018 namespace HepMC_helper{
00019 class IsCharged:public IMCselector{
00020 public:
00021 IsCharged() {}
00022 IMCselector* create() const;
00023 bool operator() ( const Particle* const p )const;
00024 bool operator() ( const Particle& p ) const;
00025 private:
00026 Atlfast::ChargeService m_chargeService;
00027 };
00028 }
00029 #endif
00030