Belle II Software  release-06-00-14
Particle_array.cc
1 // -*- C++ -*-
2 //
3 // Package: <package>
4 // Module: Particle_array
5 //
6 // Description: <one line class summary>
7 // Include Class Part_cont including the properties of the particle
8 // Implimentation:
9 // <Notes on implimentation>
10 //
11 // Author: Sadaharu Uehara
12 // Created: Thu May 8 14:42:33 JST 1997
13 // $Id$
14 //
15 // Revision history
16 //
17 // $Log$
18 
19 
20 // user include files
21 #include <generators/treps/Particle_array.h>
22 
23 namespace Belle2 {
29  Part_cont::Part_cont(int icodex, double pmassx, double pchargx,
30  int ndecx, double pwidthx) :
31  pmassp(0.)
32  {
33  icode = icodex ;
34  pmass = pmassx ;
35  pcharg = pchargx ;
36  ndec = ndecx ;
37  pwidth = pwidthx ;
38  }
39 
40  Part_cont::Part_cont(int icodex, double pmassx, double pchargx) :
41  ndec(0),
42  pwidth(0.),
43  pmassp(0.)
44  {
45  icode = icodex ;
46  pmass = pmassx ;
47  pcharg = pchargx ;
48  }
49 
51 } // namespace Belle
Abstract base class for different kinds of events.