EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
Vertex.h
1/*
2 * Vertex.h
3 *
4 * Created on: Feb 10, 2021
5 * Author: Pawel Sznajder (NCBJ)
6 */
7
8#ifndef BEANS_VERTEX_H_
9#define BEANS_VERTEX_H_
10
11#include <memory>
12#include <partons/BaseObject.h>
13#include <string>
14#include <vector>
15
16namespace EPIC {
17class Particle;
18} /* namespace EPIC */
19
20namespace EPIC {
21
30class Vertex : public PARTONS::BaseObject {
31
32public:
37
41 Vertex(const Vertex &other);
42
46 virtual ~Vertex();
47
48 virtual std::string toString() const;
49
53 void addParticleIn(const std::shared_ptr<Particle> &particle);
54
58 void addParticleOut(const std::shared_ptr<Particle> &particle);
59
60 //********************************************************
61 //*** SETTERS AND GETTERS ********************************
62 //********************************************************
63
67 const std::vector<std::shared_ptr<Particle>> &getParticlesIn() const;
68
72 void
73 setParticlesIn(const std::vector<std::shared_ptr<Particle>> &particlesIn);
74
78 const std::vector<std::shared_ptr<Particle>> &getParticlesOut() const;
79
83 void
84 setParticlesOut(const std::vector<std::shared_ptr<Particle>> &particlesOut);
85
86private:
87 std::vector<std::shared_ptr<Particle>>
88 m_particlesIn;
89 std::vector<std::shared_ptr<Particle>>
90 m_particlesOut;
91};
92
93} /* namespace EPIC */
94
95#endif /* BEANS_VERTEX_H_ */
Vertex representation.
Definition: Vertex.h:30
void setParticlesIn(const std::vector< std::shared_ptr< Particle > > &particlesIn)
void addParticleOut(const std::shared_ptr< Particle > &particle)
Vertex(const Vertex &other)
const std::vector< std::shared_ptr< Particle > > & getParticlesOut() const
void addParticleIn(const std::shared_ptr< Particle > &particle)
const std::vector< std::shared_ptr< Particle > > & getParticlesIn() const
virtual ~Vertex()
void setParticlesOut(const std::vector< std::shared_ptr< Particle > > &particlesOut)