Document generated by Hector Alvarez Pol @ USC (hector.alvarez@usc.es), 23/09/2014 Last update by Hector Alvarez Pol @ USC (hector.alvarez@usc.es), 23/09/2014 Additional data on macros for analysis of protons and gamma with phoswich endcap crystals at the end ---------------------------------------------------------------------------------- Directory r3broot/macros/r3b/califa contents: TUM/ macros for iPhos simulation, see README in the directory auto/ macros for automatization the simulation of the BARREL s438/ directory for experiment s438 macros and results README This file SIMULATION PART r3ball.C basic macros for running the CALIFA simulation r3bsim.C basic macros for running the CALIFA simulation r3bevtvis.C eventDisplay.C checkResults.C analysis and visualization macro for the results of the CsI BARREL and CsI Forward End Cap simulation. It should be configured in the SETTINGS section within the macro. checkResults_*.C different versions of the previous macro for the CEPA Phoswich End Cap analysis and visualization. califaAna.C califaAnaCal.C r3bevtvis.C califasim.C _______________________________________________________________________________________________________ ///////////////////////////////////////////////////////////////////////////////////////////// //////////Jos/ Sanchez del Rio, for the R3B Collaboration//////////////////////////////////// //////////Uses of Macros for analysis of protons and gamma with phoswich endcap crystals///// //////////For any question, contact with: josesrs@gmail.com & jose.sanchez@csic.es/////////// ///////////////////////////////////////////////////////////////////////////////////////////// We use 3 general macros that allow us to run R3BRoot (see fairroot documentation): 1.r3bsim.C 2.CalifaAna.C 3.CheckResults.C r3sim.C connects with r3ball.C. We can change some parameters like Primary Energy, Beta, Number of Events, Kind of Events used, Version of The Calorimeter etc. modifying these macros. In the case of protons for phoswich endcap crystals, we are going to use the folowing macro: checkresults_Protons_50MeV.C. It has the resolutions of the phoswich crystals and it generates a 2D histogram TH2F representing the energy deposited in the first crystals vs the energy deposited in the first and in the second crystals. We can study as well reaction p,2p from the outfile generated by L. Chulkov (GSI,2001) code to study the kinematics of quasielastic scattering of high energy protons on a cluster inside a nucleus. To control de input parameters of R3BRoot, we will manage the macros developed by E.Nacher and B.Pietras. The file of R3BRoot that performs this analysys is CheckResults_Protons_50MeV_p2p.C. It is for phoswich endcap crystals. In the case of phoswich crystals and for gamma radiation analysis with the crystal resolutions incorporated, we can use CheckResults_Gamma_50MeV.C (it can be adaptated to any energy, any version of the cal., etc.)