Changeset 1362 for trunk


Ignore:
Timestamp:
06/13/02 16:28:53 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/WuerzburgSoft/Thomas/mphys
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WuerzburgSoft/Thomas/mphys/MParticle.h

    r1360 r1362  
    1515{
    1616public:
    17     typedef enum { kEGamma, kEElectron, kEPositron } ParticleType_t;
     17    typedef enum { kEGamma, kEElectron, kEPositron, kENone } ParticleType_t;
    1818    enum { kEIsPrimary = BIT(14) };
    1919
     
    3232
    3333public:
    34     MParticle(ParticleType_t t, const char *name=NULL, const char *title=NULL);
     34    MParticle(ParticleType_t t=kENone, const char *name=NULL, const char *title=NULL);
    3535
    3636    static Double_t ZofR(Double_t *x, Double_t *k=NULL);
     
    5151    // ----------------------------------------------------------------
    5252
    53     virtual Double_t GetInteractionLength() const = 0;
     53    virtual Double_t GetInteractionLength() const { AbstractMethod("GetInteractionLength"); return 0; }
    5454
    5555    void SetEnergy(Double_t e) { fEnergy = e; }
Note: See TracChangeset for help on using the changeset viewer.