GENIEGenerator
Loading...
Searching...
No Matches
NucBindEnergyAggregator.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::NucBindEnergyAggregator
5
6\brief A nuclear binding energy 'collector' which visits the event record,
7 finds nucleons originating from within a nuclei and subtracts the
8 binding energy they had in the nucleus.
9 To record this action in the event record a hypothetical BINDINO is
10 added to the event record.
11 Is a concerete implementation of the EventRecordVisitorI interface.
12
13\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
14 University of Liverpool
15
16\created November 19, 2004
17
18\cpright Copyright (c) 2003-2025, The GENIE Collaboration
19 For the full text of the license visit http://copyright.genie-mc.org
20
21*/
22//____________________________________________________________________________
23
24#ifndef _NUCLEAR_BINDING_ENERGY_AGGREGATOR_H_
25#define _NUCLEAR_BINDING_ENERGY_AGGREGATOR_H_
26
28
29namespace genie {
30
31class GHepParticle;
32
34
35public :
37 NucBindEnergyAggregator(string config);
39
40 //-- implement the EventRecordVisitorI interface
41 void ProcessEventRecord(GHepRecord * event_rec) const;
42
43 //-- overload the Algorithm::Configure() methods to load private data
44 // members from configuration options
45 void Configure(const Registry & config);
46 void Configure(string config);
47
48private:
49 void LoadConfig (void);
50 //GHepParticle * FindMotherNucleus(int ipos, GHepRecord * event_rec) const;
51
53};
54
55} // genie namespace
56
57#endif // _NUCLEAR_BINDING_ENERGY_AGGREGATOR_H_
STDHEP-like event record entry that can fit a particle or a nucleus.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
void Configure(const Registry &config)
void ProcessEventRecord(GHepRecord *event_rec) const
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25