/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Protected Member Functions
IHepMCEventMutator Class Reference

Interface for modifying an HepMC::GenEvent. More...

#include <IHepMCEventMutator.h>

Inheritance diagram for IHepMCEventMutator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual StatusCode mutate (HepMC::GenEvent &event)=0
 Modify the event.

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Retrieve interface ID.

Protected Member Functions

virtual ~IHepMCEventMutator ()

Detailed Description

Interface for modifying an HepMC::GenEvent.

Definition at line 28 of file IHepMCEventMutator.h.


Constructor & Destructor Documentation

IHepMCEventMutator::~IHepMCEventMutator ( ) [protected, virtual]

Definition at line 13 of file IHepMCEventMutator.cc.

{
}

Member Function Documentation

const InterfaceID & IHepMCEventMutator::interfaceID ( ) [static]

Retrieve interface ID.

Definition at line 8 of file IHepMCEventMutator.cc.

{ 
    return IID_IHepMCEventMutator; 
}
StatusCode GtRockGammaTool::mutate ( HepMC::GenEvent event) [pure virtual]

Modify the event.

Implemented in GtBeamerTool, GtDiffuserBallTool, GtGunGenTool, GtHepEvtGenTool, GtMultiVolumePosTool, GtPositionerTool, GtRockGammaTool, GtTimeratorTool, and GtTransformTool.

Definition at line 129 of file GtGunGenTool.cc.

{
    for (int ind=0; ind<m_particlesPerEvent; ++ind) {
        if (this->oneVertex(event).isFailure()) 
            return StatusCode::FAILURE;
    }
    return StatusCode::SUCCESS;
}

The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:18:51 for GenTools by doxygen 1.7.4