#include <IParticleWriter.h>
Definition at line 26 of file IParticleWriter.h.
◆ IParticleWriter()
Definition at line 278 of file IParticleWriter.cxx.
281{
283 using IP = xAOD::IParticle;
285 for (
const auto& input:
cfg.inputs) {
286 if (
input.link_name.empty()) {
287 const auto& primitive =
input.input;
289 addCustomType(c, primitive);
290 } else {
292 }
293 } else {
294
295 std::string
n =
input.link_name;
296
297 if (n == "btaggingLink") {
298 LinkGetter<xAOD::BTaggingContainer> getter(n);
300 } else {
301
302 LinkGetter<IPC,IP> getter(n);
304 addCustomType(c,
input.input, getter);
305 } else {
307 }
308 }
309 }
310 }
311 m_writer = getWriter(group, cfg, c);
312}
std::unique_ptr< details::IParticleWriterBase > m_writer
void addInput(T &c, const Primitive &input, A a=defaultAccessor< T >)
bool isCustom(const Primitive &p)
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
◆ ~IParticleWriter()
| IParticleWriter::~IParticleWriter |
( |
| ) |
|
|
default |
◆ fill()
| void IParticleWriter::fill |
( |
const std::vector< const xAOD::IParticle * > & | | ) |
|
◆ flush()
| void IParticleWriter::flush |
( |
| ) |
|
◆ m_writer
The documentation for this class was generated from the following files: