Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EDM4hepUtil.hpp File Reference
#include "Acts/Geometry/GeometryContext.hpp"
#include "ActsExamples/EventData/Cluster.hpp"
#include "ActsExamples/EventData/Measurement.hpp"
#include "ActsExamples/EventData/Trajectories.hpp"
#include "ActsFatras/EventData/Hit.hpp"
#include "ActsFatras/EventData/Particle.hpp"
#include <functional>
#include "edm4hep/MCParticle.h"
#include "edm4hep/MutableMCParticle.h"
#include "edm4hep/MutableSimTrackerHit.h"
#include "edm4hep/MutableTrack.h"
#include "edm4hep/MutableTrackerHit.h"
#include "edm4hep/MutableTrackerHitPlane.h"
#include "edm4hep/SimTrackerHit.h"
#include "edm4hep/TrackerHit.h"
#include "edm4hep/TrackerHitCollection.h"
#include "edm4hep/TrackerHitPlane.h"
+ Include dependency graph for EDM4hepUtil.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ActsExamples
 
namespace  ActsExamples::EDM4hepUtil
 

Typedefs

using ActsExamples::EDM4hepUtil::MapParticleIdFrom = std::function< ActsFatras::Barcode(edm4hep::MCParticle particle)>
 
using ActsExamples::EDM4hepUtil::MapParticleIdTo = std::function< edm4hep::MCParticle(ActsFatras::Barcode particleId)>
 
using ActsExamples::EDM4hepUtil::MapGeometryIdFrom = std::function< Acts::GeometryIdentifier(std::uint64_t cellId)>
 
using ActsExamples::EDM4hepUtil::MapGeometryIdTo = std::function< std::uint64_t(Acts::GeometryIdentifier geometryId)>
 

Functions

ActsFatras::Particle ActsExamples::EDM4hepUtil::readParticle (const edm4hep::MCParticle &from, const MapParticleIdFrom &particleMapper)
 
void ActsExamples::EDM4hepUtil::writeParticle (const ActsFatras::Particle &from, edm4hep::MutableMCParticle to)
 
ActsFatras::Hit ActsExamples::EDM4hepUtil::readSimHit (const edm4hep::SimTrackerHit &from, const MapParticleIdFrom &particleMapper, const MapGeometryIdFrom &geometryMapper)
 
void ActsExamples::EDM4hepUtil::writeSimHit (const ActsFatras::Hit &from, edm4hep::MutableSimTrackerHit to, const MapParticleIdTo &particleMapper, const MapGeometryIdTo &geometryMapper)
 
Measurement ActsExamples::EDM4hepUtil::readMeasurement (const edm4hep::TrackerHitPlane &from, const edm4hep::TrackerHitCollection *fromClusters, Cluster *toCluster, const MapGeometryIdFrom &geometryMapper)
 
void ActsExamples::EDM4hepUtil::writeMeasurement (const Measurement &from, edm4hep::MutableTrackerHitPlane to, const Cluster *fromCluster, edm4hep::TrackerHitCollection &toClusters, const MapGeometryIdTo &geometryMapper)
 
void ActsExamples::EDM4hepUtil::writeTrajectory (const Acts::GeometryContext &gctx, double Bz, const Trajectories &from, edm4hep::MutableTrack to, std::size_t fromIndex, const Acts::ParticleHypothesis &particleHypothesis, const IndexMultimap< ActsFatras::Barcode > &hitParticlesMap)