00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __RANBO_H
00011 #define __RANBO_H
00012
00013 #include "CLHEP/Vector/LorentzVector.h"
00014 class HepRandom;
00015
00016 class Ranbo
00017 {
00018 public:
00019 Ranbo(double W, unsigned n, double mu[],HepRandom& ran);
00020
00021
00022 ~Ranbo();
00023 Hep3Vector& operator[](unsigned i){return (Hep3Vector&)q[i];}
00024
00025
00026 float weight(){return _weight;}
00027
00028 private:
00029 float _weight;
00030
00031 class Ran4Vec: public HepLorentzVector
00032 {
00033 public:
00034 Ran4Vec();
00035 Ran4Vec & operator *= (float f);
00036 };
00037 Ran4Vec* q;
00038
00039
00040 };
00041
00042
00043 #endif
00044