- General information
- Data readiness
- Calibration
- BeamLine Constraint
- Calibration Run preparation
- Calibration Schedules
- Calibration topics by dataset
- Docs
- STAR Automated Calibration Project
- SVT Calibrations
- TPC Calibrations
- Drift velocity
- Enter TPC gains into database
- Field Cage Shorts
- Miscellaneous TPC calibration notes
- Padrow 13 and Padrow 40 static distortions
- RunXI dE/dx calibration recipe
- SpaceCharge and GridLeak
- TPC Hit Errors
- TPC OmegaTau
- TPC Sector Alignment
- TPC Slewing
- TPC T0s
- TPC de/dx
- TPC survey instructions
- Twist (ExB) Distortion
- Databases
- Quality Assurance
- Calibration
- Grid and Cloud
- Infrastructure
- Machine Learning
- Offline Software
- Production
- S&C internal group meetings
- Test tree
Enter TPC gains into database
Updated on Sat, 2006-05-20 16:46. Originally created by hjort on 2006-05-20 16:46.
Under:
The TPC gains file is usually found at
rts02.starp.bnl.gov:/RTS/conf/tpc_gains.txt
Somebody like Tonko or Blair usually announces when a new file has been created on the calib-hn list. To update the database get this file into your working directory. You will also need to get a file RowPadToFEE.txt from, e.g., /star/u/jecc/tpcwrk. Finally you need to run the macro that Fabrice Retiere wrote called MakeGainT0Y4Copy.C, available from, e.g., /star/u/jedd/tpcwrk/StRoot/macros. Usage of this macro is
.x MakeGainT0Y4.C(const char* gaintxt, const char* timestamp)
where timestamp is in the format "2006-05-10 15:06:00". Note that the format "yyyymmdd_hhmmss" is no longer supported so older documentation may be wrong. Usually the creation date for tpc_gains.txt on rts02 is used for the timestamp. This macro loads three tables: tpcGain, tpcISTimeOffsets and tpcOSTimeOffsets and will create three corresponding .root files in your working directory. You should also keep a dated copy of the text file for possible use by others, named something like tpc_gains_20060510_150600.txt.
rts02.starp.bnl.gov:/RTS/conf/tpc_gains.txt
Somebody like Tonko or Blair usually announces when a new file has been created on the calib-hn list. To update the database get this file into your working directory. You will also need to get a file RowPadToFEE.txt from, e.g., /star/u/jecc/tpcwrk. Finally you need to run the macro that Fabrice Retiere wrote called MakeGainT0Y4Copy.C, available from, e.g., /star/u/jedd/tpcwrk/StRoot/macros. Usage of this macro is
.x MakeGainT0Y4.C(const char* gaintxt, const char* timestamp)
where timestamp is in the format "2006-05-10 15:06:00". Note that the format "yyyymmdd_hhmmss" is no longer supported so older documentation may be wrong. Usually the creation date for tpc_gains.txt on rts02 is used for the timestamp. This macro loads three tables: tpcGain, tpcISTimeOffsets and tpcOSTimeOffsets and will create three corresponding .root files in your working directory. You should also keep a dated copy of the text file for possible use by others, named something like tpc_gains_20060510_150600.txt.
»
- Printer-friendly version
- Login or register to post comments