~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/Global/Particle.hh

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
class Particle {
35
35
 public:
36
 
  static Particle const * GetInstance();
 
36
  static const Particle & GetInstance();
37
37
  ~Particle();
38
38
 
39
39
  /* @brief returns the unique name of the particle referenced by id.
53
53
  std::map<MAUS::DataStructure::Global::PID, std::string> names_;
54
54
  std::map<MAUS::DataStructure::Global::PID, double> masses_;
55
55
  std::map<MAUS::DataStructure::Global::PID, int> charges_;
56
 
 
57
56
 private:
58
57
  void AddParticleDefinition(MAUS::DataStructure::Global::PID pid,
59
58
                             std::string name,