Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///@brief Describe the Monte Carlo shower simulation
- PSimulationHeader{
- ///Name of the corresponding target
- std::string targetName;
- ///Minimal value of the altitude
- float altitudeMin;
- ///Maximal value of the altitude
- float altitudeMax;
- ///Minimal value of the azimuth
- float azimuthMin;
- ///Maximal value of the azimuth
- float azimuthMax;
- ///True if the source is not a point
- bool isDiffuseMode;
- ///Minimal value of the core (impact parameter)
- float coreMin;
- ///Maximal value of the core (impact parameter)
- float coreMax;
- }
- ///@brief describe a Monte Carlo shower
- PSimuShower{
- ///Monte Carlo shower id
- size_t id;
- ///Type of the particle simulated
- enum PSimuParticle::PSimuParticle particleType;
- ///Energy of the primary particle (TeV)
- float energy;
- ///Azimuth (N->E) [rad]
- float azimuth;
- ///Altitude [rad]
- float altitude;
- ///Atmospheric depth where particle started [g/cm^2]
- float depthStart;
- ///height of first interaction a.s.l. [m]
- float heightFirstInteraction;
- ///Atmospheric depth of shower maximum [g/cm^2], derived from all charged particles
- float xmax;
- ///Height of shower maximum [m] in xmax
- float hmax;
- ///Atm. depth of maximum in electron number
- float emax;
- ///Atm. depth of max. in Cherenkov photon emission
- float cmax;
- }
- ///@brief describe a Monte Carlo event
- PSimuEvent{
- ///Monte Carlo event id
- size_t id;
- ///Corresponding Monte Carlo shower
- size_t showerNum;
- ///Position of the core to the north
- float xCore;
- ///Position of the core to the west
- float yCore;
- }
- ///@brief Describe a Monte Calo simulation
- PSimulation{
- ///Header of the simulation
- PSimulationHeader header;
- ///Number of MC event those use the same shower (ratio between nbEvent and nbShower, nbShower*nbUseShower = nbEvent)
- size_t nbUseShower;
- ///Table of all monte carlo shower
- Table(PSimuShower, nbShower) tabSimuShower;
- ///Table of all monte carlo event
- Table(PSimuEvent, nbEvent) tabSimuEvent;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement