33 #ifndef RandBreitWigner_h
34 #define RandBreitWigner_h 1
58 static HepDouble shoot( HepDouble a=1.0, HepDouble b=0.2 );
60 static HepDouble shoot( HepDouble a, HepDouble b, HepDouble c );
62 static HepDouble shootM2( HepDouble a=1.0, HepDouble b=0.2 );
64 static HepDouble shootM2( HepDouble a, HepDouble b, HepDouble c );
66 static void shootArray (
const HepInt size, HepDouble* vect,
67 HepDouble a=1.0, HepDouble b=0.2, HepDouble c=1.0 );
69 #ifndef ST_NO_TEMPLATE_DEF_ARGS
70 static void shootArray ( vector<HepDouble>& vec, HepDouble a=1.0,
71 HepDouble b=0.2, HepDouble c=1.0 );
73 static void shootArray ( vector<HepDouble, allocator<HepDouble> >& vec,
75 HepDouble b=0.2, HepDouble c=1.0 );
83 HepDouble b, HepDouble c );
87 HepDouble b, HepDouble c );
89 const HepInt size, HepDouble* vect,
90 HepDouble a=1.0, HepDouble b=0.2, HepDouble c=1.0 );
91 #ifndef ST_NO_TEMPLATE_DEF_ARGS
93 vector<HepDouble>&, HepDouble a=1.0,
94 HepDouble b=0.2, HepDouble c=1.0 );
97 vector<HepDouble, allocator<HepDouble> >&,
99 HepDouble b=0.2, HepDouble c=1.0 );
104 HepDouble fire( HepDouble a=1.0, HepDouble b=0.2 );
106 HepDouble fire( HepDouble a, HepDouble b, HepDouble c );
108 HepDouble fireM2( HepDouble a=1.0, HepDouble b=0.2 );
110 HepDouble fireM2( HepDouble a, HepDouble b, HepDouble c );
112 void fireArray (
const HepInt size, HepDouble* vect,
113 HepDouble a=1.0, HepDouble b=0.2, HepDouble c=1.0 );
114 #ifndef ST_NO_TEMPLATE_DEF_ARGS
115 void fireArray ( vector<HepDouble>&,
116 HepDouble a=1.0, HepDouble b=0.2, HepDouble c=1.0 );
118 void fireArray ( vector<HepDouble, allocator<HepDouble> >&,
119 HepDouble a=1.0, HepDouble b=0.2, HepDouble c=1.0 );
121 HepDouble operator()();
126 HepBoolean deleteEngine;
135 : localEngine(&anEngine), deleteEngine(false) {}
138 : localEngine(anEngine), deleteEngine(true) {}