From 6abac0ad3e747c41bde6604b19fcd8952a402fa8 Mon Sep 17 00:00:00 2001 From: igjaegle Date: Fri, 18 Sep 2020 13:37:35 -0400 Subject: [PATCH] Add photon-beam in hddm --- .../Simulation/gen_primex_compton/gen_primex_compton.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/programs/Simulation/gen_primex_compton/gen_primex_compton.cc b/src/programs/Simulation/gen_primex_compton/gen_primex_compton.cc index 6d1d285db..c2b381d80 100644 --- a/src/programs/Simulation/gen_primex_compton/gen_primex_compton.cc +++ b/src/programs/Simulation/gen_primex_compton/gen_primex_compton.cc @@ -271,7 +271,7 @@ int main( int argc, char* argv[] ){ m_tree->GetEntry(counter); - TLorentzVector gamma_4Vec(0, 0, 0, 0); + TLorentzVector gamma_4Vec(0, 0, Ebeam, Ebeam); TLorentzVector photon_4Vec[10]; int npart_photon = 1; int npart_electron = 1;