HepMC3 event record library
examples
ConvertExample
include
WriterHEPEVTZEUS.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// This file is part of HepMC
4
// Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details)
5
//
6
#ifndef HEPMC3_WRITERHEPEVTZEUS_H
7
#define HEPMC3_WRITERHEPEVTZEUS_H
8
///
9
/// @file WriterHEPEVTZEUS.h
10
/// @brief Definition of class \b WriterHEPEVTZEUS
11
///
12
/// @class HepMC3::WriterHEPEVTZEUS
13
/// @brief GenEvent I/O output to files readable by ZEUS software
14
///
15
/// @ingroup Examples
16
///
17
#include "
HepMC3/WriterHEPEVT.h
"
18
#include "
HepMC3/GenEvent.h
"
19
#include "
HepMC3/GenParticle.h
"
20
#include "
HepMC3/Data/GenEventData.h
"
21
namespace
HepMC3
22
{
23
class
WriterHEPEVTZEUS
:
public
WriterHEPEVT
24
{
25
public
:
26
/** @brief Constructor */
27
WriterHEPEVTZEUS
(
const
std::string &filename);
28
/** @brief Write the header */
29
void
write_hepevt_event_header
()
override
;
30
/** @brief Write particles */
31
void
write_hepevt_particle
(
int
index,
bool
iflong =
true
)
override
;
32
};
33
}
34
#endif
GenEventData.h
Definition of struct GenEventData.
GenEvent.h
Definition of class GenEvent.
GenParticle.h
Definition of class GenParticle.
WriterHEPEVT.h
Definition of class WriterHEPEVT.
HepMC3::WriterHEPEVTZEUS::write_hepevt_particle
void write_hepevt_particle(int index, bool iflong=true) override
Write particles.
Definition
WriterHEPEVTZEUS.cc:19
HepMC3::WriterHEPEVTZEUS::write_hepevt_event_header
void write_hepevt_event_header() override
Write the header.
Definition
WriterHEPEVTZEUS.cc:12
HepMC3::WriterHEPEVTZEUS::WriterHEPEVTZEUS
WriterHEPEVTZEUS(const std::string &filename)
Constructor.
Definition
WriterHEPEVTZEUS.cc:11
HepMC3::WriterHEPEVT::WriterHEPEVT
WriterHEPEVT(const std::string &filename, std::shared_ptr< GenRunInfo > run=nullptr)
Default constructor.
Definition
WriterHEPEVT.cc:21
HepMC3
HepMC3 main namespace.
Definition
AnalysisExample.h:24
Generated on Tue Apr 29 2025 18:04:35 for HepMC3 event record library by
1.13.2