ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleWriter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef IPARTICLE_WRITER_H
5#define IPARTICLE_WRITER_H
6
7#include <memory>
8#include <vector>
9
10namespace H5 {
11 class Group;
12}
13namespace H5Utils {
14 template <size_t N, typename I> class Writer;
15}
16namespace xAOD {
17 class IParticle;
18}
20
21namespace details {
22 // implementation depends on type of array we're storing
24}
25
27public:
28 IParticleWriter(H5::Group& output_group, const IParticleWriterConfig&);
30 void fill(const std::vector<const xAOD::IParticle*>&);
31 void flush();
32private:
33 std::unique_ptr<details::IParticleWriterBase> m_writer;
34};
35
36#endif
Writer.
Definition Writer.h:350
void fill(const std::vector< const xAOD::IParticle * > &)
std::unique_ptr< details::IParticleWriterBase > m_writer
IParticleWriter(H5::Group &output_group, const IParticleWriterConfig &)
Class providing the definition of the 4-vector interface.
HDF5 Tuple Writer.
Definition common.h:20
HDF5 Traits.
Group
Properties of a chain group.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.