EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Beam.h File Reference
#include <Math/Vector4D.h>
#include <edm4hep/MCParticleCollection.h>
#include <edm4eic/ReconstructedParticleCollection.h>
#include <algorithm>
#include <fmt/format.h>
#include <set>
#include <stdexcept>
#include <vector>
#include <cmath>
Include dependency graph for Beam.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  eicrecon
 -client
 

Functions

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

Variables

const std::vector< float > eicrecon::electron_beam_pz_set {-5.0, -9.0, -10.0, -18.0}
 
const std::vector< float > eicrecon::hadron_beam_pz_set {41.0, 100.0, 130.0, 250.0, 275.0}