Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
s800_spectcl [2018/05/02 16:20] pereira [S800 SpecTcl deployment] |
s800_spectcl [2024/11/15 11:31] (current) swartzj [Sample spectra] |
| |
| |
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''. | The SpecTcl Control has been adapted for special functions required for the analysis of S800 data. SpecTcl can be opened from computer [[Software#u4pc8 (data U4)|u4pc8]] by clicking on the icon **SpecTcl** located in its desktop, or from a Linux terminal by typing ''gospectcl_s800''. |
| |
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**. | 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 TreeParameter class ===== | ===== The TreeParameter class ===== |
The TreeParameter class provides a mean to implement parameters in SpecTcl in a tree-like structure and without the need to specify parameter identification numbers. The parameters are referred to by their names only, which at the same time indicate their location in the tree. This reference mechanism is valid for both the coding part of SpecTcl (C++ code) and the interpreter part (Tcl/Tk shell). It eliminates the confusion induced by the use of numerals to refer to the parameters, and allows the user to organize the parameters in a logical fashion. | The TreeParameter class provides a means of implementing parameters in SpecTcl in a tree-like structure and without the need to specify parameter identification numbers. The parameters are referred to by their names only, which at the same time indicate their location in the tree. This reference mechanism is valid for both the coding part of SpecTcl (C++ code) and the interpreter part (Tcl/Tk shell). It eliminates the confusion induced by the use of numerals to refer to the parameters, and allows the user to organize the parameters in a logical fashion. |
| |
| |
* **.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-positions 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 being 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 |
| |
| |
===== Sample spectra ===== | ===== Sample spectra ===== |
The following figures depict some of the S800 SpecTcl spectra used for the tunning of the S800. | The following figures depict some of the S800 SpecTcl spectra used for the tuning of the S800. |
| |
| |
- Connect to s800 account, preferably from u6pc5. | - Connect to s800 account, preferably from u6pc5. |
- 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). | - 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 **/user/s800/s800develop/s800spectcl_develop** and clean its content | - Go to **/user/s800/s800develop/** and remove directory **s800spectcl** |
- Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git -b master'' (NOTE: the deployment of this repository is password protected. Contact Jorge Pereira (pereira@nscl.msu.edu), Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for assistance). | - Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git -b master'' (NOTE: the deployment of this repository is password protected. Contact Jorge Pereira (pereira@nscl.msu.edu), Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for assistance). |
- Type ''Make -f Make.s800 Install''. This Makefile does the following: | - Type ''Make -f Make.s800 Install''. This Makefile does the following: |
- Connect to s800 account, preferably from u6pc5. | - Connect to s800 account, preferably from u6pc5. |
- Check that the environment variable SPECTCLDEPLOY is well defined: ''echo $SPECTCLDEPLOY'' should give you **/user/s800/s800spectcl_deploy**. If that's not the case, edit .bashrc and define the variable (make sure to source .bashrc afterwards). | - Check that the environment variable SPECTCLDEPLOY is well defined: ''echo $SPECTCLDEPLOY'' should give you **/user/s800/s800spectcl_deploy**. If that's not the case, edit .bashrc and define the variable (make sure to source .bashrc afterwards). |
- Go to **/user/s800/s800develop/s800spectcl_develop** and clean its content | - Go to **/user/s800/s800develop/** and remove directory **s800spectcl** |
- Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git -b master'' (NOTE: the deployment of this repository is password protected. Contact Jorge Pereira (pereira@nscl.msu.edu), Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for help) | - Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git -b master'' (NOTE: the deployment of this repository is password protected. Contact Jorge Pereira (pereira@nscl.msu.edu), Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for help) |
- Type ''Make -f Make.s800 Deploy''. This Makefile does the following: | - Type ''Make -f Make.s800 Deploy''. This Makefile does the following: |