MINOS - CalDetTracker Muon Tracking Package
UCL MINOS Homepage
Back to my MINOS
Back Muon Tracker Top Page
Writing the Calibration Constants to the Database
This is here for the sake completeness for the time being. You really should ask Chris Smith or Ryan Nichol before you do this.
First edit: writeChrisNumsToDB.C
Set validity start and end dates:
VldTimeStamp fvldstart = VldTimeStamp(2002,10,2,12,0,0); //Angle 2002
VldTimeStamp fvldend = VldTimeStamp(2002,10,3,12,0,0); //Angle 2002
Next you have to be able to write to the database. From a shell, use 'minossoftsetupwriter' to enable and 'minossoftsetup' afterwards to cancel.
If you can't do this type env | grep SQL'
You should see something like:
ENV_TSQL_USER=reader
ENV_TSQL_URL=mysql:odbc://pcminos01.cern.ch/offline
ENV_TSQL_PSWD=numiXX
type ENV_TSQL_USER=writer
then loon -bq writeChrisNumsToDB.C to run the program
Don't forget to cancel writer mode with ENV_TSQL_USER=reader
Back to Muon Tracker Top Page