StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
GenRanges.cc
1 //--------------------------------------------------------------------------
3 // garren@fnal.gov, March 2010
4 //
6 //--------------------------------------------------------------------------
7 
8 #include <iostream>
9 
10 #include "HepMC/GenRanges.h"
11 #include "HepMC/GenEvent.h"
12 #include "HepMC/GenVertex.h"
13 
14 namespace HepMC {
15 
17 {
18  return GenEventVertexRange(*this);
19 }
20 
22 {
23  return ConstGenEventVertexRange(*this);
24 }
25 
27 {
28  return GenEventParticleRange(*this);
29 }
30 
32 {
33  return ConstGenEventParticleRange(*this);
34 }
35 
37 {
38  return GenVertexParticleRange(*this,range);
39 }
40 
42 {
43  return GenParticleProductionRange(p,range);
44 }
45 
47 {
48  return ConstGenParticleProductionRange(p,range);
49 }
50 
52 {
53  return GenParticleEndRange(p,range);
54 }
55 
57 {
58  return ConstGenParticleEndRange(p,range);
59 }
60 
62 {
63  return GenParticleProductionRange(*this,range);
64 }
65 
66 
68 {
69  return ConstGenParticleProductionRange(*this,range);
70 }
71 
72 
74 {
75  return GenParticleEndRange(*this,range);
76 }
77 
78 
80 {
81  return ConstGenParticleEndRange(*this,range);
82 }
83 
84 
85 
86 } // HepMC
GenParticleEndRange particles_out(GenParticle &, IteratorRange range=relatives)
outgoing particle range
Definition: GenRanges.cc:51
ConstGenEventParticleRange acts like a collection of particles.
Definition: GenRanges.h:112
GenEventParticleRange particle_range()
particle range
Definition: GenRanges.cc:26
GenVertexParticleRange acts like a collection of particles.
Definition: GenRanges.h:140
GenEventParticleRange acts like a collection of particles.
Definition: GenRanges.h:83
GenParticleEndRange acts like a collection of particles.
Definition: GenRanges.h:224
GenVertexParticleRange particles(IteratorRange range=relatives)
particle range
Definition: GenRanges.cc:36
GenParticleProductionRange particles_in(IteratorRange range=relatives)
incoming particle range
Definition: GenRanges.cc:61
GenEventVertexRange vertex_range()
vertex range
Definition: GenRanges.cc:16
ConstGenEventVertexRange acts like a collection of vertices.
Definition: GenRanges.h:55
GenParticleProductionRange acts like a collection of particles.
Definition: GenRanges.h:170
GenParticleEndRange particles_out(IteratorRange range=relatives)
outgoing particle range
Definition: GenRanges.cc:73
GenEventVertexRange acts like a collection of vertices.
Definition: GenRanges.h:26
IteratorRange
type of iteration
Definition: IteratorRange.h:17
GenParticleProductionRange particles_in(GenParticle &, IteratorRange range=relatives)
incoming particle range
Definition: GenRanges.cc:41
The GenParticle class contains information about generated particles.
Definition: GenParticle.h:60