Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ChargeService.h

Go to the documentation of this file.
00001 //=================================================
00002 //
00003 //
00004 // find particle charge
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 

Generated on Mon Feb 4 15:54:23 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001