Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
GHEP
GHepVirtualList.h
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*!
3
4
\class genie::GHepVirtualList
5
6
\brief A GHepVirtualList is a 'virtual' collection of GHepParticles.
7
Is virtual because it does not own but only points to GHepParticles
8
owned by the generated GHepRecord.
9
Use it if in your event generation algorithm you need to define & use
10
a GHepRecord subset (without duplicating the GHepParticle entries)
11
All 'named' lists are managed by the GHepVirtualListFolder singleton
12
and get cleared after the generation of each event is completed.
13
14
\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
15
University of Liverpool & STFC Rutherford Appleton Laboratory
16
17
\created July 16, 2005
18
19
\cpright Copyright (c) 2003-2020, The GENIE Collaboration
20
For the full text of the license visit http://copyright.genie-mc.org
21
*/
22
//____________________________________________________________________________
23
24
#ifndef _GHEP_VIRTUAL_LIST_H_
25
#define _GHEP_VIRTUAL_LIST_H_
26
27
#include <TClonesArray.h>
28
29
class
TLorentzVector;
30
31
namespace
genie
{
32
33
class
GHepParticle;
34
35
class
GHepVirtualList
:
public
TClonesArray {
36
37
public
:
38
39
GHepVirtualList
();
40
GHepVirtualList
(
int
size
);
41
GHepVirtualList
(
const
GHepVirtualList
& vlist);
42
~GHepVirtualList
();
43
44
private
:
45
46
ClassDef
(
GHepVirtualList
, 1)
47
48
};
49
50
}
// genie namespace
51
52
#endif // _GHEP_VIRTUAL_LIST_H_
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
genie::GHepVirtualList::GHepVirtualList
GHepVirtualList()
genie::GHepVirtualList::~GHepVirtualList
~GHepVirtualList()
Definition:
GHepVirtualList.cxx:59
util::size
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition:
StdUtils.h:92
genie::GHepVirtualList
A GHepVirtualList is a 'virtual' collection of GHepParticles. Is virtual because it does not own but ...
Definition:
GHepVirtualList.h:35
ClassDef
Definition:
classdef.h:59
Generated by
1.8.11