Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-12-22 00:36:58

0001 #!/bin/tcsh
0002 
0003 eval `scram runtime -csh`
0004 
0005 #
0006 # old files in castor: rfdir /castor/cern.ch/cms/store/...
0007 # new files in eos   : cmsLs /store/...
0008 # new files in eos   : eos ls /store/...
0009 #
0010 # EDM input files can be accessed from the cms-bot cache area (i.e. /eos/cms/store/user/cmsbuild)
0011 # To enable redirection to the cms-bot cache area, please set the following environment variables: (example in bash)
0012 #  > export CMS_PATH="/cvmfs/cms-ib.cern.ch"
0013 #  > export SITECONFIG_PATH="/cvmfs/cms-ib.cern.ch/SITECONF/local"
0014 #
0015 # IMPORTANT:
0016 #  when the names of the EDM files below are changed, make sure to execute the script
0017 #
0018 #  > ./HLTrigger/Configuration/test/testAccessToEDMInputsOfHLTTests_update_filelist.sh
0019 #
0020 #  to update the list of files to be cached in the IB-EOS area
0021 #  (see the readme in this directory for further details)
0022 #
0023 
0024 #
0025 # GEN-SIM input files for Monte-Carlo tests
0026 #
0027 set InputGenSimGRun0 = /store/relval/CMSSW_8_0_11/RelValProdTTbar/GEN-SIM/80X_mcRun1_realistic_v4-v1/10000/06A6C86B-C634-E611-93A5-0CC47A74525A.root
0028 set InputGenSimGRun1 = /store/relval/CMSSW_8_0_16/RelValProdTTbar_13/GEN-SIM/80X_mcRun2_asymptotic_v16_gs7120p2-v1/10000/06F2C3AC-8957-E611-9DDF-0025905B85D8.root
0029 set InputGenSimGRun2 = /store/relval/CMSSW_8_0_16/RelValProdTTbar_13/GEN-SIM/80X_mcRun2_asymptotic_v16_gs7120p2-v1/10000/06F2C3AC-8957-E611-9DDF-0025905B85D8.root
0030 set InputGenSimGRun3 = /store/relval/CMSSW_12_3_0_pre6/RelValTTbar_14TeV/GEN-SIM/123X_mcRun3_2021_realistic_v11-v1/10000/29297788-21c3-4bf2-afe0-5382f08fbcd5.root
0031 set InputGenSimHIon1 = /store/relval/CMSSW_8_0_16/RelValZEEMM_13_HI/GEN-SIM/80X_mcRun2_HeavyIon_v9-v1/10000/F8FC5F64-1657-E611-A57E-002590A887F0.root
0032 set InputGenSimHIon3 = /store/relval/CMSSW_12_3_0_pre6/RelValZEE_14_HI_2021/GEN-SIM/123X_mcRun3_2021_realistic_HI_v11-v2/10000/3c102f6f-4b70-4b09-b646-504bc104414d.root
0033 set InputGenSimPIon2 = $InputGenSimGRun2
0034 set InputGenSimPRef2 = $InputGenSimGRun2
0035 set InputGenSimPIon3 = $InputGenSimGRun3
0036 set InputGenSimPRef3 = $InputGenSimGRun3
0037 
0038 #
0039 # RAW input files for Real-Data tests
0040 #
0041 set InputLHCRawGRun0 = /store/data/Run2012A/MuEG/RAW/v1/000/191/718/14932935-E289-E111-830C-5404A6388697.root
0042 set InputLHCRawGRun1 = /store/data/Run2015D/MuonEG/RAW/v1/000/256/677/00000/80950A90-745D-E511-92FD-02163E011C5D.root
0043 set InputLHCRawGRun2 = /store/data/Run2016B/JetHT/RAW/v1/000/272/762/00000/C666CDE2-E013-E611-B15A-02163E011DBE.root
0044 set InputLHCRawGRun3 = /store/data/Run2022B/HLTPhysics/RAW/v1/000/355/456/00000/69b26b27-4bd1-4524-bc18-45f7b9b5e076.root
0045 set InputLHCRawHIon1 = /store/hidata/HIRun2015/HIHardProbes/RAW/v1/000/263/718/00000/08057733-02A5-E511-9C7D-02163E014606.root
0046 set InputLHCRawHIon2 = /store/hidata/HIRun2018A/HIHardProbes/RAW/v1/000/326/479/00000/0E2CC5D5-9D87-7348-9219-B00CD718C847.root
0047 set InputLHCRawHIon3 = /store/hidata/HIRun2022A/HITestRaw0/RAW/v1/000/362/321/00000/f467ee64-fc64-47a6-9d8a-7ca73ebca2bd.root
0048 set InputLHCRawPIon2 = $InputLHCRawGRun2
0049 set InputLHCRawPRef2 = $InputLHCRawGRun2
0050 set InputLHCRawPIon3 = $InputLHCRawGRun3
0051 set InputLHCRawPRef3 = $InputLHCRawGRun3
0052 
0053 #
0054 # GlobalTags to be used
0055 #
0056 set BASE1MC  = auto:run1_mc
0057 set BASE1HLT = auto:run1_hlt
0058 set BASE1RD  = auto:run1_data
0059 set BASE2MC  = auto:run2_mc
0060 set BASE2HLT = auto:run2_hlt
0061 set BASE2RD  = auto:run2_data
0062 set BASE3MC  = auto:run3_mc
0063 set BASE3HLT = auto:run3_hlt
0064 set BASE3RD  = auto:run3_data
0065 
0066 set NNPPMC = 100
0067 set NNPPRD = 100
0068 set NNHIMC = 100
0069 set NNHIRD = 25
0070 
0071 set EraRun1        = " "
0072 set EraRun25ns     = " --era=Run2_25ns "
0073 set EraRun2pp2016  = " --era=Run2_2016 "
0074 set EraRun2pp2017  = " --era=Run2_2017 "
0075 set EraRun2pp2018  = " --era=Run2_2018 "
0076 set EraRun2HI      = " --era=Run2_2018_pp_on_AA "
0077 set EraRun3pp      = " --era=Run3 "
0078 set EraRun3HI      = " --era=Run3_pp_on_PbPb "
0079  
0080 set XL1T    = "" # syntax: tag,record[,connect,label]
0081 set XL1TPP1 = "" # "L1GtTriggerMenu_L1Menu_Collisions2012_v1_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0082 set XL1TPP2 = "" # "L1GtTriggerMenu_L1Menu_Collisions2012_v2_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0083 set XL1TPP3 = "" # "L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0084 #set XL1TPP3 = "L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc,L1GtTriggerMenuRcd,sqlite_file:/afs/cern.ch/user/g/ghete/public/L1Menu/L1Menu_Collisions2012_v3/sqlFile/L1Menu_Collisions2012_v3_mc.db"
0085 set XL1THI  = "" # "L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2011_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0086 #set XL1THI = "L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2011_v0_mc,L1GtTriggerMenuRcd,sqlite_file:/afs/cern.ch/user/g/ghete/public/L1Menu/L1Menu_CollisionsHeavyIons2011_v0/sqlFile/L1Menu_CollisionsHeavyIons2011_v0_mc.db"
0087 set XL1TPI  = "" # "L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2013_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0088 #set XL1TPI =  "L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2013_v0_mc,L1GtTriggerMenuRcd,sqlite_file:/afs/cern.ch/user/g/ghete/public/L1Menu/L1Menu_CollisionsHeavyIons2013_v0/sqlFile/L1Menu_CollisionsHeavyIons2013_v0_mc.db" 
0089 set XL1TLOWPU  = "" # ""
0090 
0091 # specific workflows, first varying the globaltags, then the hlt tables
0092 
0093 # Append new JECs (as long as not in GT):
0094 #set XJEC = "JetCorrectorParametersCollection_HLT_V1_AK4Calo,JetCorrectionsRecord,frontier://FrontierPrep/CMS_COND_PHYSICSTOOLS,AK4CaloHLT+JetCorrectorParametersCollection_HLT_trk1B_V1_AK4PF,JetCorrectionsRecord,frontier://FrontierPrep/CMS_COND_PHYSICSTOOLS,AK4PFHLT"
0095 #set XJEC = "JetCorrectorParametersCollection_AK5Calo_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_CONDITIONS,AK5CaloHLT+JetCorrectorParametersCollection_AK5PF_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_CONDITIONS,AK5PFHLT+JetCorrectorParametersCollection_AK5PFchs_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_CONDITIONS,AK5PFchsHLT"
0096 #set XJEC = "JetCorrectorParametersCollection_AK5PF_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_CONDITIONS,AK5PFHLT+JetCorrectorParametersCollection_AK5PFchs_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_CONDITIONS,AK5PFchsHLT"
0097 
0098 #set XL1TPP1 = ${XL1TPP1}+${XJEC}
0099 #set XL1TPP2 = ${XL1TPP2}+${XJEC}
0100 #set XL1TPP3 = ${XJEC}
0101 #set XL1THI  = ${XJEC}
0102 #set XL1TPI  = ${XJEC}
0103 
0104 foreach gtag ( MC DATA )
0105   if ( $gtag == DATA ) then
0106     set BASE1  = $BASE1HLT
0107     set BASE2  = $BASE2HLT
0108     set BASE3  = $BASE3HLT
0109     set RECO1  = $BASE1RD
0110     set RECO2  = $BASE2RD
0111     set RECO3  = $BASE3RD
0112     set NNPP   = $NNPPRD
0113     set NNHI   = $NNHIRD
0114     set DATAMC = --data
0115     set PNAME  = HLT1
0116     set RNAME  = RECO1
0117   else  if ( $gtag == MC ) then
0118     set BASE1  = $BASE1MC
0119     set BASE2  = $BASE2MC
0120     set BASE3  = $BASE3MC
0121     set RECO1  = $BASE1MC
0122     set RECO2  = $BASE2MC
0123     set RECO3  = $BASE3MC
0124     set NNPP   = $NNPPMC
0125     set NNHI   = $NNHIMC
0126     set DATAMC = --mc
0127     set PNAME  = HLT
0128     set RNAME  = RECO
0129   else
0130     # unsupported
0131     continue
0132   endif
0133   
0134   if ( $1 == "" ) then
0135     set tables = ( GRun )
0136   else if ( ($1 == all) || ($1 == ALL) ) then
0137     set tables = ( GRun HIon PIon PRef 2022v15 Fake Fake1 Fake2 )
0138   else if ( ($1 == ib) || ($1 == IB) ) then
0139     set tables = ( GRun HIon PIon PRef )
0140   else if ( ($1 == dev) || ($1 == DEV) ) then
0141     set tables = ( GRun HIon PIon PRef )
0142   else if ( ($1 == full) || ($1 == FULL) ) then
0143     set tables = ( FULL )
0144   else if ( ($1 == fake) || ($1 == FAKE) ) then
0145     set tables = ( Fake Fake1 Fake2 )
0146   else if ( ($1 == frozen) || ($1 == FROZEN) ) then
0147     set tables = ( 2022v15 )
0148   else
0149     set tables = ( $1 )
0150   endif
0151   
0152   foreach table ( $tables )
0153 
0154     set name = ${table}_${gtag}  
0155 
0156     if ( $table == FULL ) then
0157       set XL1T = $XL1TPP3
0158       set XHLT = HLT:FULL
0159       set GTAG = ${BASE3}_FULL
0160       set RTAG = ${RECO3}_FULL
0161       set NN   = $NNPP
0162       set SCEN = pp
0163       set InputGenSim = $InputGenSimGRun3
0164       set InputLHCRaw = $InputLHCRawGRun3
0165       set Era  = $EraRun3pp
0166       set Custom = " "
0167       set L1REPACK = L1REPACK:Full
0168       set DIGI = DIGI:pdigi
0169     else if ( $table == Fake ) then
0170       set XL1T = $XL1TPP3
0171       set XHLT = HLT:Fake
0172       set GTAG = ${BASE1}_Fake
0173       set RTAG = ${RECO1}_Fake
0174       set NN   = $NNPP
0175       set SCEN = pp
0176       set InputGenSim = $InputGenSimGRun0
0177       set InputLHCRaw = $InputLHCRawGRun0
0178       set Era  = $EraRun1
0179       set Custom = " "
0180       set L1REPACK = L1REPACK:GT1
0181       set DIGI = DIGI:pdigi
0182     else if ( $table == Fake1 ) then
0183       set XL1T = $XL1TPP3
0184       set XHLT = HLT:Fake1
0185       set GTAG = ${BASE2}_Fake1
0186       set RTAG = ${RECO2}_Fake1
0187       set NN   = $NNPP
0188       set SCEN = pp
0189       set InputGenSim = $InputGenSimGRun1
0190       set InputLHCRaw = $InputLHCRawGRun1
0191       set Era  = $EraRun25ns
0192       set Custom = " "
0193       set L1REPACK = L1REPACK:GCTGT
0194       set DIGI = DIGI:pdigi
0195     else if ( $table == Fake2 ) then
0196       set XL1T = $XL1TPP3
0197       set XHLT = HLT:Fake2
0198       set GTAG = ${BASE2}_Fake2
0199       set RTAG = ${RECO2}_Fake2
0200       set NN   = $NNPP
0201       set SCEN = pp
0202       set InputGenSim = $InputGenSimGRun2
0203       set InputLHCRaw = $InputLHCRawGRun2
0204       set Era  = $EraRun2pp2016
0205       set Custom = " "
0206       set L1REPACK = L1REPACK:Full
0207       set DIGI = DIGI:pdigi
0208     else if ( $table == GRun ) then
0209       set XL1T = $XL1TPP3
0210       set XHLT = HLT:GRun
0211       set GTAG = ${BASE3}_GRun
0212       set RTAG = ${RECO3}_GRun
0213       set NN   = $NNPP
0214       set SCEN = pp
0215       set InputGenSim = $InputGenSimGRun3
0216       set InputLHCRaw = $InputLHCRawGRun3
0217       set Era  = $EraRun3pp
0218       set Custom = " "
0219       set L1REPACK = L1REPACK:Full
0220       set DIGI = DIGI:pdigi
0221     else if ( $table == 2022v15 ) then
0222       set XL1T = $XL1TPP3
0223       set XHLT = HLT:2022v15
0224       set GTAG = ${BASE3}_2022v15
0225       set RTAG = ${RECO3}_2022v15
0226       set NN   = $NNPP
0227       set SCEN = pp
0228       set InputGenSim = $InputGenSimGRun3
0229       set InputLHCRaw = $InputLHCRawGRun3
0230       set Era  = $EraRun3pp
0231       set Custom = " "
0232       set L1REPACK = L1REPACK:Full
0233       set DIGI = DIGI:pdigi
0234     else if ( $table == HIon ) then
0235       set XL1T = $XL1THI
0236       set XHLT = HLT:HIon
0237       set GTAG = ${BASE3}_HIon
0238       set RTAG = ${RECO3}_HIon
0239       set NN   = $NNHI
0240       set SCEN = pp
0241       set InputGenSim = $InputGenSimHIon3
0242       set InputLHCRaw = $InputLHCRawHIon3
0243       set Era  = $EraRun3HI
0244       set Custom = " "
0245       set L1REPACK = L1REPACK:Full
0246       set DIGI = DIGI:pdigi_hi_nogen
0247     else if ( $table == PIon ) then
0248       set XL1T = $XL1TPI
0249       set XHLT = HLT:PIon
0250       set GTAG = ${BASE3}_PIon
0251       set RTAG = ${RECO3}_PIon
0252       set NN   = $NNPP
0253       set SCEN = pp
0254       set InputGenSim = $InputGenSimPIon3
0255       set InputLHCRaw = $InputLHCRawPIon3
0256       set Era  = $EraRun3pp
0257       set Custom = " "
0258       set L1REPACK = L1REPACK:Full
0259       set DIGI = DIGI:pdigi
0260     else if ( $table == PRef ) then
0261       set XL1T = $XL1TPP3
0262       set XHLT = HLT:PRef
0263       set GTAG = ${BASE3}_PRef
0264       set RTAG = ${RECO3}_PRef
0265       set NN   = $NNPP
0266       set SCEN = pp
0267       set InputGenSim = $InputGenSimPRef3
0268       set InputLHCRaw = $InputLHCRawPRef3
0269       set Era  = $EraRun3pp
0270       set Custom = " "
0271       set L1REPACK = L1REPACK:Full
0272       set DIGI = DIGI:pdigi
0273     else
0274       # unsupported
0275       continue
0276     endif
0277 
0278     if ( $gtag == DATA ) then
0279 
0280     echo
0281     echo "Creating L1RePack $name"
0282 
0283     if ( $table == HIon ) then
0284     cmsDriver.py RelVal                 --step=$L1REPACK                                   --conditions=$GTAG --filein=$InputLHCRaw                        --custom_conditions=$XL1T --fileout=RelVal_L1RePack_$name.root      --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW'               --eventcontent=RAW                     --customise=HLTrigger/Configuration/CustomConfigs.L1T     $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_L1RePack_$name.py --customise=L1Trigger/Configuration/L1Trigger_custom.customiseResetPrescalesAndMasks --customise=HLTrigger/Configuration/CustomConfigs.customiseL1TforHIonRepackedRAW
0285     else
0286     cmsDriver.py RelVal                 --step=$L1REPACK                                   --conditions=$GTAG --filein=$InputLHCRaw                        --custom_conditions=$XL1T --fileout=RelVal_L1RePack_$name.root      --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW'               --eventcontent=RAW                     --customise=HLTrigger/Configuration/CustomConfigs.L1T     $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_L1RePack_$name.py --customise=L1Trigger/Configuration/L1Trigger_custom.customiseResetPrescalesAndMasks
0287     endif
0288 
0289     else
0290 
0291 #   echo
0292 #   echo "Creating TTbarGenToHLT $name"
0293 #   cmsDriver.py TTbar_Tauola_13TeV_TuneCUETP8M1_cfi --step=GEN,SIM,DIGI,L1,DIGI2RAW,$XHLT              --conditions=$GTAG                                              --custom_conditions=$XL1T  --fileout=RelVal_GenSim_$name.root       --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW-HLT'           --eventcontent=FEVTDEBUGHLT            --customise=HLTrigger/Configuration/CustomConfigs.L1THLT  $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_GenSim_$name.py
0294 
0295     echo
0296     echo "Creating DigiL1Raw $name"
0297     cmsDriver.py RelVal                 --step=$DIGI,L1,DIGI2RAW                           --conditions=$GTAG --filein=$InputGenSim                        --custom_conditions=$XL1T  --fileout=RelVal_DigiL1Raw_$name.root    --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW'               --eventcontent=RAWSIM                  --customise=HLTrigger/Configuration/CustomConfigs.L1T     $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_DigiL1Raw_$name.py
0298 
0299     cat >>RelVal_DigiL1Raw_$name.py<<EOF
0300 process.options.numberOfThreads = cms.untracked.uint32(1)
0301 process.options.numberOfStreams = cms.untracked.uint32(1)
0302 EOF
0303 
0304     echo
0305     echo "Creating DigiL1RawHLT $name"
0306     cmsDriver.py RelVal                 --step=$DIGI,L1,DIGI2RAW,$XHLT                     --conditions=$GTAG --filein=$InputGenSim                        --custom_conditions=$XL1T  --fileout=RelVal_DigiL1RawHLT_$name.root --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW-HLT'           --eventcontent=FEVTDEBUGHLT            --customise=HLTrigger/Configuration/CustomConfigs.L1THLT  $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_DigiL1RawHLT_$name.py  --processName=$PNAME
0307 
0308     cat >>RelVal_DigiL1RawHLT_$name.py<<EOF
0309 process.options.numberOfThreads = cms.untracked.uint32(1)
0310 process.options.numberOfStreams = cms.untracked.uint32(1)
0311 EOF
0312 
0313 #   echo
0314 #   echo "Creating FastSim $name"
0315 #   cmsDriver.py TTbar_Tauola_13TeV_TuneCUETP8M1_cfi --step=GEN,SIM,RECOBEFMIX,DIGI,L1,DIGI2RAW,L1Reco,RECO,$XHLT --fast --conditions=$GTAG                             --custom_conditions=$XL1T  --fileout=FastSim_GenToHLT_$name.root    --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RECO'              --eventcontent FEVTDEBUGHLT            --customise=HLTrigger/Configuration/CustomConfigs.L1THLT  $Era --customise=$Custom  --scenario=$SCEN --python_filename=FastSim_GenToHLT_$name.py     --processName=$PNAME
0316 
0317     endif
0318 
0319     echo
0320     echo "Creating HLT $name"
0321     cmsDriver.py RelVal                 --step=$XHLT                                       --conditions=$GTAG --filein=file:RelVal_Raw_$name.root          --custom_conditions=$XL1T  --fileout=RelVal_HLT_$name.root          --number=$NN $DATAMC --no_exec --datatier 'SIM-DIGI-RAW-HLTDEBUG'          --eventcontent=FEVTDEBUGHLT            --customise=HLTrigger/Configuration/CustomConfigs.L1THLT  $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_HLT_$name.py           --processName=$PNAME
0322 
0323     echo
0324     echo "Creating HLT2 (re-running HLT) $name"
0325     cmsDriver.py RelVal                 --step=$XHLT                                       --conditions=$GTAG --filein=file:RelVal_HLT_$name.root          --custom_conditions=$XL1T  --fileout=RelVal_HLT2_$name.root         --number=$NN $DATAMC --no_exec --datatier 'SIM-DIGI-RAW-HLTDEBUG'          --eventcontent=RAW                     --customise=HLTrigger/Configuration/CustomConfigs.L1THLT  $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_HLT2_$name.py          --processName=HLT2
0326 
0327     if ( $gtag == DATA ) then
0328 
0329     echo
0330     echo "Creating HLT+L1Reco+RECO $name"
0331     cmsDriver.py RelVal                 --step=$XHLT,RAW2DIGI,L1Reco,RECO                  --conditions=$RTAG --filein=file:RelVal_Raw_$name.root          --custom_conditions=$XL1T  --fileout=RelVal_HLT_RECO_$name.root     --number=$NN $DATAMC --no_exec --datatier 'SIM-RAW-HLT-RECO'               --eventcontent=RAW                     --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --customise=HLTrigger/Configuration/CustomConfigs.HLTRECO --customise=HLTrigger/Configuration/CustomConfigs.customiseGlobalTagForOnlineBeamSpot $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_HLT_Reco_$name.py      --processName=$PNAME
0332 
0333     if ( $table == HIon ) then
0334       set STEPS = "RAW2DIGI,L1Reco,RECO,DQM"
0335     else
0336       set STEPS = "RAW2DIGI,L1Reco,RECO,PAT,DQM"
0337     endif
0338 
0339     echo
0340     echo "Creating RECO+PAT+DQM $name"
0341     cmsDriver.py RelVal                 --step=$STEPS                                      --conditions=$RTAG --filein=file:RelVal_HLT_$name.root          --custom_conditions=$XL1T  --fileout=RelVal_RECO_$name.root         --number=$NN $DATAMC --no_exec --datatier 'RECO,MINIAOD,DQMIO'             --eventcontent=RECO,MINIAOD,DQM        --customise=HLTrigger/Configuration/CustomConfigs.Base    $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_RECO_$name.py          --processName=$RNAME
0342 
0343     else
0344 
0345     echo
0346     echo "Creating HLT+L1Reco+RECO $name"
0347     cmsDriver.py RelVal                 --step=$XHLT,RAW2DIGI,L1Reco,RECO                  --conditions=$RTAG --filein=file:RelVal_Raw_$name.root          --custom_conditions=$XL1T  --fileout=RelVal_HLT_RECO_$name.root     --number=$NN $DATAMC --no_exec --datatier 'SIM-RAW-HLT-RECO'               --eventcontent=RAW                     --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --customise=HLTrigger/Configuration/CustomConfigs.HLTRECO $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_HLT_Reco_$name.py      --processName=$PNAME
0348 
0349     echo
0350     echo "Creating RECO+PAT+VALIDATION+DQM $name"
0351     cmsDriver.py RelVal                 --step=RAW2DIGI,L1Reco,RECO,PAT,VALIDATION,DQM     --conditions=$RTAG --filein=file:RelVal_DigiL1RawHLT_$name.root --custom_conditions=$XL1T  --fileout=RelVal_RECO_$name.root         --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-RECO,MINIAODSIM,DQMIO'  --eventcontent=RECOSIM,MINIAODSIM,DQM  --customise=HLTrigger/Configuration/CustomConfigs.Base    $Era --customise=$Custom  --scenario=$SCEN --python_filename=RelVal_RECO_$name.py          --processName=$RNAME
0352 
0353 
0354     endif
0355 
0356   end
0357 end