ATLAS Offline Software
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
7 
12 #include <string>
13 #include <vector>
14 #include "AtlasHepMC/GenParticle.h"
15 
16 #undef NDEBUG
17 
18 class ISvcLocator;
20 
21 namespace 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
GenParticle.h
Athena_test::populateFilteredGenEvent
void populateFilteredGenEvent(HepMC::GenEvent &ge, std::vector< HepMC::GenParticlePtr > &genPartVector)
Definition: initMcEventCollection.cxx:96
Athena_test
functions & macros to test the difference between floats
Definition: InitGaudiGoogleTest.h:30
GenEvent_fwd.h
Athena_test::initGaudi
bool initGaudi(ISvcLocator *&pSvcLoc)
Minimal Gaudi initialization for unit testing without job options.
Definition: initGaudi.cxx:28
Athena_test::populateGenEvent
void populateGenEvent(HepMC::GenEvent &ge, int pdgid1, int pdgid2, std::vector< HepMC::GenParticlePtr > &genPartVector)
Definition: initMcEventCollection.cxx:68
Athena_test::initMcEventCollection
bool initMcEventCollection(ISvcLocator *&pSvcLoc, std::vector< HepMC::GenParticlePtr > &genPartVector, const bool initGaudi=true)
Definition: initMcEventCollection.cxx:22