HepMC3 event record library
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
interfaces
Tauolapp
include
Tauola
TauolaHepMC3Event.h
1
// -*- C++ -*-
2
//
3
// This file is part of HepMC
4
// Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
5
//
6
#ifndef _TauolaHepMC3Event_h_included_
7
#define _TauolaHepMC3Event_h_included_
8
9
/**
10
* @class TauolaHepMC3Event
11
*
12
* @brief Interface to GenEvent objects
13
*
14
* This class implements the virtual methods of
15
* TauolaEvent. In this way it provides an
16
* interface between the generic TauolaEvent class
17
* and a GenEvent object.
18
*
19
* This code is licensed under GNU General Public Licence.
20
* For more informations, see: http://www.gnu.org/licenses/
21
*/
22
23
#include <iostream>
24
#include "
HepMC3/GenEvent.h
"
25
#include "
HepMC3/GenVertex.h
"
26
#include "
HepMC3/GenParticle.h
"
27
#include "Tauola/TauolaEvent.h"
28
#include "Tauola/TauolaParticle.h"
29
#include "Tauola/TauolaHepMC3Particle.h"
30
namespace
Tauolapp
31
{
32
using namespace
HepMC3;
33
class
TauolaHepMC3Event
:
public
TauolaEvent {
34
35
public
:
36
37
/** Constructor which keeps a pointer to the GenEvent*/
38
TauolaHepMC3Event
(
GenEvent
* event);
39
40
~
TauolaHepMC3Event
();
41
42
/** Returns the GenEvent */
43
GenEvent
* getEvent();
44
45
/** Implementation of TauolaEvent virtual method.
46
This returns a list of particles in the event with
47
pdg id = "pdgID". */
48
std::vector<TauolaParticle*> findParticles(
int
pdgID);
49
50
/** Implementation of TauolaEven virtual method.
51
This returns a list of particles in the event with
52
pdg id = "pdgID" and stable status code. */
53
std::vector<TauolaParticle*> findStableParticles(
int
pdgID);
54
55
/** Overriding of TauolaEvent decayEndgame method.
56
Converts the momentum and length units */
57
void
eventEndgame();
58
59
private
:
60
61
/** The event */
62
GenEvent
*
m_event
;
63
/** List of particles to be decayed */
64
std::vector<TauolaParticle*>
m_tau_list
;
65
/** Momentum unit name */
66
string
m_momentum_unit
;
67
/** Length unit name */
68
string
m_length_unit
;
69
70
};
71
72
}
// namespace Tauolapp
73
#endif
GenParticle.h
Definition of class GenParticle.
GenVertex.h
Definition of class GenVertex.
Tauolapp::TauolaHepMC3Event::m_event
GenEvent * m_event
Definition:
TauolaHepMC3Event.h:62
Tauolapp::TauolaHepMC3Event::m_tau_list
std::vector< TauolaParticle * > m_tau_list
Definition:
TauolaHepMC3Event.h:64
HepMC3::GenEvent
Stores event-related information.
Definition:
GenEvent.h:41
Tauolapp::TauolaHepMC3Event::m_momentum_unit
string m_momentum_unit
Definition:
TauolaHepMC3Event.h:66
Tauolapp::TauolaHepMC3Event::m_length_unit
string m_length_unit
Definition:
TauolaHepMC3Event.h:68
GenEvent.h
Definition of class GenEvent.
Tauolapp::TauolaHepMC3Event
Definition:
TauolaHepMC3Event.h:33
Generated on Mon Jan 4 2021 09:07:32 for HepMC3 event record library by
1.8.5