Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:14:30

0001 #! /bin/bash
0002 
0003 # Find runs with a hot map in the CDB
0004 hotmapslist="all_runs_with_hotmap.txt"
0005 find /cvmfs/sphenix.sdcc.bnl.gov/calibrations/sphnxpro/cdb/CEMC_BadTowerMap/ -name '*cdb.root' | grep -E -o '[0-9]{5}cdb.root' | cut -d 'c' -f1 | sort | uniq > $hotmapslist
0006 
0007 # Find intersection of GoldenFEM and hotmap run lists
0008 outfile="emcal_withmaps.txt"
0009 grep -Ff $hotmapslist "GoldenFEMrunList.txt" > $outfile