Belle II Software
release-06-01-15
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
PhotosHEPEVTEvent.h
1
#ifndef _PhotosHEPEVTEvent_h_included_
2
#define _PhotosHEPEVTEvent_h_included_
3
18
#include <iostream>
19
#include "PhotosEvent.h"
20
#include "PhotosParticle.h"
21
#include "PhotosHEPEVTParticle.h"
22
23
namespace
Photospp {
24
25
class
PhotosHEPEVTParticle
;
26
27
class
PhotosHEPEVTEvent
:
public
PhotosEvent
{
28
29
public
:
30
32
~PhotosHEPEVTEvent
();
33
35
PhotosHEPEVTEvent
();
36
38
void
addParticle
(
PhotosHEPEVTParticle
* p);
39
41
PhotosHEPEVTParticle
*
getParticle
(
int
i);
42
44
void
setParticle
(
int
i,
PhotosHEPEVTParticle
* p);
45
47
int
getParticleCount
();
48
50
std::vector<PhotosParticle*>
getParticleList
();
51
53
void
print
();
54
56
void
clear
();
57
59
static
void
read_event_from_HEPEVT
(
PhotosHEPEVTEvent
* evt);
60
62
static
void
write_event_to_HEPEVT
(
PhotosHEPEVTEvent
* evt);
63
64
private
:
65
67
std::vector<PhotosHEPEVTParticle*>
particle_list
;
68
};
69
70
}
// namespace Photospp
71
#endif
72
PhotosHEPEVTParticle
Single particle of HEPEVT event record.
Photospp::PhotosEvent
Definition:
PhotosEvent.h:25
Photospp::PhotosHEPEVTEvent
Definition:
PhotosHEPEVTEvent.h:27
Photospp::PhotosHEPEVTEvent::read_event_from_HEPEVT
static void read_event_from_HEPEVT(PhotosHEPEVTEvent *evt)
Fill PhotosHEPEVTEvent from HEPEVT common block.
Definition:
PhotosHEPEVTEvent.cc:92
Photospp::PhotosHEPEVTEvent::addParticle
void addParticle(PhotosHEPEVTParticle *p)
Add particle at the end of event record.
Definition:
PhotosHEPEVTEvent.cc:46
Photospp::PhotosHEPEVTEvent::print
void print()
Print out list of particles in the event.
Definition:
PhotosHEPEVTEvent.cc:80
Photospp::PhotosHEPEVTEvent::getParticleCount
int getParticleCount()
Get higher-most index of the particles in event (nhep)
Definition:
PhotosHEPEVTEvent.cc:66
Photospp::PhotosHEPEVTEvent::getParticle
PhotosHEPEVTParticle * getParticle(int i)
Get particle at index 'i'.
Definition:
PhotosHEPEVTEvent.cc:54
Photospp::PhotosHEPEVTEvent::getParticleList
std::vector< PhotosParticle * > getParticleList()
Get an unfiltered list of particles from the event record.
Definition:
PhotosHEPEVTEvent.cc:71
Photospp::PhotosHEPEVTEvent::PhotosHEPEVTEvent
PhotosHEPEVTEvent()
Default constructor.
Definition:
PhotosHEPEVTEvent.cc:38
Photospp::PhotosHEPEVTEvent::particle_list
std::vector< PhotosHEPEVTParticle * > particle_list
List of all particles.
Definition:
PhotosHEPEVTEvent.h:67
Photospp::PhotosHEPEVTEvent::clear
void clear()
Remove all particles from the event.
Definition:
PhotosHEPEVTEvent.cc:86
Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT
static void write_event_to_HEPEVT(PhotosHEPEVTEvent *evt)
Write to HEPEVT common block content of PhotosHEPEVTEvent.
Definition:
PhotosHEPEVTEvent.cc:117
Photospp::PhotosHEPEVTEvent::~PhotosHEPEVTEvent
~PhotosHEPEVTEvent()
Default destructor.
Definition:
PhotosHEPEVTEvent.cc:33
Photospp::PhotosHEPEVTEvent::setParticle
void setParticle(int i, PhotosHEPEVTParticle *p)
Set particle at index 'i'.
Definition:
PhotosHEPEVTEvent.cc:60
Photospp::PhotosHEPEVTParticle
Definition:
PhotosHEPEVTParticle.h:31
generators
kkmc
photospp
PhotosHEPEVTEvent.h
Generated on Fri Dec 8 2023 04:20:23 for Belle II Software by
1.9.1