Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-09 09:33:10

0001 // libedm4eicDict is loaded with `root -e` before this macro
0002 
0003 #include "edm4eic/ReconstructedParticleCollection.h"
0004 
0005 #include <iostream>
0006 
0007 void test_edm4eic() {
0008   edm4eic::ReconstructedParticleCollection particles;
0009   auto particle = particles.create();
0010   particle.setEnergy(1.5);
0011   std::cout << "particles: " << particles.size() << ", energy: " << particles[0].getEnergy()
0012             << std::endl;
0013 }