ATLAS Offline Software
Loading...
Searching...
No Matches
initMcEventCollection.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#ifndef GENERATOROBJECTSTPCNV_INITMCEVENTCOLLECTION_H
6# define GENERATOROBJECTSTPCNV_INITMCEVENTCOLLECTION_H
11
12#include <string>
13#include <vector>
15
16#undef NDEBUG
17
18class ISvcLocator;
20
21namespace Athena_test {
27 bool initMcEventCollection(ISvcLocator*& pSvcLoc, std::vector<HepMC::GenParticlePtr>& genPartVector, const bool initGaudi=true);
32 void populateGenEvent(HepMC::GenEvent & ge, int pdgid1, int pdgid2, std::vector<HepMC::GenParticlePtr>& genPartVector);
37 void populateFilteredGenEvent(HepMC::GenEvent & ge, std::vector<HepMC::GenParticlePtr>& genPartVector);
38}
39#endif // GENERATOROBJECTSTPCNV_INITMCEVENTCOLLECTION_H
functions & macros to test the difference between floats
bool initMcEventCollection(ISvcLocator *&pSvcLoc, std::vector< HepMC::GenParticlePtr > &genPartVector, const bool initGaudi=true)
bool initGaudi(ISvcLocator *&pSvcLoc)
Minimal Gaudi initialization for unit testing without job options.
Definition initGaudi.cxx:24
void populateGenEvent(HepMC::GenEvent &ge, int pdgid1, int pdgid2, std::vector< HepMC::GenParticlePtr > &genPartVector)
void populateFilteredGenEvent(HepMC::GenEvent &ge, std::vector< HepMC::GenParticlePtr > &genPartVector)