File indexing completed on 2024-04-06 12:14:13
0001 #ifndef _READ_PARTICLES_FROM_HEPMC_H_
0002 #define _READ_PARTICLES_FROM_HEPMC_H_
0003
0004
0005 #include "HepMC/GenEvent.h"
0006 #include "HepMC/GenParticle.h"
0007 #include "HepMC/IO_GenEvent.h"
0008
0009 #include "TauSpinner/SimpleParticle.h"
0010 #include <vector>
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 int readParticlesFromHepMC(const HepMC::GenEvent *event,
0032 TauSpinner::SimpleParticle &X,
0033 TauSpinner::SimpleParticle &tau,
0034 TauSpinner::SimpleParticle &tau2,
0035 std::vector<TauSpinner::SimpleParticle> &tau_daughters,
0036 std::vector<TauSpinner::SimpleParticle> &tau2_daughters);
0037
0038
0039 std::vector<TauSpinner::SimpleParticle> *getDaughters(HepMC::GenParticle *x);
0040
0041
0042 HepMC::GenParticle *findLastSelf(HepMC::GenParticle *x);
0043 bool isFirst(HepMC::GenParticle *x);
0044 #endif