DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DDG4
include
DDG4
Geant4InteractionMerger.h
Go to the documentation of this file.
1
// $Id: $
2
//==========================================================================
3
// AIDA Detector description implementation for LCD
4
//--------------------------------------------------------------------------
5
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6
// All rights reserved.
7
//
8
// For the licensing terms see $DD4hepINSTALL/LICENSE.
9
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10
//
11
// Author : M.Frank
12
//
13
//==========================================================================
14
#ifndef DD4HEP_DDG4_GEANT4INTERACTIONMERGER_H
15
#define DD4HEP_DDG4_GEANT4INTERACTIONMERGER_H
16
17
// Framework include files
18
#include "
DDG4/Geant4GeneratorAction.h
"
19
21
namespace
DD4hep {
22
24
namespace
Simulation {
25
26
// Forward declarations
27
class
Geant4PrimaryInteraction;
28
30
39
class
Geant4InteractionMerger
:
public
Geant4GeneratorAction
{
41
void
appendInteraction
(
Geant4PrimaryInteraction
* output,
Geant4PrimaryInteraction
* input);
42
public
:
44
Geant4InteractionMerger
(
Geant4Context
*
context
,
const
std::string& nam);
46
virtual
~Geant4InteractionMerger
();
48
virtual
void
operator()
(G4Event* event);
49
};
50
}
// End namespace Simulation
51
}
// End namespace DD4hep
52
53
#endif // DD4HEP_DDG4_GEANT4INTERACTIONMERGER_H
DD4hep::Simulation::Geant4InteractionMerger::~Geant4InteractionMerger
virtual ~Geant4InteractionMerger()
Default destructor.
Definition:
Geant4InteractionMerger.cpp:31
DD4hep::Simulation::Geant4PrimaryInteraction
Class modelling a single interaction with multiple primary vertices and particles.
Definition:
Geant4Primary.h:96
DD4hep::Simulation::Geant4Action::context
Geant4Context * context() const
Access the context.
Definition:
Geant4Action.h:261
DD4hep::Simulation::Geant4InteractionMerger::Geant4InteractionMerger
Geant4InteractionMerger(Geant4Context *context, const std::string &nam)
Standard constructor.
Definition:
Geant4InteractionMerger.cpp:24
DD4hep::Simulation::Geant4InteractionMerger::operator()
virtual void operator()(G4Event *event)
Event generation action callback.
Definition:
Geant4InteractionMerger.cpp:36
DD4hep::Simulation::Geant4GeneratorAction
Concrete implementation of the Geant4 generator action base class.
Definition:
Geant4GeneratorAction.h:48
DD4hep::Simulation::Geant4InteractionMerger::appendInteraction
void appendInteraction(Geant4PrimaryInteraction *output, Geant4PrimaryInteraction *input)
Append input interaction to global output.
DD4hep::Simulation::Geant4Context
Generic context to extend user, run and event information.
Definition:
Geant4Context.h:168
DD4hep::Simulation::Geant4InteractionMerger
Geant4Action to merge several independent interaction to one.
Definition:
Geant4InteractionMerger.h:39
Geant4GeneratorAction.h
Generated on Fri Dec 2 2016 12:31:08 for DD4hep by
1.8.6