Belle II Software  release-06-01-15
HEPEVT_struct.h
1 #ifndef _HEPEVT_struct_included_
2 #define _HEPEVT_struct_included_
3 
4 #include <vector>
5 #include "PhotosBranch.h"
6 #include "PhotosParticle.h"
7 #include "photosC.h"
8 
9 namespace Photospp {
10  // const static int NMXHEP = 10000; at present NMXHEP is defined in photosC.h
11  const static double NO_BOOST_THRESHOLD = 1.0e-8;
12 
13  class HEPEVT_struct {
14  public:
16  static int set(PhotosBranch* branch);
17 
19  static void get();
20 
22  static void prepare();
23 
25  static void check_ME_channel();
26 
28  static void complete();
29 
31  static void clear();
32  public:
34  static int decay_idx;
36  static int ME_channel;
37  private:
39  static void add_particle(int i, PhotosParticle* particle,
40  int first_mother, int last_mother,
41  int first_daughter, int last_daughter);
42 
44  static std::vector<PhotosParticle*> m_particle_list;
45  };
46 
47 } // namespace Photospp
48 #endif
static void complete()
Finalize processing.
static void prepare()
Prepare particles for processing.
static void check_ME_channel()
Check channel for complete matrix element calculation.
static void get()
Update event record with data from HEPEVT.
static void add_particle(int i, PhotosParticle *particle, int first_mother, int last_mother, int first_daughter, int last_daughter)
Add single particle to HEPEVT.
static std::vector< PhotosParticle * > m_particle_list
List of particles added to HEPEVT.
Definition: HEPEVT_struct.h:44
static int ME_channel
Number of channel to be used - flag for fortran routines.
Definition: HEPEVT_struct.h:36
static int decay_idx
Index of decaying particle.
Definition: HEPEVT_struct.h:34
static int set(PhotosBranch *branch)
Convert PhotosBranch to HEPEVT.
static void clear()
Clear HEPEVT.