asalzburger / sms2021-tra-tra

Repository for SummerStudent 2021 project to learn a (conformal) TRAnsform for TRAcks
1 stars 0 forks source link

Try to procude your first data set #18

Open noemina opened 3 years ago

noemina commented 3 years ago

As soon as you have installed the ACTS project, you can produce your first data set:

They are used to:

With the command written above you are producing 100 events (-n100) with 25 particles each (--gen-nparticles 25) [by default you simulate single muons with pdgId=13] uniformly distributed in eta between (-0.5, 0.5) (--gen-eta -0.5:0.5). You set the transverse momentum (--gen-mom-transverse true) to be uniformly distributed between 250 MeV and 10 GeV (--gen-mom-gev 0.25:10.). The output files will be in cvs format (--output-csv).

For the detector simulation we use the OpenDataDetector (ODD) (--dd4hep-input=../../acts/thirdparty/OpenDataDetector/xml/OpenDataDetector.xml) assuming an homogeneous axial magnetic field of 2T (--bf-constant-tesla 0:0:2). The directory of the input files is also specified (--input-dir="./") as well as the format of the output files (--output-csv).

asalzburger commented 3 years ago

Action item @asalzburger:

This is now available in the ODD repository (I will open an PR for acts/main but for the moment we can use it as such):

https://github.com/acts-project/OpenDataDetector/tree/main/config

we can grab it from there.

AndrewSpano commented 3 years ago

Produced the dataset. The p_T values I am getting are legit:

okpt

Still, the results are the same.:

high-pt-fail

This definitely means I have a bug somewhere. Should be something really trivial, I will give my best to find it asap.

noemina commented 3 years ago

Let me define some steps to help you finding the problem:

noemina commented 3 years ago

Action item @asalzburger:

* [x]  update the digitization config file

This is now available in the ODD repository (I will open an PR for acts/main but for the moment we can use it as such):

https://github.com/acts-project/OpenDataDetector/tree/main/config

we can grab it from there.

Hello @asalzburger,

We are running the ActsExampleFatrasDD4hep. If I understood correctly this runs the simulation, where do we have to include the digitization config?

thanks!