GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <c.andreopoulos \at cern.ch>
15  University of Liverpool
16 
17 \created July 16, 2005
18 
19 \cpright Copyright (c) 2003-2024, 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 
40  GHepVirtualList(int size);
41  GHepVirtualList(const GHepVirtualList & vlist);
43 
44 private :
45 
46 ClassDef(GHepVirtualList, 1)
47 
48 };
49 
50 } // genie namespace
51 
52 #endif // _GHEP_VIRTUAL_LIST_H_
A GHepVirtualList is a &#39;virtual&#39; collection of GHepParticles. Is virtual because it does not own but ...