00001
00002
00003
00004
00005
00006
00007 #ifndef ATLFAST_CHARGESERVICE_H
00008 #define ATLFAST_CHARGESERVICE_H
00009 #include "HepMC/GenParticle.h"
00010 #include "HepMC/ParticleDataTable.h"
00011 #include "HepMC/ParticleData.h"
00012 #include "HepMC/IO_PDG_ParticleDataTable.h"
00013 #include "AtlfastCode/ReconstructedParticle.h"
00014 #include <iostream>
00015 #include <cmath>
00016
00017 namespace Atlfast{
00022 class ChargeService {
00023 public:
00025 ChargeService();
00027 ChargeService(const ChargeService & other);
00029 double operator()(const HepMC::GenParticle* p)const;
00031 double operator()(const ReconstructedParticle* p)const;
00032 private:
00033 HepMC::ParticleDataTable m_particleDataTable;
00034 };
00035 }
00036 #endif
00037
00038
00039
00040
00041