GENIEGenerator
Loading...
Searching...
No Matches
GLRESGenerator.cxx
Go to the documentation of this file.
1//____________________________________________________________________________
2/*
3 Copyright (c) 2003-2025, The GENIE Collaboration
4 For the full text of the license visit http://copyright.genie-mc.org
5
6 Alfonso Garcia <aagarciasoto \at km3net.de>
7 IFIC & Harvard University
8*/
9//____________________________________________________________________________
10
12
13//___________________________________________________________________________
15EventRecordVisitorI("genie::GLRESGenerator")
16{
17
18}
19//___________________________________________________________________________
21EventRecordVisitorI("genie::GLRESGenerator", config)
22{
23
24}
25//___________________________________________________________________________
30//___________________________________________________________________________
32{
33
34 fWDecayer->ProcessEventRecord(event);
35
36}
37//____________________________________________________________________________
39{
41 this->LoadConfig();
42}
43//____________________________________________________________________________
44void GLRESGenerator::Configure(string config)
45{
47 this->LoadConfig();
48}
49//____________________________________________________________________________
51{
52
53 fWDecayer = dynamic_cast<const EventRecordVisitorI *> (this->SubAlg("WDecayer"));
54 assert(fWDecayer);
55
56}
57//____________________________________________________________________________
virtual void Configure(const Registry &config)
Definition Algorithm.cxx:62
const Algorithm * SubAlg(const RgKey &registry_key) const
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
void ProcessEventRecord(GHepRecord *event) const
virtual void Configure(const Registry &config)
const EventRecordVisitorI * fWDecayer
PYTHIA W decayer.
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65