"clusterDPhiToSeed[2]",
    "clusterDEtaToSeed[0]",
    "clusterDEtaToSeed[1]",
    "clusterDEtaToSeed[2]",
]

barrelVariables = [
    "scSeedCryEta", "scSeedCryPhi", "scSeedCryIeta", "scSeedCryIphi"
]

endcapVariables = ["scPreshowerEnergy/scRawEnergy"]

commonVariablesEB = commonVariables + barrelVariables
commonVariablesEE = commonVariables + endcapVariables

batch = RegressionParametricJobLauncher()
batch.baseDir = "/home/llr/cms/sauvan/RegressionTraining/"
batch.baseName = "GBR_Clustering_70pre11_Photons"
batch.inputFiles = inputFiles
batch.outputDirectory = "/home/llr/cms/sauvan/DATA/sauvan/RegressionResults/StudyClustering/70pre11/Test/GBR_Clustering_Photons_MoreVariables_PtCut50_PtSlope50_Sig5/"
batch.commonOptions = [
    "MinEvents=200", "Shrinkage=0.1", "NTrees=1000", "MinSignificance=5.0",
    "RandomSeed=eventNumber+123456*scIndex",
    "EventWeight=min(1,exp(-(genPt-50)/50))"
]
batch.commonVariablesEB = commonVariablesEB
batch.commonVariablesEE = commonVariablesEE
batch.commonCutsEB = ["scIsEB"]
batch.commonCutsEE = ["!scIsEB"]
batch.commonCuts = ["(eventNumber%2==0)&&(isMatched==1)"]
batch.commonCutsError = [