ATLAS Offline Software
Loading...
Searching...
No Matches
Epos4.cxx File Reference
#include "Epos4.h"
#include "AthenaKernel/RNGWrapper.h"
#include "CLHEP/Random/RandFlat.h"
#include "GaudiKernel/MsgStream.h"
#include <xAODEventInfo/EventInfo.h>
#include "AtlasHepMC/GenEvent.h"
#include "AtlasHepMC/HeavyIon.h"
#include "AtlasHepMC/SimpleVector.h"
#include "HepMC3/GenEvent.h"
#include "HepMC3/Print.h"
#include "HepMC3/Writer.h"
#include <cstdlib>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <memory>

Go to the source code of this file.

Classes

struct  jobfnametype
class  HepMC3::WriterEPOS

Namespaces

namespace  HepMC3

Functions

void set_job_common (const char *filename)
void checkTime ()
void defineStorageSettings ()
void initializeElectronProtonPart ()
void eposEnd ()
void eposStart ()
void finalizeSimulation ()
void generateEposEvent (int &)
void listParticles (int &)
void initializeEpos ()
void initializeEventCounters ()
void initializeHeavyQuarkPart ()
int numberOfEnergyValues ()
int numberOfEvents ()
void readInputFile ()
void rewindInputFile ()
int setEnergyIndex (int &)
void showMemoryAtStart ()
void showMemoryAtEnd ()
void writeStatistics ()

Variables

struct jobfnametype jobfname_
std::shared_ptr< HepMC3::Writer > writer

Function Documentation

◆ checkTime()

void checkTime ( )

◆ defineStorageSettings()

void defineStorageSettings ( )

◆ eposEnd()

void eposEnd ( )

◆ eposStart()

void eposStart ( )

◆ finalizeSimulation()

void finalizeSimulation ( )

◆ generateEposEvent()

void generateEposEvent ( int & )

◆ initializeElectronProtonPart()

void initializeElectronProtonPart ( )

◆ initializeEpos()

void initializeEpos ( )

◆ initializeEventCounters()

void initializeEventCounters ( )

◆ initializeHeavyQuarkPart()

void initializeHeavyQuarkPart ( )

◆ listParticles()

void listParticles ( int & )

◆ numberOfEnergyValues()

int numberOfEnergyValues ( )

◆ numberOfEvents()

int numberOfEvents ( )

◆ readInputFile()

void readInputFile ( )

◆ rewindInputFile()

void rewindInputFile ( )

◆ set_job_common()

void set_job_common ( const char * filename)

Definition at line 46 of file Epos4.cxx.

46 {
47 size_t len = std::strlen(filename);
48 if (len > 1000)
49 len = 1000;
50 // Copy filename and pad with spaces
51 std::memcpy(jobfname_.fnjob, filename, len);
52 for (size_t i = len; i < 1000; ++i) {
53 jobfname_.fnjob[i] = ' ';
54 }
55 jobfname_.nfnjob = (int)len;
56}
struct jobfnametype jobfname_

◆ setEnergyIndex()

int setEnergyIndex ( int & )

◆ showMemoryAtEnd()

void showMemoryAtEnd ( )

◆ showMemoryAtStart()

void showMemoryAtStart ( )

◆ writeStatistics()

void writeStatistics ( )

Variable Documentation

◆ jobfname_

struct jobfnametype jobfname_
extern

◆ writer

std::shared_ptr<HepMC3::Writer> writer
extern