Code to manage data from the CRV test stand.
source /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art.shmuse setup (works with muse setup SimJob MDC2020n)
mkdir workDir cd workDir
git clone [email protected]:Mu2e/CRVteststand.git
cd CRVteststand
make
Make sure your files are pre-staged, if they are on tape.
Modify config.txt
./parserCrv Run_number
Example: ./parserCrv 001052_000
./calibCrv Run_number
./recoCrv Run_number
Example: root -l "DisplayEventsNew.C(\"/pnfs/mu2e/scratch/outstage/ehrlich/wideband9/crvreco/rec.mu2e.CRV_wideband_cosmics.crvaging-005-junk.001137.root\",\"channelMapCrvAging005.txt\")"
Make sure your files are pre-staged, if they are on tape.
Requires the following things
- Text file with a list of raw files to be processed.
- A directory that is accessible by the OSG, where the executables (parserCrv, calibCrv, and recoCrv) and the config.txt file are located. The paths mentioned in the config.txt are ignored by the OSG script
- An output directory that is accessible by the OSG, where the parsed, calib, and reco files will arrive.
- The submit script (processSubmit.sh) and script that runs at the OSG (processDo.sh). Both files are at github.
./processSubmit.sh -r listOfRawFiles.txt -e directoryOfExecutablesAndConfig -o outputDirectory