Private Production for W'->tb MC with Summer11 Configurations

STEP 1: GEN-SIM

Prepare the environment at LPC

(cd to your working area at LPC)

source /uscmst1/prod/sw/cms/cshrc prod
cmsrel CMSSW_4_1_6
cd CMSSW_4_1_6/src

cmsenv
source /uscmst1/prod/grid/CRAB/crab.csh
source /uscmst1/prod/grid/gLite_SL5.csh
voms-proxy-init -voms cms  -valid 192:0

Check-out the Gen configurations

cmscvsroot CMSSW
cvs login 
(enter password 98passwd)
cvs co Configuration/GenProduction
scramv1 b

Create the GEN-SIM python configuration (please replace crab_wpr_1900_left with a different name, wpr_tb_1900_left_plus_SM_all.lhe to a different LHE file):

mkdir crab_wpr_1900_left
cd crab_wpr_1900_left
cmsDriver.py Configuration/GenProduction/python/Hadronizer_TuneZ2_7TeV_comphep_cff.py --python_filename Wprime_GEN_SIM.py --fileout Wprime_GEN_SIM.root -s GEN,SIM --conditions START311_V2::All --beamspot Realistic7TeV2011Collision --datatier GEN-SIM --eventcontent RAWSIM --filetype=LHE --filein file:/eos/uscms/store/user/samirg28/LHE_Wprime_TO_tb/wpr_tb_1900_left_plus_SM_all.lhe --no_exec -n 50

Create a crab.cfg with the contents below (please replace /store/user/kfjack to your storage area, and replace WprimeToTB_1900_Left to a proper name)

[CRAB]
jobtype = cmssw
scheduler = condor 

[CMSSW]
datasetpath=None
generator = lhe
pset=Wprime_GEN_SIM.py
output_file = Wprime_GEN_SIM.root 
total_number_of_events=60000
events_per_job=300

[USER]
return_data = 0
copy_data = 1
storage_element = cmssrm.fnal.gov
storage_path = /srm/managerv2?SFN=11
user_remote_dir = /store/user/kfjack

publish_data_name = WprimeToTB_1900_Left
publish_data = 1
dbs_url_for_publication = https://cmsdbsprod.cern.ch:8443/cms_dbs_ph_analysis_01_writer/servlet/DBSServlet
check_user_remote_dir = 0

Then, just create the job and submit:

crab -create
crab -submit

Once the job is done, please publish it to db:

crab -publish

Here are the table for book keeping:

STEP1 Summary Table

Sample description # of evts submitted/finished Dataset Name Responsible person Site
W' (left) -> tb -> l nu b b; M = 900 GeV; Tune Z2 60000/59994 /WprimeToTB_900_Left/kfjack-WprimeToTB_900_Left-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 1700 GeV; Tune Z2 60000/59693 /WprimeToTB_1700_Left/kfjack-WprimeToTB_1700_Left-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 1900 GeV; Tune Z2 60000/59996 /WprimeToTB_1900_Left/kfjack-WprimeToTB_1900_Left-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 2100 GeV; Tune Z2 60000/59690 /WprimeToTB_2100_Left/kfjack-WprimeToTB_2100_Left-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 2300 GeV; Tune Z2 60000/59997 /WprimeToTB_2300_Left/kfjack-WprimeToTB_2300_Left-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 2500 GeV; Tune Z2 60000/59996 /WprimeToTB_2500_Left/kfjack-WprimeToTB_2500_Left-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 1700 GeV; Tune Z2 60000/59995 /WprimeToTB_1700_Mixed/kfjack-WprimeToTB_1700_Mixed-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 1900 GeV; Tune Z2 60000/59993 /WprimeToTB_1900_Mixed/kfjack-WprimeToTB_1900_Mixed-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 2100 GeV; Tune Z2 60000/59992 /WprimeToTB_2100_Mixed/kfjack-WprimeToTB_2100_Mixed-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 2300 GeV; Tune Z2 60000/59994 /WprimeToTB_2300_Mixed/kfjack-WprimeToTB_2300_Mixed-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 2500 GeV; Tune Z2 60000/59993 /WprimeToTB_2500_Mixed/kfjack-WprimeToTB_2500_Mixed-a83afcf962ac08ece1a15cf8722878f1/USER Jack FNAL
W' (right) -> tb -> l nu b b; M = 1700 GeV; Tune Z2 60000/59993 /WprimeToTB_1700_Right/weizou-WprimeToTB_1700_Right-f3335df66793f74ba877bedd53497ae5/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 1900 GeV; Tune Z2 60000/59999 /WprimeToTB_1900_Right/weizou-WprimeToTB_1900_Right-f3335df66793f74ba877bedd53497ae5/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 2100 GeV; Tune Z2 60000/59696 /WprimeToTB_2100_Right/weizou-WprimeToTB_2100_Right-f3335df66793f74ba877bedd53497ae5/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 2300 GeV; Tune Z2 60000/59696 /WprimeToTB_2300_Right/weizou-WprimeToTB_2300_Right-f3335df66793f74ba877bedd53497ae5/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 2500 GeV; Tune Z2 60000/59997 /WprimeToTB_2500_Right/weizou-WprimeToTB_2500_Right-f3335df66793f74ba877bedd53497ae5/USER Wei FNAL

STEP 2: RECO

Prepare the environment at LPC

(cd to your working area at LPC)

source /uscmst1/prod/sw/cms/cshrc prod
cmsrel CMSSW_4_2_3_patch3
cd CMSSW_4_2_3_patch3/src

cmsenv
source /uscmst1/prod/grid/CRAB/crab.csh
source /uscmst1/prod/grid/gLite_SL5.csh
voms-proxy-init -voms cms  -valid 192:0

Create the python configuration for "step2" (DIGI,L1,DIGI2RAW,HLT:GRun,RAW2DIGI,L1Reco,RECO), again replace the crab_wpr_1900_left with a different directory name:

mkdir crab_wpr_1900_left
cd crab_wpr_1900_left
cmsDriver.py STEP2 --step DIGI,L1,DIGI2RAW,HLT:GRun,RAW2DIGI,L1Reco,RECO --python_filename Wprime_RECO.py --fileout Wprime_RECO.root --conditions START42_V11::All --pileup E7TeV_FlatDist10_2011EarlyData_50ns_PoissonOOT --datamix NODATAMIXER --customise Configuration/StandardSequences/DigiToRecoNoPU.customise,Configuration/GlobalRuns/reco_TLR_42X.customisePPMC --eventcontent RECOSIM --datatier GEN-SIM-RECO --no_exec

Manually add the pile-up samples into the configuration (insert the following block into the Wprime_RECO.py):

process.mix.input.fileNames = cms.untracked.vstring(
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0010/B2F2175B-B159-E011-96FA-0024E87681FD.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0010/7CB4CB0F-EA59-E011-B9DE-00A0D1EEAA00.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/FC4CB683-B959-E011-9E1C-00266CF2580C.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/F4BDF130-B859-E011-9A12-0015178C6630.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/EE932991-B959-E011-BBC1-00151796C1CC.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/E2A32C80-B959-E011-AB98-00266CF253C4.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/D639D3CC-A559-E011-A5BB-00266CF85EA8.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/D22D24DA-B659-E011-8E1E-0015178C4BE4.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/D09019E2-7B59-E011-8C63-00266CF834E0.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/BE360FA7-8759-E011-9CC3-00266CF833EC.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/A0533002-B759-E011-B1CA-00151796C1CC.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/9EF955E3-B659-E011-AC50-00151796D708.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/82C56689-B959-E011-8F4D-00A0D1EEF6B8.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/528E75E9-B159-E011-8212-00151796C0F0.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/521C3627-B259-E011-BC6F-00151796C140.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/486182FA-B659-E011-BB64-00151796C470.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0009/220C1ADB-9B59-E011-992C-0015178C4B28.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/F67D4F59-0858-E011-A223-00215A491956.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/EE85ECB8-4258-E011-9189-00266CF8377C.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/D653CC4C-4B58-E011-9B56-0024E850DF73.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/D05C8EE0-2E58-E011-89E4-0026B93F4ADF.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/D03AC72A-2858-E011-ADDA-0026B95A45EC.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/CCE20350-4A58-E011-A42C-0024E85A4EB3.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/CA1242FC-4A58-E011-9237-0022198273C0.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/C81C116C-3658-E011-88DC-001D09645B2D.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/B6A75789-2C58-E011-9B2A-00266CF83958.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/9EDA8825-1258-E011-9A20-000AE4889FB6.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/7E7892B7-4858-E011-BF8C-BC305B390AA7.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/7C0B1D56-2F58-E011-9B8C-00188B89EEFA.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/706173B0-4858-E011-8BC0-BC305B390A25.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/6AD0394D-4A58-E011-8E43-0024E85A4EB3.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/62D7FA7B-4159-E011-91E2-0024E8766422.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/4E077A9F-AA59-E011-809A-0024E876635F.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/36E1C33B-4A58-E011-B606-0024E85A4FEF.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/36371B4C-4B58-E011-A853-0024E850DF73.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/2ED9C9F9-4A58-E011-9EC6-0022198273F0.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/0C723277-8458-E011-B6BD-000AE488BBBA.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0008/04AE43EF-1C58-E011-82C3-0015C5E5B22E.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/FAC66105-6059-E011-AC34-00A0D1EEF69C.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/E82FAC88-E559-E011-A0E9-00151796C06C.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/E68DB9E5-AB59-E011-8F3C-0024E8769A01.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/E4C0DDB3-AB59-E011-ABD2-0024E8768C71.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/E43DA512-EA59-E011-B871-00266CF2580C.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/D6016472-E859-E011-A78F-0024E86E8DB4.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/D4FF2FB5-AB59-E011-A2EB-0024E86E8D25.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/D0B20346-AC59-E011-8A56-00151796C470.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CE0E9F6B-4159-E011-A1F6-0024E8768BE2.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CCA4766B-E959-E011-A3B4-00266CF25F34.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CA913AF2-D456-E011-9CCF-BC305B390A0B.root',
'/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CA1D7D0E-6059-E011-9C6E-00A0D1EEF22C.root'
)

Create a crab.cfg with the contents below (please replace /store/user/kfjack to your storage area, WprimeToTB_1900_Left_GEN_SIM_RECO to a proper name, and publish datasetpath to the output from step 1):

[CRAB]
jobtype = cmssw
scheduler = condor
use_server = 0

[CMSSW]
datasetpath=/WprimeToTB_1900_Left/kfjack-WprimeToTB_1900_Left-a83afcf962ac08ece1a15cf8722878f1/USER

pset=Wprime_RECO.py
output_file = Wprime_RECO.root 
total_number_of_events=-1
events_per_job=600
dbs_url=http://cmsdbsprod.cern.ch/cms_dbs_ph_analysis_01/servlet/DBSServlet

[USER]
return_data = 0
copy_data = 1
storage_element = cmssrm.fnal.gov
publish_data = 1
publish_data_name = WprimeToTB_1900_Left_GEN_SIM_RECO  
storage_path = /srm/managerv2?SFN=11
user_remote_dir = /store/user/kfjack
dbs_url_for_publication = https://cmsdbsprod.cern.ch:8443/cms_dbs_ph_analysis_01_writer/servlet/DBSServlet
check_user_remote_dir = 0

Create the job and submit:

crab -create
crab -submit

Once the job is done, please publish it to db:

crab -publishNoInp

Here are the table for book keeping:

STEP2 Summary Table

Sample description # of evts submitted/finished Dataset Name Responsible person Site
W' (left) -> tb -> l nu b b; M = 900 GeV; Tune Z2 59994/58794 /WprimeToTB_900_Left/kfjack-WprimeToTB_900_Left_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 1700 GeV; Tune Z2 59693/59093 /WprimeToTB_1700_Left/kfjack-WprimeToTB_1700_Left_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 1900 GeV; Tune Z2 59996/59396 /WprimeToTB_1900_Left/kfjack-WprimeToTB_1900_Left_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 2100 GeV; Tune Z2 59690/57290 /WprimeToTB_2100_Left/kfjack-WprimeToTB_2100_Left_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 2300 GeV; Tune Z2 59997/58797 /WprimeToTB_2300_Left/kfjack-WprimeToTB_2300_Left_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (left) -> tb -> l nu b b; M = 2500 GeV; Tune Z2 59996/57596 /WprimeToTB_2500_Left/kfjack-WprimeToTB_2500_Left_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 1700 GeV; Tune Z2 59995/58195 /WprimeToTB_1700_Mixed/kfjack-WprimeToTB_1700_Mixed_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 1900 GeV; Tune Z2 59993/57600 /WprimeToTB_1900_Mixed/kfjack-WprimeToTB_1900_Mixed_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 2100 GeV; Tune Z2 59992/58792 /WprimeToTB_2100_Mixed/kfjack-WprimeToTB_2100_Mixed_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 2300 GeV; Tune Z2 59994/59394 /WprimeToTB_2300_Mixed/kfjack-WprimeToTB_2300_Mixed_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (mixed) -> tb -> l nu b b; M = 2500 GeV; Tune Z2 59993/59993 /WprimeToTB_2500_Mixed/kfjack-WprimeToTB_2500_Mixed_GEN_SIM_RECO-9188372f79b256a4b9493048fc7302f4/USER Jack FNAL
W' (right) -> tb -> l nu b b; M = 1700 GeV; Tune Z2 59993/59393 /WprimeToTB_1700_Right/weizou-WprimeToTB_1700_Right_GEN_SIM_RECO-076694a9a732b992c179990f916ff148/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 1900 GeV; Tune Z2 59999/58799 /WprimeToTB_1900_Right/weizou-WprimeToTB_1900_Right_GEN_SIM_RECO-076694a9a732b992c179990f916ff148/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 2100 GeV; Tune Z2 59696/59696 /WprimeToTB_2100_Right/weizou-WprimeToTB_2100_Right_GEN_SIM_RECO-076694a9a732b992c179990f916ff148/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 2300 GeV; Tune Z2 59696/59096 /WprimeToTB_2300_Right/weizou-WprimeToTB_2300_Right_GEN_SIM_RECO-076694a9a732b992c179990f916ff148/USER Wei FNAL
W' (right) -> tb -> l nu b b; M = 2500 GeV; Tune Z2 59997/59397 /WprimeToTB_2500_Right/weizou-WprimeToTB_2500_Right_GEN_SIM_RECO-076694a9a732b992c179990f916ff148/USER Wei FNAL

-- KaiFengChen - 22-Dec-2011

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r16 - 2011-12-30 - KaiFengChen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback