nptool a root and geant4 framework for nuclear physics
play

NPTool: a Root and Geant4 framework for nuclear physics experiments - PowerPoint PPT Presentation

What is NPTool How to use it Features Running NPTool: a Root and Geant4 framework for nuclear physics experiments Adrien MATTA a , Nicolas de Sereville b , Marc Labiche c a Department of Physics, University of Surrey b Institut de Physique


  1. What is NPTool How to use it Features Running NPTool: a Root and Geant4 framework for nuclear physics experiments Adrien MATTA a , Nicolas de Sereville b , Marc Labiche c a Department of Physics, University of Surrey b Institut de Physique Nucleaire Orsay c NPG, STFC Daresbury Laboratory IPNOrsay, Wednesday 26th November 2014 Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  2. What is NPTool How to use it Features Running Philosophy behind the project early 2009 : Starting point • need for an universal simulation and analysis package • all detector must be treated on an equal footing • difficult balance of homogeneity/flexibility • package seen as a tool box for experimentalist Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  3. What is NPTool How to use it Features Running Philosophy behind the project early 2009 : Starting point • need for an universal simulation and analysis package • all detector must be treated on an equal footing • difficult balance of homogeneity/flexibility • package seen as a tool box for experimentalist User perspective • Easy to use • Dependable • Readily available (easy to install, easy to run, fully supported) • Common framework for the community • Take full advantage of Root and Geant4 • Link simulation and analysis in a common package Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  4. What is NPTool How to use it Features Running Structure NPLib → Everything common to all experiment • Shared library to be used in Analysis, Simulation and macro • Data class to store "Raw" data • Physics class to store "Treated" data • Event Generator • Managers (Calibration, Root I/O,...) Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  5. What is NPTool How to use it Features Running Structure NPLib → Everything common to all experiment • Shared library to be used in Analysis, Simulation and macro • Data class to store "Raw" data • Physics class to store "Treated" data • Event Generator • Managers (Calibration, Root I/O,...) NPSimulation → Everything about Simulation • Detector Manager • Event Generator Manager • One class per detector Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  6. What is NPTool How to use it Features Running Structure NPLib → Everything common to all experiment • Shared library to be used in Analysis, Simulation and macro • Data class to store "Raw" data • Physics class to store "Treated" data • Event Generator • Managers (Calibration, Root I/O,...) NPAnalysis NPSimulation → Everything about Simulation → Specific to an experiment • Detector Manager • One project per experiment • Event Generator Manager • User implementation • One class per detector • High versatility Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  7. What is NPTool How to use it Features Running Structure Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  8. What is NPTool How to use it Features Running Way to use it offline Simulation of an experiment Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  9. What is NPTool How to use it Features Running Way to use it offline Simulation of an experiment Analysis of an experiment Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  10. What is NPTool How to use it Features Running Way to use it online Online integration at GANIL Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  11. What is NPTool How to use it Features Running Detectors Available detectors • Must2 Work in progress: • Sharc • Exogam • Tiara • Tigress • Gaspard • Spice • Paris • Eden • "Helios" (UK) • T-Rex • Hyde • Miniball • Various Silicon (S1,W1,...) Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  12. What is NPTool How to use it Features Running Detectors RRC66 (Riken): Paris-Gaspard-Must2 (Ganil): e628 (Ganil): Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  13. What is NPTool How to use it Features Running Adding new detectors in NPL Describe the Root Data format • TDetectorData class → Use of std::vector • TDetectorPhysics class → Use of std::vector Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  14. What is NPTool How to use it Features Running Adding new detectors in NPL Describe the Root Data format • TDetectorData class → Use of std::vector • TDetectorPhysics class → Use of std::vector in NPS Inherited from VDetector class: The DetectorManager: • ReadConfiguration • ConstructDetector • ReadSensitive • InitializeRootOutput • InitializeScorers Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  15. What is NPTool How to use it Features Running Adding new detectors in NPL Describe the Root Data format • TDetectorData class → Use of std::vector • TDetectorPhysics class → Use of std::vector in NPS Inherited from VDetector class: The DetectorManager: • ReadConfiguration • Declare your detector • ConstructDetector • Manage a std::vector<VDetector> • ReadSensitive • Take care of calling methods • InitializeRootOutput • InitializeScorers Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  16. What is NPTool How to use it Features Running Event Generators Physics Case • Beam • Source • Gamma decay • Particle decay • Two body reaction • Phase space reaction Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  17. What is NPTool How to use it Features Running Event Generators Physics Case • Beam • Source • Gamma decay • Particle decay • Two body reaction • Phase space reaction Versatility • User cross section • Beam emmitance or exp. distr. • Daisy chain Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  18. What is NPTool How to use it Features Running Event Generators Example Physics Case Beam Particle= 20Ne Energy= 50 • Beam . . . • Source %%%%%%%%%%%%%%% TwoBodyReaction • Gamma decay Beam= 20Ne Target= 12C Light= 4He • Particle decay Heavy= 28Si ExcitationEnergyLight= 0.0 • Two body reaction ExcitationEnergyHeavy= 10.0 CrossSectionPath= flat.txt CS10He ShootLight= 1 • Phase space reaction ShootHeavy= 1 %%%%%%%%%%%%%%%% ParticleDecay 28Si Daughter= 24Mg 4He Versatility ExcitationEnergy= 0.5 0 DifferentialCrossSection= TGenPhaseSpace particle28Si shoot= 1 1 • User cross section %%%%%%%%%%%%%%%% GammaDecay 24Mg • Beam emmitance or exp. distr. Cascade BranchingRatio= 70 Energies= 0.2 0.3 • Daisy chain Cascade BranchingRatio= 30 DifferentialCrossSection= Gamma.txt gamma24Mg Energies= 0.5 Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  19. What is NPTool How to use it Features Running Adding new event generators in NPS Inherited from VEventGenerator class: The EventGeneratorManager: • ReadConfiguration • GenerateEvent • InitializeRootOutput Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  20. What is NPTool How to use it Features Running Adding new event generators in NPS Inherited from VEventGenerator class: The EventGeneratorManager: • ReadConfiguration • Declare your event generator • GenerateEvent • Manage a std::vector<VEventGenerator> • InitializeRootOutput • Take care of calling methods Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  21. What is NPTool How to use it Features Running Simulation and Analysis • Input File saved in the Output • Calibration manager • Root Input/Output manager • Custom Threshold • Custom channel desabling Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  22. What is NPTool How to use it Features Running Simulation and Analysis • Input File saved in the Output • Calibration manager • Root Input/Output manager • Custom Threshold • Custom channel desabling Configuration file example for NPA ConfigMust2 MAX_STRIP_MULTIPLICITY 3 STRIP_ENERGY_MATCHING_NUMBER_OF_SIGMA 2 STRIP_ENERGY_MATCHING_SIGMA 0.02 DISABLE_CHANNEL MM1STRY12 DISABLE_ALL MM5 Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  23. What is NPTool How to use it Features Running Installing NPTool Requierement • GSL • Root • Geant4 (4.9.6) Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  24. What is NPTool How to use it Features Running Installing NPTool Requierement Downloading the source • GSL • web site : https://github.com/adrien-matta/nptool • Root • direct download • Geant4 (4.9.6) • git clone Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  25. What is NPTool How to use it Features Running Installing NPTool Requierement Downloading the source • GSL • web site : https://github.com/adrien-matta/nptool • Root • direct download • Geant4 (4.9.6) • git clone A few easy steps (to be found on the website) • Defining environment variable • Building NPL • Building NPS • Creating your NPA project Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

  26. What is NPTool How to use it Features Running Running a Simulation %%%%%%%%%%%%%%%%%%% Target Thickness= 0.001 Radius= 5 Material= CD2 Angle= 0 X= 0 Y= 0 Z= 0 %%%%%%%%%%%%%%%%%%% %Upstream Box SharcBOX Z= -30 ThicknessDector1= 100 ThicknessDector2= 100 ThicknessDector3= 100 ThicknessDector4= 100 Adrien MATTA , Nicolas de Sereville , Marc Labiche NPTool

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend