Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. ///@brief Describe the Monte Carlo shower simulation
  2. PSimulationHeader{
  3. ///Name of the corresponding target
  4. std::string targetName;
  5. ///Minimal value of the altitude
  6. float altitudeMin;
  7. ///Maximal value of the altitude
  8. float altitudeMax;
  9. ///Minimal value of the azimuth
  10. float azimuthMin;
  11. ///Maximal value of the azimuth
  12. float azimuthMax;
  13. ///True if the source is not a point
  14. bool isDiffuseMode;
  15. ///Minimal value of the core (impact parameter)
  16. float coreMin;
  17. ///Maximal value of the core (impact parameter)
  18. float coreMax;
  19. }
  20.  
  21. ///@brief describe a Monte Carlo shower
  22. PSimuShower{
  23. ///Monte Carlo shower id
  24. size_t id;
  25. ///Type of the particle simulated
  26. enum PSimuParticle::PSimuParticle particleType;
  27. ///Energy of the primary particle (TeV)
  28. float energy;
  29. ///Azimuth (N->E) [rad]
  30. float azimuth;
  31. ///Altitude [rad]
  32. float altitude;
  33. ///Atmospheric depth where particle started [g/cm^2]
  34. float depthStart;
  35. ///height of first interaction a.s.l. [m]
  36. float heightFirstInteraction;
  37. ///Atmospheric depth of shower maximum [g/cm^2], derived from all charged particles
  38. float xmax;
  39. ///Height of shower maximum [m] in xmax
  40. float hmax;
  41. ///Atm. depth of maximum in electron number
  42. float emax;
  43. ///Atm. depth of max. in Cherenkov photon emission
  44. float cmax;
  45. }
  46.  
  47. ///@brief describe a Monte Carlo event
  48. PSimuEvent{
  49. ///Monte Carlo event id
  50. size_t id;
  51. ///Corresponding Monte Carlo shower
  52. size_t showerNum;
  53. ///Position of the core to the north
  54. float xCore;
  55. ///Position of the core to the west
  56. float yCore;
  57. }
  58.  
  59. ///@brief Describe a Monte Calo simulation
  60. PSimulation{
  61. ///Header of the simulation
  62. PSimulationHeader header;
  63. ///Number of MC event those use the same shower (ratio between nbEvent and nbShower, nbShower*nbUseShower = nbEvent)
  64. size_t nbUseShower;
  65. ///Table of all monte carlo shower
  66. Table(PSimuShower, nbShower) tabSimuShower;
  67. ///Table of all monte carlo event
  68. Table(PSimuEvent, nbEvent) tabSimuEvent;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement