diff --git a/Validation/RecoEgamma/test/validation.csh b/Validation/RecoEgamma/test/validation.csh index 74401ed1f58a1..2bb04f9213467 100755 --- a/Validation/RecoEgamma/test/validation.csh +++ b/Validation/RecoEgamma/test/validation.csh @@ -162,8 +162,11 @@ setenv NEWFILE ${WorkDir2}/PhotonValidationRelVal${NEWRELEASE}_PhotonJets_Pt_10. else if ( $RUNTYPE == Central ) then setenv OLDFILE ${WorkDir1}/DQM_V0001_R000000001__RelValPhotonJets_Pt_10__CMSSW_${OLDRELEASE}-${OLDGLOBALTAG}__DQM.root +if ( $UPGRADE == True ) then +setenv NEWFILE ${WorkDir2}/DQM_V0001_R000000001__RelValPhotonJets_Pt_10_${UPGRADEVER}__CMSSW_${NEWRELEASE}-${NEWGLOBALTAG}__DQM.root +else setenv NEWFILE ${WorkDir2}/DQM_V0001_R000000001__RelValPhotonJets_Pt_10__CMSSW_${NEWRELEASE}-${NEWGLOBALTAG}__DQM.root - +endif endif else if ($SAMPLE == GammaJets_Pt_80_120) then