PandaRoot
PH_HEPEVT_Interface.h
Go to the documentation of this file.
1 #ifndef _PH_HEPEVT_Interface_included_
2 #define _PH_HEPEVT_Interface_included_
3 
4 #include <vector>
5 #include "PhotosBranch.h"
6 #include "PhotosParticle.h"
7 
8 namespace Photospp {
9 
10 const static int NMXHEP = 10000;
11 const static double NO_BOOST_THRESHOLD = 1.0e-8;
12 
13 extern "C" {
15 extern struct {
16  int nevhep;
17  int nhep;
18  int isthep[NMXHEP];
19  int idhep[NMXHEP];
20  int jmohep[NMXHEP][2];
21  int jdahep[NMXHEP][2];
22  double phep[NMXHEP][5];
23  double vhep[NMXHEP][4];
24  // COMMON/PH_HEPEVT/NEVHEP,NHEP,ISTHEP(NMXHEP),IDHEP(NMXHEP),
25  // &JMOHEP(2,NMXHEP),JDAHEP(2,NMXHEP),PHEP(5,NMXHEP),VHEP(4,NMXHEP)
26 } ph_hepevt_;
27 
28 extern struct {
29  int qedrad[NMXHEP];
30 } ph_phoqed_;
31 
33 extern "C" void phodmp_();
34 }
35 
37  public:
39  static int set(PhotosBranch *branch);
40 
42  static void get();
43 
45  static void prepare();
46 
48  static void check_ME_channel();
49 
51  static void complete();
52 
54  static void clear();
55 
56  public:
58  static int decay_idx;
60  static int ME_channel;
61 
62  private:
64  static void add_particle(int i, PhotosParticle *particle, int first_mother, int last_mother, int first_daughter, int last_daughter);
65 
67  static std::vector<PhotosParticle *> m_particle_list;
68 };
69 
70 } // namespace Photospp
71 #endif
double vhep[NMXHEP][4]
struct Photospp::@31 ph_phoqed_
void phodmp_()
int isthep[NMXHEP]
unsigned int i
Definition: P4_F32vec4.h:21
static const double NO_BOOST_THRESHOLD
struct Photospp::@30 ph_hepevt_
Definition: Log.h:30
static const int NMXHEP
int idhep[NMXHEP]
int qedrad[NMXHEP]
double phep[NMXHEP][5]
int jdahep[NMXHEP][2]
int jmohep[NMXHEP][2]