Juggler
Juggling algorithms and event processing using gaudi framework
Beam.h File Reference
#include "Math/Vector4D.h"
#include "edm4hep/MCParticleCollection.h"
#include "eicd/ReconstructedParticleCollection.h"

Go to the source code of this file.

Namespaces

 Jug
 
 Jug::Base
 
 Jug::Base::Beam
 

Functions

template<class collection >
auto Jug::Base::Beam::find_first_with_pdg (const collection &parts, const std::set< int32_t > &pdg)
 
template<class collection >
auto Jug::Base::Beam::find_first_with_status_pdg (const collection &parts, const std::set< int32_t > &status, const std::set< int32_t > &pdg)
 
auto Jug::Base::Beam::find_first_beam_electron (const edm4hep::MCParticleCollection &mcparts)
 
auto Jug::Base::Beam::find_first_beam_hadron (const edm4hep::MCParticleCollection &mcparts)
 
auto Jug::Base::Beam::find_first_scattered_electron (const edm4hep::MCParticleCollection &mcparts)
 
auto Jug::Base::Beam::find_first_scattered_electron (const eicd::ReconstructedParticleCollection &rcparts)
 
PxPyPzEVector Jug::Base::Beam::round_beam_four_momentum (const edm4hep::Vector3f &p_in, const float mass, const std::vector< float > &pz_set, const float crossing_angle=0.0)