BTOF Operations (incl. slow controls)
Updated on Wed, 2025-03-19 14:56 by cj17. Originally created by geurts on 2020-02-03 12:45.
Under:
1. Find two primitive macros: $STAR/StRoot/StBTofPool/dbase/macros/tof_reload.C & tofsim_reload.C. Better to copy the whole macro directory to your own directory.
2. Change the old timestamp to the new timestamp for this year. Use Run25 as an example:
These are timestamp listed for Run25.
- Geometry tag has a timestamp of 20241210
- Simulation timeline [20241215 , 20241220]
- Database initialization for real data [20241225 , ...]
"gROOT->ProcessLine(".x table_reupload.C(\"Calibrations_tof\", \"tofINLSCorr\", \"ofl\", \"2024-12-25 00:00:00\",\"2024-12-26 00:00:00\"");"
This is the example code inside the macro. It means copy the parameter tables from the first time to second time.
The timestamp used in tof_reload.C. should be related with Real Data Timestamp.
The timestamp used in tofsim_reload.C should be related with Simulation Timestamp.
We could ask Gene for advice.
3. Run the command: setenv DB_ACCESS_MODE write
4. root4star -b -q -l tof_reload.C & tofsim_reload.C
Type "Yes" for every entry.
Barrel Time-of-Flight Operations
Barrel Time-of-Flight Database Initialisation at the Start of Run
1. Find two primitive macros: $STAR/StRoot/StBTofPool/dbase/macros/tof_reload.C & tofsim_reload.C. Better to copy the whole macro directory to your own directory.
2. Change the old timestamp to the new timestamp for this year. Use Run25 as an example:
These are timestamp listed for Run25.
- Geometry tag has a timestamp of 20241210
- Simulation timeline [20241215 , 20241220]
- Database initialization for real data [20241225 , ...]
"gROOT->ProcessLine(".x table_reupload.C(\"Calibrations_tof\", \"tofINLSCorr\", \"ofl\", \"2024-12-25 00:00:00\",\"2024-12-26 00:00:00\"");"
This is the example code inside the macro. It means copy the parameter tables from the first time to second time.
The timestamp used in tof_reload.C. should be related with Real Data Timestamp.
The timestamp used in tofsim_reload.C should be related with Simulation Timestamp.
We could ask Gene for advice.
3. Run the command: setenv DB_ACCESS_MODE write
4. root4star -b -q -l tof_reload.C & tofsim_reload.C
Type "Yes" for every entry.
»
- Printer-friendly version
- Login or register to post comments