Skip to content

Commit

Permalink
adding 2024 miscellania
Browse files Browse the repository at this point in the history
  • Loading branch information
Salavat committed Mar 1, 2024
1 parent 6657a20 commit 61bd465
Show file tree
Hide file tree
Showing 5 changed files with 361 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4263,7 +4263,7 @@
"rangeMediumPileup": {
"rebin": 5,
"xAxisMax": 5000.0,
"xAxisMin": 3000.0,
"xAxisMin": 0.0,
"yAxisMax": -1.0,
"yAxisMin": 0.0
},
Expand Down
113 changes: 104 additions & 9 deletions Validation/CaloTowers/test/macros/RunRVMacros_2023.csh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif
mkdir ${NEW_VERS}_vs_${OLD_VERS}_RelVal
cd ${NEW_VERS}_vs_${OLD_VERS}_RelVal

cp ../html_indices/TopLevelRelVal_2023.html index.html
cp ../html_indices/TopLevelRelValSimHits.html index.html


#TTbar
Expand All @@ -44,37 +44,119 @@ mkdir TTbar/RecHits
mkdir TTbar/RBX
mkdir TTbar/HcalDigis

cp ../html_indices/RelVal_HcalDigis_2023.html TTbar/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits_2023.html | sed -e s/DATA_SAMPLE/TTbar/ > TTbar/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers.html TTbar/CaloTowers/index.html
cp ../html_indices/RelVal_HcalDigis2021.html TTbar/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2021.html | sed -e s/DATA_SAMPLE/TTbar/ > TTbar/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2021.html TTbar/CaloTowers/index.html
cp ../html_indices/RBX.html TTbar/RBX/index.html

#cp -r TTbar TTbarStartup
#mv TTbar TTbarMC

mkdir -p TTbar/SimHits
cp ../html_indices/RelVal_Simhits2021.html TTbar/SimHits/index.html

#QCD
mkdir QCD
mkdir QCD/CaloTowers
mkdir QCD/RecHits
mkdir QCD/RBX
mkdir QCD/HcalDigis

cp ../html_indices/RelVal_HcalDigis2018.html QCD/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2018.html | sed -e s/DATA_SAMPLE/QCD_80_120/ > QCD/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2018.html QCD/CaloTowers/index.html
cp ../html_indices/RBX.html QCD/RBX/index.html

#cp -r QCD QCDStartup
#mv QCD QCDMC

mkdir -p QCD/SimHits
cp ../html_indices/RelVal_Simhits2018.html QCD/SimHits/index.html

#High Pt QCD
mkdir HighPtQCD
mkdir HighPtQCD/CaloTowers
mkdir HighPtQCD/RecHits
mkdir HighPtQCD/RBX
mkdir HighPtQCD/HcalDigis

cp ../html_indices/RelVal_HcalDigis2018.html HighPtQCD/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2018.html | sed -e s/DATA_SAMPLE/QCD_3000_3500/ > HighPtQCD/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2018.html HighPtQCD/CaloTowers/index.html
cp ../html_indices/RBX.html HighPtQCD/RBX/index.html

mkdir -p HighPtQCD/SimHits
cp ../html_indices/RelVal_Simhits2018.html HighPtQCD/SimHits/index.html

#MinBias
mkdir MinBias
mkdir MinBias/CaloTowers
mkdir MinBias/RecHits
mkdir MinBias/RBX
mkdir MinBias/HcalDigis

cp ../html_indices/RelVal_HcalDigis_2023.html MinBias/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits_2023.html | sed -e s/DATA_SAMPLE/MinBias/ > MinBias/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers.html MinBias/CaloTowers/index.html
cp ../html_indices/RelVal_HcalDigis2021.html MinBias/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2021.html | sed -e s/DATA_SAMPLE/MinBias/ > MinBias/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2021.html MinBias/CaloTowers/index.html
cp ../html_indices/RBX.html MinBias/RBX/index.html

cd ..
mkdir -p MinBias/SimHits
cp ../html_indices/RelVal_Simhits2021.html MinBias/SimHits/index.html


#Single Pions

mkdir SinglePi50_ECAL+HCAL_Scan

cp ../html_indices/SinglePiScan.html SinglePi50_ECAL+HCAL_Scan/index.html

cd ../


#Process Startup TTbar
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}_Startup'","'${NEW_VERS}_Startup'","'HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root'","InputRelVal_Medium.txt")'
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root rangeMedium
cp InputRelVal.json-2023-12July2023 InputRelVal.json
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root rangeTTBar

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/RecHits/

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root'","InputRelVal_SimHits_Low_Free_y.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'
mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/SimHits

#Process Startup QCD
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}_Startup'","'${NEW_VERS}_Startup'","'HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root'","InputRelVal_Medium.txt")'

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root rangeQCD

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/RecHits/

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root'","InputRelVal_SimHits_Low_Free_y.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'
mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/SimHits

#Process Startup HighPtQCD
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}_Startup'","'${NEW_VERS}_Startup'","'HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root'","InputRelVal_High.txt")'
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root rangeHighPtQCD

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/RecHits/

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root'","InputRelVal_SimHits_Low_Free_y.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'
mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/SimHits

#Process Startup MinBias
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root'","InputRelVal_Low.txt")'
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root rangeLow
Expand All @@ -84,4 +166,17 @@ mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/RecHits/

#Process single pions

#set OLV = `echo ${OLD_VERS} | sed 's/\([^_]*\).*/\1/'`
#set NWV = `echo ${NEW_VERS} | sed 's/\([^_]*\).*/\1/'`
#./singlePi.exe ${OLV} ${NWV}
#mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/SinglePi50_ECAL+HCAL_Scan

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root'","InputRelVal_SimHits_Low.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'

mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/SimHits

exit
182 changes: 182 additions & 0 deletions Validation/CaloTowers/test/macros/RunRVMacros_2024.csh
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
#!/bin/env tcsh

#Check to see if the CMS environment is set up
if ($?CMSSW_BASE != 1) then
echo "CMS environment not set up"
# exit
endif

#Check for correct number of arguments
if ($#argv<2) then
echo "Script needs 2 input variable"
# exit
endif

set NEW_VERS=$1
set OLD_VERS=$2

# Two bit value with the first corresponding to whether the validation version is centrally
# harvested (1) or not (0) and the second to whether the reference version is harvested. Thus:
# 00: both are privately produced
# 01: reference version is harvested, validation version is private
# 10: validation version is harvested, reference version is private
# 11: both versions are harvested
# Any other value is the same as 0
set harvest=11

#Check if base directory already exists
if (-d ${NEW_VERS}_vs_${OLD_VERS}_RelVal) then
echo "Directory already exists"
exit
endif

#Create base directory and top directories
mkdir ${NEW_VERS}_vs_${OLD_VERS}_RelVal
cd ${NEW_VERS}_vs_${OLD_VERS}_RelVal

cp ../html_indices/TopLevelRelValSimHits.html index.html


#TTbar
mkdir TTbar
mkdir TTbar/CaloTowers
mkdir TTbar/RecHits
mkdir TTbar/RBX
mkdir TTbar/HcalDigis

cp ../html_indices/RelVal_HcalDigis2021.html TTbar/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2021.html | sed -e s/DATA_SAMPLE/TTbar/ > TTbar/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2021.html TTbar/CaloTowers/index.html
cp ../html_indices/RBX.html TTbar/RBX/index.html

#cp -r TTbar TTbarStartup
#mv TTbar TTbarMC

mkdir -p TTbar/SimHits
cp ../html_indices/RelVal_Simhits2021.html TTbar/SimHits/index.html

#QCD
mkdir QCD
mkdir QCD/CaloTowers
mkdir QCD/RecHits
mkdir QCD/RBX
mkdir QCD/HcalDigis

cp ../html_indices/RelVal_HcalDigis2018.html QCD/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2018.html | sed -e s/DATA_SAMPLE/QCD_80_120/ > QCD/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2018.html QCD/CaloTowers/index.html
cp ../html_indices/RBX.html QCD/RBX/index.html

#cp -r QCD QCDStartup
#mv QCD QCDMC

mkdir -p QCD/SimHits
cp ../html_indices/RelVal_Simhits2018.html QCD/SimHits/index.html

#High Pt QCD
mkdir HighPtQCD
mkdir HighPtQCD/CaloTowers
mkdir HighPtQCD/RecHits
mkdir HighPtQCD/RBX
mkdir HighPtQCD/HcalDigis

cp ../html_indices/RelVal_HcalDigis2018.html HighPtQCD/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2018.html | sed -e s/DATA_SAMPLE/QCD_3000_3500/ > HighPtQCD/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2018.html HighPtQCD/CaloTowers/index.html
cp ../html_indices/RBX.html HighPtQCD/RBX/index.html

mkdir -p HighPtQCD/SimHits
cp ../html_indices/RelVal_Simhits2018.html HighPtQCD/SimHits/index.html

#MinBias
mkdir MinBias
mkdir MinBias/CaloTowers
mkdir MinBias/RecHits
mkdir MinBias/RBX
mkdir MinBias/HcalDigis

cp ../html_indices/RelVal_HcalDigis2021.html MinBias/HcalDigis/index.html
cat ../html_indices/RelVal_RecHits2021.html | sed -e s/DATA_SAMPLE/MinBias/ > MinBias/RecHits/index.html
cp ../html_indices/RelVal_CaloTowers2021.html MinBias/CaloTowers/index.html
cp ../html_indices/RBX.html MinBias/RBX/index.html

mkdir -p MinBias/SimHits
cp ../html_indices/RelVal_Simhits2021.html MinBias/SimHits/index.html


#Single Pions

mkdir SinglePi50_ECAL+HCAL_Scan

cp ../html_indices/SinglePiScan.html SinglePi50_ECAL+HCAL_Scan/index.html

cd ../


#Process Startup TTbar
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}_Startup'","'${NEW_VERS}_Startup'","'HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root'","InputRelVal_Medium.txt")'
cp InputRelVal.json-2023-12July2023 InputRelVal.json
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root rangeTTBar

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/RecHits/

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root'","InputRelVal_SimHits_Low_Free_y.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_TTbar_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_TTbar_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'
mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/TTbar/SimHits

#Process Startup QCD
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}_Startup'","'${NEW_VERS}_Startup'","'HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root'","InputRelVal_Medium.txt")'

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root rangeQCD

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/RecHits/

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root'","InputRelVal_SimHits_Low_Free_y.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_QCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_QCD_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'
mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/QCD/SimHits

#Process Startup HighPtQCD
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}_Startup'","'${NEW_VERS}_Startup'","'HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root'","InputRelVal_High.txt")'
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root rangeHighPtQCD

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/RecHits/

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root'","InputRelVal_SimHits_Low_Free_y.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_HighPtQCD_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_HighPtQCD_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'
mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/HighPtQCD/SimHits

#Process Startup MinBias
#root -b -l -q 'RelValMacro.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root'","InputRelVal_Low.txt")'
./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root rangeLow

mv *HcalDigi*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/HcalDigis/
mv *CaloTowers*.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/CaloTowers/
mv RBX*gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/RBX/
mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/RecHits/

#Process single pions

#set OLV = `echo ${OLD_VERS} | sed 's/\([^_]*\).*/\1/'`
#set NWV = `echo ${NEW_VERS} | sed 's/\([^_]*\).*/\1/'`
#./singlePi.exe ${OLV} ${NWV}
#mv *gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/SinglePi50_ECAL+HCAL_Scan

./RelValMacro.py ${OLD_VERS} ${NEW_VERS} HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root rangeSim
#root -b -q 'RelValMacro_SimHitsValidationHcal.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root'","InputRelVal_SimHits_Low.txt",'${harvest}')'
#root -b -q 'RelValMacro_HcalSimHitsTask.C("'${OLD_VERS}'","'${NEW_VERS}'","'HcalRecHitValidationRelVal_MinBias_${OLD_VERS}.root'","'HcalRecHitValidationRelVal_MinBias_${NEW_VERS}.root'","InputRelVal_SimHits.txt",'${harvest}')'

mv *.gif ${NEW_VERS}_vs_${OLD_VERS}_RelVal/MinBias/SimHits

exit
Loading

0 comments on commit 61bd465

Please sign in to comment.