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