ATLAS Offline Software
initMcEventCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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 {
28  bool initMcEventCollection(ISvcLocator*& pSvcLoc, std::vector<HepMC::GenParticlePtr>& genPartVector, const bool initGaudi=true);
34  void populateGenEvent(HepMC::GenEvent & ge, int pdgid1, int pdgid2, std::vector<HepMC::GenParticlePtr>& genPartVector);
35 }
36 #endif // GENERATOROBJECTSTPCNV_INITMCEVENTCOLLECTION_H
GenParticle.h
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 AthenaServices unit testing
Definition: initGaudi.cxx:25
Athena_test::populateGenEvent
void populateGenEvent(HepMC::GenEvent &ge, int pdgid1, int pdgid2, std::vector< HepMC::GenParticlePtr > &genPartVector)
Definition: initMcEventCollection.cxx:62
Athena_test::initMcEventCollection
bool initMcEventCollection(ISvcLocator *&pSvcLoc, std::vector< HepMC::GenParticlePtr > &genPartVector, const bool initGaudi=true)
Definition: initMcEventCollection.cxx:21