Fork me on GitHub

source: svn/trunk/Utilities/HepMC/src/GenRanges.cc@ 957

Last change on this file since 957 was 571, checked in by cp3-support, 13 years ago

upgrade HepMC to version 2.06.05

File size: 2.1 KB
Line 
1//--------------------------------------------------------------------------
2//////////////////////////////////////////////////////////////////////////
3// garren@fnal.gov, March 2010
4//
5//////////////////////////////////////////////////////////////////////////
6//--------------------------------------------------------------------------
7
8#include <iostream>
9
10#include "GenRanges.h"
11#include "GenEvent.h"
12#include "GenVertex.h"
13
14namespace HepMC {
15
16GenEventVertexRange GenEvent::vertex_range()
17{
18 return GenEventVertexRange(*this);
19}
20
21ConstGenEventVertexRange GenEvent::vertex_range() const
22{
23 return ConstGenEventVertexRange(*this);
24}
25
26GenEventParticleRange GenEvent::particle_range()
27{
28 return GenEventParticleRange(*this);
29}
30
31ConstGenEventParticleRange GenEvent::particle_range() const
32{
33 return ConstGenEventParticleRange(*this);
34}
35
36GenVertexParticleRange GenVertex::particles( IteratorRange range )
37{
38 return GenVertexParticleRange(*this,range);
39}
40
41GenParticleProductionRange GenVertex::particles_in( GenParticle& p, IteratorRange range )
42{
43 return GenParticleProductionRange(p,range);
44}
45
46ConstGenParticleProductionRange GenVertex:: particles_in( GenParticle const & p, IteratorRange range ) const
47{
48 return ConstGenParticleProductionRange(p,range);
49}
50
51GenParticleEndRange GenVertex::particles_out( GenParticle& p, IteratorRange range )
52{
53 return GenParticleEndRange(p,range);
54}
55
56ConstGenParticleEndRange GenVertex::particles_out( GenParticle const & p, IteratorRange range ) const
57{
58 return ConstGenParticleEndRange(p,range);
59}
60
61GenParticleProductionRange GenParticle::particles_in( IteratorRange range )
62{
63 return GenParticleProductionRange(*this,range);
64}
65
66
67ConstGenParticleProductionRange GenParticle::particles_in( IteratorRange range ) const
68{
69 return ConstGenParticleProductionRange(*this,range);
70}
71
72
73GenParticleEndRange GenParticle::particles_out( IteratorRange range )
74{
75 return GenParticleEndRange(*this,range);
76}
77
78
79ConstGenParticleEndRange GenParticle::particles_out( IteratorRange range ) const
80{
81 return ConstGenParticleEndRange(*this,range);
82}
83
84
85
86} // HepMC
Note: See TracBrowser for help on using the repository browser.