delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
delphi_edm4hep::CollectionWriter Class Referenceabstract

#include <CollectionWriter.h>

Inheritance diagram for delphi_edm4hep::CollectionWriter:
Collaboration diagram for delphi_edm4hep::CollectionWriter:

Classes

class  ParameterGroup

Public Member Functions

 CollectionWriter (podio::Frame &frame, EventContext &ctx, bank::Pass pass)
virtual ~CollectionWriter ()=default
virtual void emit ()=0

Protected Member Functions

bool fromFullDst () const
std::optional< edm4hep::ReconstructedParticle > particleForPa (int paIdx) const
std::string makeName (std::string_view bank, std::string_view readable) const
std::string sdstName (std::string_view bank, std::string_view readable) const
template<typename Coll>
const Coll & put (Coll &&coll, std::string_view bank, std::string_view readable, Provenance prov)
template<typename T>
void putParameter (std::string_view bank, std::string_view key, T &&value, Provenance prov)
ParameterGroup parameters (std::string_view bank, Provenance prov)

Protected Attributes

podio::Frame & frame_
EventContext & ctx_
bank::Pass pass_

Detailed Description

Definition at line 116 of file CollectionWriter.h.

Constructor & Destructor Documentation

◆ CollectionWriter()

delphi_edm4hep::CollectionWriter::CollectionWriter ( podio::Frame & frame,
EventContext & ctx,
bank::Pass pass )
inline

Definition at line 118 of file CollectionWriter.h.

◆ ~CollectionWriter()

virtual delphi_edm4hep::CollectionWriter::~CollectionWriter ( )
virtualdefault

Member Function Documentation

◆ emit()

◆ fromFullDst()

bool delphi_edm4hep::CollectionWriter::fromFullDst ( ) const
inlineprotected

Definition at line 136 of file CollectionWriter.h.

◆ makeName()

std::string delphi_edm4hep::CollectionWriter::makeName ( std::string_view bank,
std::string_view readable ) const
inlineprotected

Definition at line 156 of file CollectionWriter.h.

◆ parameters()

ParameterGroup delphi_edm4hep::CollectionWriter::parameters ( std::string_view bank,
Provenance prov )
inlineprotected

Definition at line 221 of file CollectionWriter.h.

◆ particleForPa()

std::optional< edm4hep::ReconstructedParticle > delphi_edm4hep::CollectionWriter::particleForPa ( int paIdx) const
protected

Definition at line 53 of file CollectionWriter.cpp.

◆ put()

template<typename Coll>
const Coll & delphi_edm4hep::CollectionWriter::put ( Coll && coll,
std::string_view bank,
std::string_view readable,
Provenance prov )
inlineprotected

Definition at line 173 of file CollectionWriter.h.

◆ putParameter()

template<typename T>
void delphi_edm4hep::CollectionWriter::putParameter ( std::string_view bank,
std::string_view key,
T && value,
Provenance prov )
inlineprotected

Definition at line 187 of file CollectionWriter.h.

◆ sdstName()

std::string delphi_edm4hep::CollectionWriter::sdstName ( std::string_view bank,
std::string_view readable ) const
inlineprotected

Definition at line 163 of file CollectionWriter.h.

Member Data Documentation

◆ ctx_

EventContext& delphi_edm4hep::CollectionWriter::ctx_
protected

Definition at line 130 of file CollectionWriter.h.

◆ frame_

podio::Frame& delphi_edm4hep::CollectionWriter::frame_
protected

Definition at line 129 of file CollectionWriter.h.

◆ pass_

bank::Pass delphi_edm4hep::CollectionWriter::pass_
protected

Definition at line 131 of file CollectionWriter.h.


The documentation for this class was generated from the following files: