User Tools

Site Tools


s800_spectcl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
s800_spectcl [2013/12/12 12:49]
pereira
s800_spectcl [2018/03/09 14:42]
pereira [S800 SpecTcl installation in S800 computer]
Line 1: Line 1:
 ====== S800 SpecTcl ====== ====== S800 SpecTcl ======
-SpecTcl is the NSCL's event data analysis tool used for online and offline data analysis during experiments involving the S800 spectrograph. The documentation is accessible at: http://docs.nscl.msu.edu/daq/spectcl/ +SpecTcl is the NSCL's event data analysis tool used for online and offline data analysis during experiments involving the S800 spectrograph. The documentation is accessible at: http://docs.nscl.msu.edu/daq/spectcl/
  
 +The S800 SpecTcl is run from the main directory **/user/s800/s800spectcl**. Instruction on how to install this software can be found [[S800 SpecTcl#S800 SpecTcl installation in S800 computer|here]]. 
  
-The SpecTcl Control has been adapted for special functions required for the analysis of S800 data. Fig xxx shows the GUI control of the S800 analysis. 
  
-{{:wiki:SpecTclcontrol.jpg}}+The SpecTcl Control has been adapted for special functions required for the analysis of S800 data. SpecTcl can be open by from computer [[Software#u6pc5 (data U6)|u6pc5]] by clicking in the icon **SpecTcl** located in its desktop, or from a Linux terminal by typing ''gospectcl''
  
 +Spectra definition files can be found in directory **/user/s800/s800spectcl/Definitions**. Some pre-defined windows with useful spectra can be found in directory **/user/s800/s800spectcl/Windows**.
  
 +The figure below shows the GUI control of the S800 analysis. 
  
-The inverse map which enables the trajectory reconstruction of the particles within the spectrograph beam line can be loaded. Snapshots of CRDC and TPPAC events sampled in the pads and strips can be viewed. If this option is "armed", the sample is read out for the first event that falls into the specified gate. This is a diagnostics tool to analyze the response of the CRDCs and TPPACs. +{{:wiki:SpecTclcontrol.jpg}} 
 + 
 +The inverse map which enables the trajectory reconstruction of the particles within the spectrograph beam line can be loaded. Snapshots of [[Detectors#Cathode Readout Drift Chambers (CRDC)|CRDC]] and [[Detectors#Tracking Parallel Plate Avalanche Counters (TPPAC)|TPPAC]] events sampled in the pads and strips can be viewed. If this option is "armed", the sample is read out for the first event that falls into the specified gate. This is a diagnostics tool to analyze the response of the CRDCs and TPPACs. 
    
  
Line 18: Line 22:
  
  
-==== Frequently used parameters for the S800 ====+==== Frequently used parameters for S800 SpecTcl ====
  
-  * s800.fp.ic.sum: energy loss measured with the ion chamber +  * **s800.fp.ic.sum**: energy loss measured with the ion chamber 
  
-  * s800.fp.crdc1 s800.fp.crdc2 +  * **s800.fp.crdc1 s800.fp.crdc2** 
-    * .x and .y: x and y positions of the particles hitting the CRDCs (calibrated)  +    * **.x** and **.y**: x and y positions of the particles hitting the CRDCs (calibrated)  
-    *  .tac: the raw drift time of the electrons in the CRDCs which finally relates to the y position via the mask calibration  +    * **.tac**: the raw drift time of the electrons in the CRDCs which can be related to the y position via the mask calibration  
-    *  .calc.x_gravity, .calc.x_fit: the x position in the CRDCs calculated using two methods (center-of-gravity or Gaussian fit) to determine the CRDC x position from the charge distribution induced in the pads by the electrons drifting towards the anode wire. +    * **.calc.x_gravity****.calc.x_fit**: the x position in the CRDCs calculated using two methods (center-of-gravity or Gaussian fit) to determine the CRDC x position from the charge distribution induced in the pads by the electrons drifting towards the anode wire. 
-    *  .anode: amplitude of the CRDC anode signal (used for diagnostics)  +    *  **.anode**: amplitude of the CRDC anode signal (used for diagnostics)  
-  * s800.fp.track +  * **s800.fp.track** 
-    *.afp: dispersive angle in the focal plane calculated from the x-y positions of the particles measured with the CRDCs  +    * **.afp**: dispersive angle in the focal plane calculated from the x-y positions of the particles measured with the CRDCs  
-    *.ata and .bta: dispersive and non-dispersive angle of the particles after interaction with the reaction target. These parameters are reconstructed using the "inverse map" +    * **.ata** and **.bta**: dispersive and non-dispersive angle of the particles after interaction with the reaction target. These parameters are reconstructed using the "inverse map" 
-    *.dta: kinetic energy of the particles determined from the CRDC's x-postions and the spectrograph Brho. Using the relativistic relation between energy and momentum yields the momentum distribution of the particles +    * **.dta**: kinetic energy of the particles determined from the CRDC's x-postions and the spectrograph Brho. Using the relativistic relation between energy and momentum yields the momentum distribution of the particles 
-    *.scatter: the particle's scattering angle off the target calculated from the reconstructed parameters "ata" and "bta" +    * **.scatter**: the particle's scattering angle off the target calculated from the reconstructed parameters "ata" and "bta" 
-  * s800.tof +  * **s800.tof** 
-    *.rf: time of flight relative to the cyclotron RF  +    * **.rf**: time of flight relative to the cyclotron RF  
-    *.obj, .obje1, obje2: time of flight between the S800 trigger scintillator and the object scintillator. Endings e1 and e2 indicate flight-path corrections beeing applied, for example using information from the scintillators E1 or E2 .  +    * **.obj****.obje1****.obje2**: time of flight between the S800 trigger scintillator and the object scintillator. Endings e1 and e2 indicate flight-path corrections beeing applied, for example using information from the scintillators E1 or E2 .  
-    *.xfp, .xfpe1, .xfpe2: time of flight between the S800 trigger scintillator and the extended focal plane scintillator of the A1900+    * **.xfp****.xfpe1****.xfpe2**: time of flight between the S800 trigger scintillator and the extended focal plane scintillator of the A1900
    
  
-Important Variables +==== Frequently used variables for S800 SpecTcl ====
 (to be set on the "Variables" page of the GUI)  (to be set on the "Variables" page of the GUI) 
  for the CRDCs (n=1,2 for crdc1 and crdc2):  for the CRDCs (n=1,2 for crdc1 and crdc2):
-• s800.fp.crdcn 
-o .x_offset: offset in the x calibration, chosen to center the "beam hole" (see mask calibration) at 0 mm.  
-o .x_slope: the slope of the x calibration. This value is always 2.54 mm/pad since the geometry of the pads inside the CRDCs is fixed 
-o .y_offset: y offset in mm to be determined from the mask calibration  
-o .y_slope: y slope in mm/ns to be determined from the mask calibration  
  
-s800.fp.crdcn.calc +  * **s800.fp.crdc1** and **s800.fp.crdc2**  
-o .method: 1 sets "center of gravity" as method to determine the x position from the charge distribution in the pads, 2 enables the usage of the fit method  +    * **.x_offset**: offset in the x calibration, chosen to center the "beam hole" (see mask calibration) at 0 mm.  
-o .gravity_width: sets the number of pads used to determine the center of gravity  +    * **.x_slope**: the slope of the x calibration. This value is always 2.54 mm/pad since the geometry of the pads inside the CRDCs is fixed 
-o .fit_width: number of pads taken for the Gaussian fit  +    * **.y_offset**: y offset in mm to be determined from the mask calibration  
-o .badpads: total number of pads declared as "bad" (see point below)  +    * **.y_slope**: y slope in mm/ns to be determined from the mask calibration  
-o .badpad.mm: declares pad no. mm as "bad pad" and removes it from the calculation that determines the x position +  * **s800.fp.crdc1.calc** and **s800.fp.crdc2.calc** 
 +    * **.method**: 1 sets "center of gravity" as method to determine the x position from the charge distribution in the pads, 2 enables the usage of the fit method  
 +    * **.gravity_width**: sets the number of pads used to determine the center of gravity  
 +    * **.fit_width**: number of pads taken for the Gaussian fit  
 +    * **.badpads**: total number of pads declared as "bad" (see point below)  
 +    * **.badpad.mm**: declares pad no. mm as "bad pad" and removes it from the calculation that determines the x position  
 +  * **s800.fp.track** 
 +    * **.order**: sets the order to which the reconstruction (inverse map) will be performed (typically 5th order)  
 +    * **.map.maxorder**: determined by the inverse map. The maximum order is typically 5 and set automatically as soon as the inverse map is sourced in SpecTcl  
 +    * **.anglea** and **angleb**: offset in angle (dispersive and non-dispersive) of the incoming beam hitting the target. The reconstruction assumes a beam without initial angles. The variables anglea and angleb have to be adjusted to center the angle distribution in the spectrum "bta vs. ata" so that the incoming angles are accounted for in the reconstruction 
 +  * **s800.tof** 
 +    * **.objCorrection**, **.obje1Correction**, **.obje2Correction**: corrections applied to the TOF measured between the object scintillator and the trigger scintillator. Details of the corrections will change from experiment to experiment and are accessible via the CS800.cpp file of the S800 SpecTcl source code  
 +    * **.xfpCorrection**, **.xfpe1Correction**, **.xfpe2Correction**: corrections applied to the TOF measured between the extended focal plane scintillator (A1900) and the trigger scintillator. Details of the corrections will change from experiment to experiment and are accessible via the CS800.cpp file of the S800 SpecTcl source code 
 + 
  
-• s800.fp.track +===== Sample spectra ===== 
-o .order: sets the order to which the reconstruction (inverse map) will be performed (typically 5th order)  +The following figures depict some of the S800 SpecTcl spectra used for the tunning of the S800.
-o .map.maxorder: determined by the inverse map. The maximum order is typically 5 and set automatically as soon as the inverse map is sourced in SpecTcl  +
-o anglea and angleb: offset in angle (dispersive and non-dispersive) of the incoming beam hitting the targetThe reconstruction assumes a beam without initial angles. The variables anglea and angleb have to be adjusted to center the angle distribution in the spectrum "bta vs. ata" so that the incoming angles are accounted for in the reconstruction+
  
  
-• s800.tof +==== Energy loss in the ion chamber vstime of flight measured between the object scintillator and the E1 scintillator (trigger) at the end of the focal plane ==== 
-o objCorrection, obje1Correction, obje2Correction: corrections applied to the TOF measured between the object scintillator and the trigger scintillator. Details of the corrections will change from experiment to experiment and are accessible via the CS800.cpp file of the S800 SpecTcl source code  + 
-o xfpCorrection, xfpe1Correction, xfpe2Correction: corrections applied to the TOF measured between the extended focal plane scintillator (A1900and the trigger scintillator. Details of the corrections will change from experiment to experiment and are accessible via the CS800.cpp file of the S800 SpecTcl source code +{{:wiki:s800_pid.jpg?600}} 
- + 
 +//  
 +//  
 +//  
 +//  
 +//  
 +//  
 + 
 +====(In)elastic scattering of the incoming "cocktail beam" on a Au target (spectrograph in focus mode) ==== 
 + 
 +{{:wiki:s800_identification.jpg?600}} 
 + 
 + 
 + 
 + 
 +==== Sn-124 primary beam passing a thick Al viewer at the target position (focused optics) ==== 
 + 
 +{{:wiki:working_crdc2_sn124.jpg}} 
 + 
 +**Upper left**: Three <sup>124</sup>Sn charge states in the CRDC2 x-y spectrum 
  
 +**Upper right**: Amplitude of the CRDC2 anode signal vs. drift time (this is a diagnostics spectrum showing that the response of the CRDC is not correlated with the y position). 
  
 +**Lower left**: Raw drift time measured in CRDC2
  
 +**Lower right**: Charge distribution induced in the pads by the three <sup>124</sup>Sn charge states hitting CRDC2. 
  
  
  
  
 +===== S800 SpecTcl installation in S800 computer =====
 +Before installing the S800 SpecTcl make sure to contact the S800 Device Physicist (Jorge Pereira). The process  requires special password permits. Make sure to contact Jorge Pereira (pereira@nscl.msu.edu) or, Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for assistance.
  
 +In order to install S800 SpecTcl in the S800 computer, follow the following steps:
  
 +  - Check that the environment variable SPECTCLBINDIR is well defined: '' echo $SPECTCLBINDIR '' should give you **/user/s800/s800spectcl**. If that's not the case, edit .bashrc and define the variable (make sure to source .bashrc afterwards).
 +  - Go to **~/s800develop/s800spectcl_develop** and clean its content
 +  - Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git master'' (NOTE: the deployment of this repository is password protected)
 +  - Type ''Make -f Make.s800 Install''. This Makefile does the following:
 +            - Goes to subdirectory **/libnumrec**, runs make clean, and make LIBLITE (to clear objects and create library libnumreclite.a and moves the library to the **../src** subdirectory 
 +            - Goes to subdirectory **/src**, runs make clean, and make (this creates the SpecTcl binary) and moves it to the Main directory (up)
 +            - Creates SpecTcl-running directory defined in **SPECTCLBINDIR=/user/s800/s800spectcl**, along with subdirectories **/Windows** and **/Definitions**. 
 +            - Moves "control" tcl files from Main directory into **/user/s800/s800spectcl**, along with executable SpecTcl; Xamine6.ctbl to the home directory; windows files to **/Windows** and s800xdt.tcl to **/Definitions** .
 +  - This gets the software necessary to run SpecTcl ready in directory **/user/s800/s800spectcl**.
 +  - SpecTcl can now be run just by typing ''gospectcl'' from any terminal
  
  
 +.............................
  
s800_spectcl.txt · Last modified: 2023/09/20 16:00 by swartzj