Class ChargeService


class ChargeService

Service providing the charge of HepMC::Particle / ReconstructedParticle.


Field Summary
 private HepMC::ParticleDataTablem_particleDataTable
           

Constructor Summary
ChargeService()
          Default Constructor
ChargeService(const ChargeService & other)
          Copy Constructor

Method Summary
 const doubleoperator()(const HepMC::Particle * p)
          returns charge of HepMC::Particle
 const doubleoperator()(const ReconstructedParticle * p)
          returns charge of ReconstructedParticle

Field Detail

m_particleDataTable

private HepMC::ParticleDataTable m_particleDataTable
Constructor Detail

ChargeService

public ChargeService()
Default Constructor

ChargeService

public ChargeService(const ChargeService & other)
Copy Constructor
Method Detail

operator()

public const double operator()(const HepMC::Particle * p)
returns charge of HepMC::Particle

operator()

public const double operator()(const ReconstructedParticle * p)
returns charge of ReconstructedParticle