Fork me on GitHub

Changeset 402 in svn for trunk/interface


Ignore:
Timestamp:
May 20, 2009, 10:36:42 AM (16 years ago)
Author:
Xavier Rouby
Message:

move tau to ctau [m]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/PdgParticle.h

    r386 r402  
    77class PdgParticle {
    88  public:
    9         PdgParticle(): _pid(-999), _mass(0), _charge(0), _gamma_tot(0), _tau(0), _name("Unknown") {};
    10         PdgParticle(const int pid, const std::string& name, const float m, const float q, const float gamma, const float tau);
     9        PdgParticle(): _pid(-999), _mass(0), _charge(0), _gamma_tot(0), _ctau(0), _name("Unknown") {};
     10        PdgParticle(const int pid, const std::string& name, const float m, const float q, const float gamma, const float ctau);
    1111        PdgParticle(const PdgParticle& p);
    1212        PdgParticle& operator=(const PdgParticle& p);
     
    1616        float charge() const {return _charge;};
    1717        float gamma_tot() const {return _gamma_tot;};
    18         float tau() const {return _tau;};
     18        double ctau() const {return _ctau;};
    1919        std::string name() const {return _name;};
    2020
     
    2323        float _mass;       // GeV
    2424        float _charge;     // in e+
    25         float _gamma_tot; 
    26         float _tau;
     25        float _gamma_tot;  // GeV
     26        double _ctau;       // in m
    2727        std::string _name;
    2828};
Note: See TracChangeset for help on using the changeset viewer.