This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
s800_spectcl [2018/03/09 14:37] pereira [S800 SpecTcl installation in S800 computer] |
s800_spectcl [2023/09/20 16:00] (current) swartzj |
||
---|---|---|---|
Line 2: | Line 2: | ||
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:// | 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:// | ||
- | The S800 SpecTcl is run from the main directory **/ | + | **Important NOTES**: |
+ | * The S800 SpecTcl is run from the main directory **/ | ||
+ | * A S800 SpecTcl packet (compressed tar file) can be created for distribution to users. Instructions on how to create this packet can be found [[S800 SpecTcl# | ||
- | 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 | + | The SpecTcl Control has been adapted for special functions required for the analysis of S800 data. SpecTcl can be opened |
Spectra definition files can be found in directory **/ | Spectra definition files can be found in directory **/ | ||
Line 18: | Line 20: | ||
===== The TreeParameter class ===== | ===== The TreeParameter class ===== | ||
- | The TreeParameter class provides a mean to implement | + | The TreeParameter class provides a means of implementing |
Line 34: | Line 36: | ||
* **.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 " | * **.ata** and **.bta**: dispersive and non-dispersive angle of the particles after interaction with the reaction target. These parameters are reconstructed using the " | ||
- | * **.dta**: kinetic energy of the particles determined from the CRDC's x-postions | + | * **.dta**: kinetic energy of the particles determined from the CRDC's x-positions |
* **.scatter**: | * **.scatter**: | ||
* **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 | + | * **.obj**, **.obje1**, **.obje2**: time of flight between the S800 trigger scintillator and the object scintillator. Endings e1 and e2 indicate flight-path corrections |
* **.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 | ||
Line 104: | Line 106: | ||
===== S800 SpecTcl installation in S800 computer ===== | ===== S800 SpecTcl installation in S800 computer ===== | ||
- | Before installing the S800 SpecTcl make sure to contact the S800 Device Physicist (Jorge Pereira). | + | Before installing the S800 SpecTcl make sure to contact the S800 Device Physicist (Jorge Pereira). |
In order to install S800 SpecTcl in the S800 computer, follow the following steps: | 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 / | + | |
- | - Go to ~/ | + | |
- | - Clone the master branch from the remote repository: git clone git@git.nscl.msu.edu: | + | - Go to **/ |
- | - Type "Make -f Make.s800 Install". This Makefile does the following: | + | - Clone the master branch from the remote repository: |
- | - 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 | + | - Type '' |
- | - Goes to subdirectory /src, runs make clean, and make (this creates the SpecTcl binary) and moves it to the Main directory (up) | + | - Goes to subdirectory |
- | - Creates SpecTcl-running directory defined in SPECTCLBINDIR=/ | + | - Goes to subdirectory |
- | - Moves " | + | - Creates SpecTcl-running directory defined in **SPECTCLBINDIR=/ |
- | - This gets the software necessary to run SpecTcl ready in directory / | + | - Moves " |
- | - I added a script | + | - This gets the software necessary to run SpecTcl ready in directory |
+ | - SpecTcl can now be run just by typing '' | ||
+ | |||
+ | |||
+ | ===== S800 SpecTcl deployment ===== | ||
+ | This section describes the procedure and scripts (Makefiles) | ||
+ | |||
+ | * " | ||
+ | * **/src** subdirectory with source cpp and h files, Makefile, and libnumreclite.a library from Numerical Recipes | ||
+ | * **/ | ||
+ | * **/ | ||
+ | |||
+ | |||
+ | The procedure to deploy this software works as follows: | ||
+ | |||
+ | - Connect to s800 account, preferably from u6pc5. | ||
+ | - Check that the environment variable SPECTCLDEPLOY is well defined: '' | ||
+ | - Go to **/ | ||
+ | - Clone the master branch from the remote repository: '' | ||
+ | - Type '' | ||
+ | - Goes to subdirectory **/ | ||
+ | - Creates deployment directory defined in **SPECTCLDEPLOY=/ | ||
+ | - Moves " | ||
+ | - Compresses directory **/ | ||
+ | - Removes **/ | ||
+ | - The compressed file s800spectcl_deploy.tar.gz is located in the home directory **/ | ||
- | ............................. | ||