Juggler
Juggling algorithms and event processing using gaudi framework
Jug::Base::Beam Namespace Reference

Functions

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

Function Documentation

◆ find_first_beam_electron()

auto Jug::Base::Beam::find_first_beam_electron ( const edm4hep::MCParticleCollection &  mcparts)
inline

◆ find_first_beam_hadron()

auto Jug::Base::Beam::find_first_beam_hadron ( const edm4hep::MCParticleCollection &  mcparts)
inline

◆ find_first_scattered_electron() [1/2]

auto Jug::Base::Beam::find_first_scattered_electron ( const edm4hep::MCParticleCollection &  mcparts)
inline

◆ find_first_scattered_electron() [2/2]

auto Jug::Base::Beam::find_first_scattered_electron ( const eicd::ReconstructedParticleCollection &  rcparts)
inline

◆ find_first_with_pdg()

template<class collection >
auto Jug::Base::Beam::find_first_with_pdg ( const collection &  parts,
const std::set< int32_t > &  pdg 
)

◆ find_first_with_status_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 
)

◆ round_beam_four_momentum()

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 
)
inline