Skip to content

Commit

Permalink
Put a siwtch to skip the histograms valid for standard photons and no…
Browse files Browse the repository at this point in the history
…t for pfPhotons
  • Loading branch information
nancymarinelli committed Sep 3, 2013
1 parent 7f2442f commit dba6570
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions Validation/RecoEgamma/test/validation.csh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
setenv RUNTYPE Central
#setenv RUNTYPE Local
setenv STARTUP True
setenv FASTSIM True
setenv FASTSIM False
setenv UPGRADE False
## TYPE options: Photons, GEDPhotons
setenv TYPE Photons
#setenv TYPE GEDPhotons
#setenv TYPE Photons
setenv TYPE GEDPhotons
## ANALYZERNAME options: PhotonValidator, oldpfPhotonValidator, pfPhotonValidator
setenv ANALYZERNAME PhotonValidator
#setenv ANALYZERNAME pfPhotonValidator
#setenv ANALYZERNAME PhotonValidator
setenv ANALYZERNAME pfPhotonValidator

setenv CMSSWver1 6_2_0
setenv CMSSWver2 7_0_0
Expand All @@ -40,7 +40,7 @@ setenv LHCENERGY 14


if ( $STARTUP == True && $FASTSIM == False) then
setenv OLDGLOBALTAG PRE_ST62_V8-v2
setenv OLDGLOBALTAG PRE_ST62_V8-v3
setenv NEWGLOBALTAG PRE_ST62_V8-v1
else if ( $STARTUP == True && $FASTSIM == True) then
setenv OLDGLOBALTAG PRE_ST62_V8_FastSim-v3
Expand Down Expand Up @@ -71,9 +71,9 @@ setenv WorkDir2 /afs/cern.ch/user/n/nancy/scratch0/CMSSW/test/CMSSW_${CMSSWver

setenv PU False
#setenv SAMPLE SingleGammaPt10
#setenv SAMPLE SingleGammaPt35
setenv SAMPLE SingleGammaPt35
##setenv SAMPLE SingleGammaFlatPt10_100
setenv SAMPLE H130GGgluonfusion
#setenv SAMPLE H130GGgluonfusion
#setenv SAMPLE PhotonJets_Pt_10
#setenv SAMPLE GammaJets_Pt_80_120
#setenv SAMPLE QCD_Pt_80_120
Expand Down Expand Up @@ -1053,7 +1053,7 @@ end




if ($ANALYZERNAME == pfPhotonValidator) goto skippingHistosForTracks
foreach i (`cat scaledhistosForTracks`)
cat > temp$N.C <<EOF
TCanvas *c$i = new TCanvas("c$i");
Expand Down Expand Up @@ -1092,6 +1092,8 @@ EOF
setenv N `expr $N + 1`
end



foreach i (`cat unscaledhistosForTracks`)
cat > temp$N.C <<EOF
TCanvas *c$i = new TCanvas("c$i");
Expand Down Expand Up @@ -1140,7 +1142,8 @@ EOF
setenv N `expr $N + 1`
end


skippingHistosForTracks:
echo "Skipping histograms which are not defined for pfPhotons"



Expand Down

0 comments on commit dba6570

Please sign in to comment.