ATLAS Offline Software
Loading...
Searching...
No Matches
CollectionMakerHelpers.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6// CollectionMakerHelpers.h, (c) ATLAS Detector software
8
9#ifndef DERIVATIONFRAMEWORK_COLLECTIONMAKERHELPERS_H
10#define DERIVATIONFRAMEWORK_COLLECTIONMAKERHELPERS_H
11
12// Just a couple of EDM includes
15// Standard library includes
16#include <vector>
17
18namespace DerivationFramework {
19
21
22 public:
24 static int addTruthParticle(const xAOD::TruthParticle& oldPart, xAOD::TruthParticleContainer* partCont,
25 xAOD::TruthVertexContainer* vertCont, std::vector<int>& seenParticles,
26 const int generations, bool includeVertex=true);
28 static int addTruthVertex( const xAOD::TruthVertex& oldVert, xAOD::TruthParticleContainer* partCont,
29 xAOD::TruthVertexContainer* vertCont, std::vector<int>& seenParticles,
30 const int generations);
33 };
34}
35
36#endif // DERIVATIONFRAMEWORK_COLLECTIONMAKERHELPERS_H
static int addTruthVertex(const xAOD::TruthVertex &oldVert, xAOD::TruthParticleContainer *partCont, xAOD::TruthVertexContainer *vertCont, std::vector< int > &seenParticles, const int generations)
Helper function to set up a truth particle based on an old particle.
static xAOD::TruthParticle * setupTruthParticle(const xAOD::TruthParticle &oldPart, xAOD::TruthParticleContainer *partCont)
static int addTruthParticle(const xAOD::TruthParticle &oldPart, xAOD::TruthParticleContainer *partCont, xAOD::TruthVertexContainer *vertCont, std::vector< int > &seenParticles, const int generations, bool includeVertex=true)
< Helper function to add truth particles to a collection
THE reconstruction tool.
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition TruthVertex.h:15
TruthVertexContainer_v1 TruthVertexContainer
Declare the latest version of the truth vertex container.
TruthParticle_v1 TruthParticle
Typedef to implementation.
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.