14 void filhepmc_print_details(
int * n,
int * status,
int * pdg_id,
15 int * mother_first,
int * mother_last,
16 int * daughter_first,
int * daughter_last,
17 float p4[4],
float * p_inv_mass,
bool * photos_flag){
20 std::cout<<
"*******************"<<std::endl;
21 std::cout<<
"Particle: "<<*n<<std::endl;
22 std::cout<<
"Status: "<<*status<<std::endl;
23 std::cout<<
"PDG ID: "<<*pdg_id<<std::endl;
24 std::cout<<
"Mothers: "<<*mother_first<<
"-"<<*mother_last<<std::endl;
25 std::cout<<
"Daughters: "<<*daughter_first<<
"-"<<*daughter_last<<std::endl;
26 std::cout<<
"4 momentum: "<<p4[0]<<
", "<<p4[1]<<
", "<<p4[2]<<
", "<<p4[3]<<std::endl;
27 std::cout<<
"mass: "<<*p_inv_mass<<std::endl;
28 std::cout<<
"Photos Flag: "<<*photos_flag<<std::endl;
29 std::cout<<
"*******************"<<std::endl;
34 void filhep_(
int * n,
int * status,
int * pdg_id,
35 int * mother_first,
int * mother_last,
36 int * daughter_first,
int * daughter_last,
37 float p4[4],
float * p_inv_mass,
bool * photos_flag){
44 const int TAU_POSITION = 1;
56 p4[0],p4[1],p4[2],p4[3] );
86 vector<TauolaParticle *> mothers;
87 for(
int i=*mother_first; i <= *mother_last && *mother_first!=0; i++){
93 vector<TauolaParticle *> daughters;
94 for(
int i=*daughter_first; i <= *daughter_last && *daughter_first!=0; i++){
109 void tralo4_(
float * kto,
float p[4],
float q[4],
float * ams){
111 float tmp = p[3]*p[3] - p[1]*p[1] - p[2]*p[2] - p[0]*p[0];
113 if (tmp!=0.0) tmp = tmp/sqrt(fabs(tmp));
static int getAbsoluteIndex(int index)
static TauolaParticle * getParticle(int index)
void filhep_(int *n, int *status, int *pdg_id, int *mother_first, int *mother_last, int *daughter_first, int *daughter_last, float p4[4], float *p_inv_mass, bool *photos_flag)
virtual void setMothers(std::vector< TauolaParticle * > mothers)=0
static void RedirectOutput(void(*func)(), ostream &where=*out)
static bool isUsingDecayOneBoost()
void tralo4_(float *kto, float p[4], float q[4], float *ams)
virtual void setDaughters(std::vector< TauolaParticle * > daughters)=0
void boostAlongZ(double pz, double e)
virtual TauolaParticle * createNewParticle(int pdg_id, int status, double mass, double px, double py, double pz, double e)=0
static void updateList(TauolaParticle *new_particle, int index)
static void decayOneBoost(TauolaParticle *mother, TauolaParticle *target)
static void RevertOutput()