ATLAS Offline Software
Loading...
Searching...
No Matches
PRD_MultiTruthCollection_p4.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Dear emacs, this is -*-c++-*-
6
7// Andrei.Gaponenko@cern.ch, 2007
8// Olivier.Arnaez@cern.ch, 2015
9
10
11#ifndef TRKTRUTHTPCNV_PRD_MULTITRUTHCOLLECTION_P4_H
12#define TRKTRUTHTPCNV_PRD_MULTITRUTHCOLLECTION_P4_H
13
15
16#include <vector>
17
18namespace Trk {
20 public:
21 // the lore is that Root does not split std::pair, so make our own class
22 struct Entry {
23 unsigned long long id; // the Identifier
25 Entry(unsigned long long i, const HepMcParticleLink_p3& p) : id(i), particle(p) {}
26
27 Entry() : id(0) {} // stupid call required by reflex dicts
28 };
29
30 typedef std::vector<Entry> CollectionType;
32 };
33}
34
35#endif // TRKTRUTHTPCNV_PRD_MULTITRUTHCOLLECTION_P4_H
Ensure that the ATLAS eigen extensions are properly loaded.
Entry(unsigned long long i, const HepMcParticleLink_p3 &p)