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 <constantinos.andreopoulos \at cern.ch>
14  University of Liverpool & STFC Rutherford Appleton Laboratory
15 
16 \created November 19, 2004
17 
18 \cpright Copyright (c) 2003-2020, 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 
29 namespace genie {
30 
31 class GHepParticle;
32 
34 
35 public :
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 
48 private:
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_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
A nuclear binding energy &#39;collector&#39; which visits the event record, finds nucleons originating from w...
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
static Config * config
Definition: config.cpp:1054
void Configure(const Registry &config)
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
void ProcessEventRecord(GHepRecord *event_rec) const