GENIEGenerator
Loading...
Searching...
No Matches
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-2025, 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
29class TLorentzVector;
30
31namespace genie {
32
33class GHepParticle;
34
35class GHepVirtualList : public TClonesArray {
36
37public :
38
40 GHepVirtualList(int size);
41 GHepVirtualList(const GHepVirtualList & vlist);
43
44private :
45
46ClassDef(GHepVirtualList, 1)
47
48};
49
50} // genie namespace
51
52#endif // _GHEP_VIRTUAL_LIST_H_
STDHEP-like event record entry that can fit a particle or a nucleus.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25