EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventFactoryHepMC.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventFactoryHepMC.h
1 #ifndef INCLUDE_EICSMEAR_ERHIC_EVENTFACTORYHEPMC_H_
2 #define INCLUDE_EICSMEAR_ERHIC_EVENTFACTORYHEPMC_H_
3 
5 
6 #include <HepMC3/GenEvent.h>
7 #include <HepMC3/GenVertex.h>
8 #include <HepMC3/GenParticle.h>
9 
10 #include<map>
11 
12 namespace erhic {
13 
18  void HandleHepmcParticle( const HepMC3::GenParticlePtr& p, std::map < HepMC3::GenParticlePtr, int >& hepmcp_index, int& particleindex, std::unique_ptr<erhic::EventHepMC>& mEvent );
19 
20 
25  void HandleAllVertices( HepMC3::GenEvent& evt, std::map < HepMC3::GenParticlePtr, int >& hepmcp_index, int& particleindex, std::unique_ptr<erhic::EventHepMC>& mEvent );
26 
30  void UpdateRuninfo( std::vector<VirtualEventFactory::NamedObjects>& mObjectsToWriteAtTheEnd,
31  const HepMC3::GenEvent& evt );
32 
33 
34 } // namespace erhic
35 
36 #endif // INCLUDE_EICSMEAR_ERHIC_EVENTFACTORY_H_