Download GAMOS 5.0.0 User`s Guide
Transcript
Chapter 17. Detector applications the same track reaching the target (i.e., with a cut you kill the track that reaches the target and the parent track). Therefore you might have an overcounting of the number of tracks killed by a cut. To avoid this the total number of tracks (the last lines of output) is not computed as the sum of tracks in the region. This number uses a histogram that contains only one entry per track reaching the target, the one corresponding to the track with the smallest range. If you want to set a different cut for each region and are worried for this double counting, you may have a look at the histogram named "trackInfos per Track in target", that plots per each track reaching the target how many track informations are kept in the histograms. Another useful histogram for this case may be the 2D histogram "trackInfo Region vs trackInfo Region", that plots all the region number of all the pairs of track informations that correspond to the same track reaching the target (you can get a list of which region number corresponds to which region at the end of the standard output file). To use this utility in GAMOS it is only needed to add this command in your script: /gamos/userAction GmProdCutsStudyUA DetCutsStudyFilter that will use as target condition that a track enters a sensitive detector This command will produce at the end of run a table and a histogram file with the needed information. The table will contain the minimum range that can be applied for each region/particle/process not to lose any track reaching the target, and it will look like this %%%%% PRODUCTION CUTS STUDY RESULTS GmProdCutsStudyUA: REGION= DefaultRegionForTheWorld PARTICLE= gamma PROCESS= ALL MIN RANGE= 353161.38 GmProdCutsStudyUA: REGION= DefaultRegionForTheWorld PARTICLE= gamma PROCESS= eBrem MIN RANGE= 353161.38 To get the cuts values for not losing a given percentage of particles in the target plane you can execute the ROOT script that can be found at GamosCore/GamosPhysics/Cuts/getProdCutsEffect.C : root -b -p -q .x getProdCutsEffect.C++\(\"prodcuts.root\",percentage\) and look at the last lines of output, those that contain the word ’FINAL’, like the following ones PARTICLE= e+ FINAL= 17 / 19 PARTICLE= e- FINAL= 72 / 34185 PARTICLE= gamma FINAL= 72 / 34184 Automatic determination of user limits for a detector The method used in GAMOS to determine the minimum range user limits is similar to the one used to determine the best production cuts. The main difference is that when a track reaches the target we do not have to look at the range it had when created, but at the range it had in every step. This is because even if we want the minimum step, the track may have crossed several regions and the smallest range may not correspond to the last step. What we do nevertheless is to consider only the last step when there are a set of contiguous steps in the same region. Also for the ancestor tracks we have to store the information of each step, starting of course with the one when the track that reached the target (or its n-th ancestor if we are looking at the (n+1)-th ancestor) was created. The same warning as for the production cuts should be mentioned here, but in this case it is more than a mere warning: when a track reaches the target, we accumulate one-track information of the last step in each region, for each of the ancestor tracks. Therefore it is very likely that there are more than one track information per track reaching the target, and therefore there will be overcounting of the number of tracks killed by a cut. As for the production cuts you should keep an eye on this. 169