Skip to content
Snippets Groups Projects

Central electron tracking

Closed Shujie Li requested to merge central_electron_tracking into master
2 files
+ 1
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -17,7 +17,7 @@ using namespace HepMC3;
@@ -17,7 +17,7 @@ using namespace HepMC3;
void gen_central_electrons(int n_events = 100,
void gen_central_electrons(int n_events = 100,
const char* out_fname = "central_electrons.hepmc")
const char* out_fname = "central_electrons.hepmc")
{
{
double cos_theta_min = std::cos( 140.0*(M_PI/180.0));
double cos_theta_min = std::cos( 10.0*(M_PI/180.0));
double cos_theta_max = std::cos(170.0*(M_PI/180.0));
double cos_theta_max = std::cos(170.0*(M_PI/180.0));
WriterAscii hepmc_output(out_fname);
WriterAscii hepmc_output(out_fname);
Loading