Ignore:
Timestamp:
06/12/02 14:34:27 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1356 r1357  
    22#define MARS_MParticle
    33
    4 #ifndef MARS_MParContainer
    5 #include "MParContainer.h"
     4#ifndef ROOT_TObject
     5#include <TObject.h>
    66#endif
    77
    8 class MParticle : public MParContainer
     8/*
     9 #ifndef MARS_MParContainer
     10 #include "MParContainer.h"
     11 #endif
     12 */
     13
     14class MParticle : public TObject
    915{
    1016public:
     
    1622protected:
    1723    Double_t fEnergy; // [GeV] Energy
    18 //    Double_t fBeta;   // [1]   beta
    1924
    2025    Double_t fZ;      // [1]   Red shift
     
    2732public:
    2833    MParticle(ParticleType_t t, const char *name=NULL, const char *title=NULL);
    29      //    ~MParticle();
     34
     35    static Double_t ZofR(Double_t *x, Double_t *k=NULL);
     36    static Double_t RofZ(Double_t *x, Double_t *k=NULL);
    3037
    3138    void operator=(MParticle &p)
     
    3845    }
    3946
    40     static Double_t MParticle::ZofR(Double_t *x, Double_t *k=NULL);
    41     static Double_t MParticle::RofZ(Double_t *x, Double_t *k=NULL);
    42 
    43     //    void Fill(const MParContainer *inp);
    44 
    45     //    void Draw(Option_t *opt=NULL);
    4647    virtual Double_t GetInteractionLength() const = 0;
    4748
    4849    void SetEnergy(Double_t e) { fEnergy = e; }
    49   //  void SetBeta(Double_t b)   { fBeta = b; }
    50 
    5150    void SetZ(Double_t z)      { fZ = z; }
    52     /*
    53      void SetPhi(Double_t p)    { fPhi = p; }
    54      void SetR(Double_t r)      { fR = r; }
    55      void SetTheta(Double_t t)  { fTheta = t; }
    56      void SetPsi(Double_t p)    { fPsi = p; }
    57      */
    5851
    5952    void SetNewDirection(Double_t theta, Double_t phi);
Note: See TracChangeset for help on using the changeset viewer.