Skip to content
Snippets Groups Projects

Resolve "imaging_ecal_pion0 failing Job"

Merged Jihee Kim requested to merge 47-imaging_ecal_pion0-failing-job into master
Files
2
@@ -53,12 +53,12 @@ void gen_far_forward_protons(int n_events = 100,
//std::cout << std::sqrt(px*px + py*py + pz*pz) - p << " is zero? \n";
// type 1 is final state
// pdgid 11 - proton 0.510 MeV/c^2
// pdgid 11 - proton 938.272 MeV/c^2
GenParticlePtr p3 = std::make_shared<GenParticle>(
FourVector(
px, py, pz,
sqrt(p*p + (0.000511 * 0.000511))),
11, 1);
sqrt(p*p + (0.938272 * 0.938272))),
2212, 1);
GenVertexPtr v1 = std::make_shared<GenVertex>();
v1->add_particle_in(p1);
Loading