1 / 6

Cosmic-ray generator for End-to-End simulation

Cosmic-ray generator for End-to-End simulation. Tsunefumi Mizuno Apr 09, 2002. Structure of Cosmic-ray generator. CrProtonPrimary CrProtonReentrant CrProtonSplash CrElectronPrimary …. user. CrGenerator. each compoment is derived from CrSpectrum class.

wyman
Télécharger la présentation

Cosmic-ray generator for End-to-End simulation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cosmic-ray generator for End-to-End simulation Tsunefumi Mizuno Apr 09, 2002

  2. Structure of Cosmic-ray generator CrProtonPrimary CrProtonReentrant CrProtonSplash CrElectronPrimary … user CrGenerator each compoment is derived from CrSpectrum class • CrGenerator: interfaces with cosmic-ray components • main methods and members(p3) • CrSpectrum: base class of cosmic-ray components • calculate COR/phi from position/time(p4 and 5)

  3. methods and members private: std::vector<CrSpectrum*> m_subComponents; CrSpectrum* m_component; double m_energy; std::pair<double,double> m_dir; CrGenerator src("CrProtonPrimary");src.addcomponent("CrProtonReentrant");src.addcomponent("CrProtonSplash"); HepRandomEngine* engine = new HepJamesRandom; // 31.78deg, -95.73deg (GLAST Balloon Experiment)src.setPosition(0.5547, -1.671, 0.0); src.ShootParticle(engine);G4double energy = src.GetEnergy();std::pair<G4double,G4double> dir = src.GetDir();G4double theta = acos(dir.first); // [0, pi]G4double phi = dir.second; // * rad; will be corrected to meet the naming convention

  4. Calculate COR from geographic coordinate (1) Cutoff rigidity is calculated in CrSpectrum class Geographic latitude/longitude Geomagnetic latitude/longitude http://hpamsmi2.mi.infn.it/~wwwams/geo.html

  5. Calculate COR from geographic coordinate (2) geograhic latitude and longitude of the geomagnetic north pole in 2000http://swdcdb.kugi.kyoto-u.ac.jp/trans/index.html

  6. ToDo List • calculate solar potential from time • interface with XML

More Related