Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-11 22:52:29

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 set InputGenSimSpec3 = $InputGenSimGRun3
0038 
0039 #
0040 # RAW input files for Real-Data tests
0041 #
0042 set InputLHCRawGRun0 = /store/data/Run2012A/MuEG/RAW/v1/000/191/718/14932935-E289-E111-830C-5404A6388697.root
0043 set InputLHCRawGRun1 = /store/data/Run2015D/MuonEG/RAW/v1/000/256/677/00000/80950A90-745D-E511-92FD-02163E011C5D.root
0044 set InputLHCRawGRun2 = /store/data/Run2016B/JetHT/RAW/v1/000/272/762/00000/C666CDE2-E013-E611-B15A-02163E011DBE.root
0045 set InputLHCRawGRun3 = /store/data/Run2023D/EphemeralHLTPhysics0/RAW/v1/000/370/293/00000/2ef73d2a-1fb7-4dac-9961-149525f9e887.root
0046 set InputLHCRawHIon1 = /store/hidata/HIRun2015/HIHardProbes/RAW/v1/000/263/718/00000/08057733-02A5-E511-9C7D-02163E014606.root
0047 set InputLHCRawHIon2 = /store/hidata/HIRun2018A/HIHardProbes/RAW/v1/000/326/479/00000/0E2CC5D5-9D87-7348-9219-B00CD718C847.root
0048 set InputLHCRawHIon3 = /store/hidata/HIRun2022A/HITestRaw0/RAW/v1/000/362/321/00000/f467ee64-fc64-47a6-9d8a-7ca73ebca2bd.root
0049 set InputLHCRawPIon2 = $InputLHCRawGRun2
0050 set InputLHCRawPRef2 = $InputLHCRawGRun2
0051 set InputLHCRawPIon3 = $InputLHCRawGRun3
0052 set InputLHCRawPRef3 = $InputLHCRawGRun3
0053 set InputLHCRawSpec3 = $InputLHCRawGRun3
0054 
0055 #
0056 # GlobalTags to be used
0057 #
0058 set BASE1MC  = auto:run1_mc
0059 set BASE1HLT = auto:run1_hlt
0060 set BASE1RD  = auto:run1_data
0061 set BASE2MC  = auto:run2_mc
0062 set BASE2HLT = auto:run2_hlt
0063 set BASE2RD  = auto:run2_data
0064 set BASE3MC  = auto:run3_mc
0065 set BASE3HLT = auto:run3_hlt
0066 set BASE3RD  = auto:run3_data
0067 
0068 set NNPPMC = 100
0069 set NNPPRD = 100
0070 set NNHIMC = 100
0071 set NNHIRD = 25
0072 
0073 set EraRun1        = " "
0074 set EraRun25ns     = " --era=Run2_25ns "
0075 set EraRun2pp2016  = " --era=Run2_2016 "
0076 set EraRun2pp2017  = " --era=Run2_2017 "
0077 set EraRun2pp2018  = " --era=Run2_2018 "
0078 set EraRun2HI      = " --era=Run2_2018_pp_on_AA "
0079 set EraRun3pp      = " --era=Run3_2023 "
0080 set EraRun3HI      = " --era=Run3_pp_on_PbPb_2023 "
0081 
0082 set XL1T    = "" # syntax: tag,record[,connect,label]
0083 set XL1TPP1 = "" # "L1GtTriggerMenu_L1Menu_Collisions2012_v1_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0084 set XL1TPP2 = "" # "L1GtTriggerMenu_L1Menu_Collisions2012_v2_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0085 set XL1TPP3 = "" # "L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0086 #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"
0087 set XL1THI  = "" # "L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2011_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0088 #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"
0089 set XL1TPI  = "" # "L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2013_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS"
0090 #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" 
0091 set XL1TLOWPU  = "" # ""
0092 
0093 # specific workflows, first varying the globaltags, then the hlt tables
0094 
0095 # Append new JECs (as long as not in GT):
0096 #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"
0097 #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"
0098 #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"
0099 
0100 #set XL1TPP1 = ${XL1TPP1}+${XJEC}
0101 #set XL1TPP2 = ${XL1TPP2}+${XJEC}
0102 #set XL1TPP3 = ${XJEC}
0103 #set XL1THI  = ${XJEC}
0104 #set XL1TPI  = ${XJEC}
0105 
0106 foreach gtag ( MC DATA )
0107   if ( $gtag == DATA ) then
0108     set BASE1  = $BASE1HLT
0109     set BASE2  = $BASE2HLT
0110     set BASE3  = $BASE3HLT
0111     set RECO1  = $BASE1RD
0112     set RECO2  = $BASE2RD
0113     set RECO3  = $BASE3RD
0114     set NNPP   = $NNPPRD
0115     set NNHI   = $NNHIRD
0116     set DATAMC = --data
0117     set PNAME  = HLT1
0118     set RNAME  = RECO1
0119   else  if ( $gtag == MC ) then
0120     set BASE1  = $BASE1MC
0121     set BASE2  = $BASE2MC
0122     set BASE3  = $BASE3MC
0123     set RECO1  = $BASE1MC
0124     set RECO2  = $BASE2MC
0125     set RECO3  = $BASE3MC
0126     set NNPP   = $NNPPMC
0127     set NNHI   = $NNHIMC
0128     set DATAMC = --mc
0129     set PNAME  = HLT
0130     set RNAME  = RECO
0131   else
0132     # unsupported
0133     continue
0134   endif
0135   
0136   if ( $1 == "" ) then
0137     set tables = ( GRun )
0138   else if ( ($1 == all) || ($1 == ALL) ) then
0139     set tables = ( GRun HIon PIon PRef Special 2024v13 Fake Fake1 Fake2 )
0140   else if ( ($1 == ib) || ($1 == IB) ) then
0141     set tables = ( GRun HIon PIon PRef Special )
0142   else if ( ($1 == dev) || ($1 == DEV) ) then
0143     set tables = ( GRun HIon PIon PRef Special )
0144   else if ( ($1 == full) || ($1 == FULL) ) then
0145     set tables = ( FULL )
0146   else if ( ($1 == fake) || ($1 == FAKE) ) then
0147     set tables = ( Fake Fake1 Fake2 )
0148   else if ( ($1 == frozen) || ($1 == FROZEN) ) then
0149     set tables = ( 2024v13 )
0150   else
0151     set tables = ( $1 )
0152   endif
0153   
0154   foreach table ( $tables )
0155 
0156     set name = ${table}_${gtag}  
0157 
0158     if ( $table == FULL ) then
0159       set XL1T = $XL1TPP3
0160       set XHLT = HLT:FULL
0161       set GTAG = ${BASE3}_FULL
0162       set RTAG = ${RECO3}_FULL
0163       set NN   = $NNPP
0164       set SCEN = pp
0165       set InputGenSim = $InputGenSimGRun3
0166       set InputLHCRaw = $InputLHCRawGRun3
0167       set Era  = $EraRun3pp
0168       set Custom = " "
0169       set L1REPACK = L1REPACK:Full
0170       set DIGI = DIGI:pdigi
0171     else if ( $table == Fake ) then
0172       set XL1T = $XL1TPP3
0173       set XHLT = HLT:Fake
0174       set GTAG = ${BASE1}_Fake
0175       set RTAG = ${RECO1}_Fake
0176       set NN   = $NNPP
0177       set SCEN = pp
0178       set InputGenSim = $InputGenSimGRun0
0179       set InputLHCRaw = $InputLHCRawGRun0
0180       set Era  = $EraRun1
0181       set Custom = " "
0182       set L1REPACK = L1REPACK:GT1
0183       set DIGI = DIGI:pdigi
0184     else if ( $table == Fake1 ) then
0185       set XL1T = $XL1TPP3
0186       set XHLT = HLT:Fake1
0187       set GTAG = ${BASE2}_Fake1
0188       set RTAG = ${RECO2}_Fake1
0189       set NN   = $NNPP
0190       set SCEN = pp
0191       set InputGenSim = $InputGenSimGRun1
0192       set InputLHCRaw = $InputLHCRawGRun1
0193       set Era  = $EraRun25ns
0194       set Custom = " "
0195       set L1REPACK = L1REPACK:GCTGT
0196       set DIGI = DIGI:pdigi
0197     else if ( $table == Fake2 ) then
0198       set XL1T = $XL1TPP3
0199       set XHLT = HLT:Fake2
0200       set GTAG = ${BASE2}_Fake2
0201       set RTAG = ${RECO2}_Fake2
0202       set NN   = $NNPP
0203       set SCEN = pp
0204       set InputGenSim = $InputGenSimGRun2
0205       set InputLHCRaw = $InputLHCRawGRun2
0206       set Era  = $EraRun2pp2016
0207       set Custom = " "
0208       set L1REPACK = L1REPACK:Full
0209       set DIGI = DIGI:pdigi
0210     else if ( $table == GRun ) then
0211       set XL1T = $XL1TPP3
0212       set XHLT = HLT:GRun
0213       set GTAG = ${BASE3}_GRun
0214       set RTAG = ${RECO3}_GRun
0215       set NN   = $NNPP
0216       set SCEN = pp
0217       set InputGenSim = $InputGenSimGRun3
0218       set InputLHCRaw = $InputLHCRawGRun3
0219       set Era  = $EraRun3pp
0220       set Custom = " "
0221       set L1REPACK = L1REPACK:Full
0222       set DIGI = DIGI:pdigi
0223     else if ( $table == 2024v13 ) then
0224       set XL1T = $XL1TPP3
0225       set XHLT = HLT:2024v13
0226       set GTAG = ${BASE3}_2024v13
0227       set RTAG = ${RECO3}_2024v13
0228       set NN   = $NNPP
0229       set SCEN = pp
0230       set InputGenSim = $InputGenSimGRun3
0231       set InputLHCRaw = $InputLHCRawGRun3
0232       set Era  = $EraRun3pp
0233       set Custom = " "
0234       set L1REPACK = L1REPACK:Full
0235       set DIGI = DIGI:pdigi
0236     else if ( $table == HIon ) then
0237       set XL1T = $XL1THI
0238       set XHLT = HLT:HIon
0239       set GTAG = ${BASE3}_HIon
0240       set RTAG = ${RECO3}_HIon
0241       set NN   = $NNHI
0242       set SCEN = pp
0243       set InputGenSim = $InputGenSimHIon3
0244       set InputLHCRaw = $InputLHCRawHIon3
0245       set Era  = $EraRun3HI
0246       set Custom = " "
0247       set L1REPACK = L1REPACK:Full
0248       set DIGI = DIGI:pdigi_hi_nogen
0249     else if ( $table == PIon ) then
0250       set XL1T = $XL1TPI
0251       set XHLT = HLT:PIon
0252       set GTAG = ${BASE3}_PIon
0253       set RTAG = ${RECO3}_PIon
0254       set NN   = $NNPP
0255       set SCEN = pp
0256       set InputGenSim = $InputGenSimPIon3
0257       set InputLHCRaw = $InputLHCRawPIon3
0258       set Era  = $EraRun3pp
0259       set Custom = " "
0260       set L1REPACK = L1REPACK:Full
0261       set DIGI = DIGI:pdigi
0262     else if ( $table == PRef ) then
0263       set XL1T = $XL1TPP3
0264       set XHLT = HLT:PRef
0265       set GTAG = ${BASE3}_PRef
0266       set RTAG = ${RECO3}_PRef
0267       set NN   = $NNPP
0268       set SCEN = pp
0269       set InputGenSim = $InputGenSimPRef3
0270       set InputLHCRaw = $InputLHCRawPRef3
0271       set Era  = $EraRun3pp
0272       set Custom = " "
0273       set L1REPACK = L1REPACK:Full
0274       set DIGI = DIGI:pdigi
0275     else if ( $table == Special ) then
0276       set XL1T = $XL1TPP3
0277       set XHLT = HLT:Special
0278       set GTAG = ${BASE3}_Special
0279       set RTAG = ${RECO3}_Special
0280       set NN   = $NNPP
0281       set SCEN = pp
0282       set InputGenSim = $InputGenSimSpec3
0283       set InputLHCRaw = $InputLHCRawSpec3
0284       set Era  = $EraRun3pp
0285       set Custom = " "
0286       set L1REPACK = L1REPACK:Full
0287       set DIGI = DIGI:pdigi      
0288     else
0289       # unsupported
0290       continue
0291     endif
0292 
0293     if ( $gtag == DATA ) then
0294 
0295     echo
0296     echo "Creating L1RePack $name"
0297 
0298     if ( $table == HIon ) then
0299     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
0300     else
0301     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
0302     endif
0303 
0304     else
0305 
0306 #   echo
0307 #   echo "Creating TTbarGenToHLT $name"
0308 #   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
0309 
0310     echo
0311     echo "Creating DigiL1Raw $name"
0312     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
0313 
0314     cat >>RelVal_DigiL1Raw_$name.py<<EOF
0315 process.options.numberOfThreads = cms.untracked.uint32(1)
0316 process.options.numberOfStreams = cms.untracked.uint32(1)
0317 EOF
0318 
0319     echo
0320     echo "Creating DigiL1RawHLT $name"
0321     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
0322 
0323     cat >>RelVal_DigiL1RawHLT_$name.py<<EOF
0324 process.options.numberOfThreads = cms.untracked.uint32(1)
0325 process.options.numberOfStreams = cms.untracked.uint32(1)
0326 EOF
0327 
0328 #   echo
0329 #   echo "Creating FastSim $name"
0330 #   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
0331 
0332     endif
0333 
0334     echo
0335     echo "Creating HLT $name"
0336     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
0337 
0338     echo
0339     echo "Creating HLT2 (re-running HLT) $name"
0340     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
0341 
0342     if ( $gtag == DATA ) then
0343 
0344     echo
0345     echo "Creating HLT+L1Reco+RECO $name"
0346     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
0347 
0348     if ( $table == HIon ) then
0349       set STEPS = "RAW2DIGI,L1Reco,RECO,DQM"
0350     else
0351       set STEPS = "RAW2DIGI,L1Reco,RECO,PAT,DQM"
0352     endif
0353 
0354     echo
0355     echo "Creating RECO+PAT+DQM $name"
0356     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
0357 
0358     else
0359 
0360     echo
0361     echo "Creating HLT+L1Reco+RECO $name"
0362     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
0363 
0364     echo
0365     echo "Creating RECO+PAT+VALIDATION+DQM $name"
0366     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
0367 
0368 
0369     endif
0370 
0371   end
0372 end