Class PhotonOutput1D

Inheritance Relationships

Base Type

Class Documentation

class PhotonOutput1D : public Module

Public Functions

PhotonOutput1D()
PhotonOutput1D(std::ostream &out)
PhotonOutput1D(const std::string &filename)
~PhotonOutput1D()
virtual void process(Candidate *candidate) const

Process function This is the main function to work with, it is called during every ModuleList::run step. Derived functions need to override this overload of process!

Parameters:

candidateCandidate raw pointer

virtual std::string getDescription() const

Returns description, can be overriden by derived class.

void close()
void gzip()
void setDescription(const std::string &description)

Sets description, can be used instead of getDescription in derived class

Parameters:

description – Description string

inline void process(ref_ptr<Candidate> candidate) const

Process function Overload for process function to explicitly make a conversion from ref_ptr to a raw pointer

inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

mutable size_t _referenceCount