///////////////////////////////////////////////////////////////////////////////////////////// //////////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.)