HepMC3 event record library
TauolaValidationTool.cc
1 // -*- C++ -*-
2 //
3 // This file is part of HepMC
4 // Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
5 //
6 #include "TauolaValidationTool.h"
7 
9  Tauolapp::Tauola::setSameParticleDecayMode(4);
10  Tauolapp::Tauola::setOppositeParticleDecayMode(4);
11  Tauolapp::Tauola::initialize();
12 }
13 
15 
16  HEPMC2CODE( Tauolapp::TauolaHepMCEvent t_event(&hepmc); )
17  HEPMC3CODE( Tauolapp::TauolaHepMC3Event t_event(&hepmc); )
18 
19  //t_event.undecayTaus();
20  t_event.decayTaus();
21 
22  return 0;
23 }
24 
26  Tauolapp::Tauola::summary();
27  Tauolapp::Log::Summary();
28 }
int process(GenEvent &hepmc)
Process event.
void initialize()
Initialize.
Stores event-related information.
Definition: GenEvent.h:41