Private Production for Xb/Upsilon(2,3S)->Upsilon pipi MC with Fall11/Summer12 Configurations

Fall11 Configurations (7 TeV)

STEP 0: GEN filter efficiency measurement

Prepare the environment at NTU T3 UI

source /cvmfs/cms.cern.ch/cmsset_default.csh
or CERN UI
source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.csh

Initial CMSSW:

(cd to your working area)
cmsrel CMSSW_4_1_8_patch9
cd CMSSW_4_1_8_patch9/src
cmsenv

Initial crab & certificate stuff at NTU T3 UI

source /wk1/kfjack/crab/CRAB_2_8_3/crab.csh
voms-proxy-init -voms cms:/cms/twcms -valid 192:0
or CERN UI
source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.csh
voms-proxy-init -voms cms:/cms/twcms -valid 192:0

Prepare configurations:

wget http://hep1.phys.ntu.edu.tw/~kfjack/files/xb_mcprod.tar.gz
tar xfvz xb_mcprod.tar.gz  
scram b

Prepare GEN python configuration (all need to do is to replace the Upsilon2S with Upsilon3S, or Xb10600, etc)

mkdir gen_upsilon2s
cd gen_upsilon2s
cmsDriver.py Configuration/GenProduction/python/PYTHIA_Upsilon2S_Upsilon1Spipi_7TeV_cff.py --python_filename Upsilon2S_GEN.py --fileout Upsilon2S_GEN.root --step GEN --beamspot Realistic7TeV2011Collision --conditions START311_V2::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN --no_exec -n 1000000
(Remark: only Upsilon2S needs 1M events to measure the filter efficiency. 100K should be sufficient for 3S and Xb!)

Run it, measure the filter efficiency:

cmsRun ./Upsilon2S_GEN.py
edmFileUtil Upsilon2S_GEN.root

From the above we shall obtain a message like (1 runs, 1 lumis, 2010 events, 98803824 bytes), which indicates a filter efficiency of 0.2010 +- 0.0045%. If we want to have 100K events in the end, we have to generate 100,000/0.002010 ~ 50,000,000 events. If we want to split the whole production into 500 jobs, we have to set 100,000 events per job. These numbers will be used in STEP1. For a different process (e.g. Upsilon3S, Xb), the filter efficiency could be much higher. In this case we have to reduce the number of events generated per job.

STEP 1: GEN-SIM

Come back to CMSSW_4_1_8_patch9/src Create the GEN-SIM python configuration:

mkdir crab_upsilon2s
cd crab_upsilon2s
cmsDriver.py Configuration/GenProduction/python/PYTHIA_Upsilon2S_Upsilon1Spipi_7TeV_cff.py --python_filename Upsilon2S_GEN_SIM.py --fileout Upsilon2S_GEN_SIM.root --step GEN,SIM --beamspot Realistic7TeV2011Collision --conditions START311_V2::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN-SIM --no_exec -n 10

Create a crab.cfg with the contents below: (If you are using NTU T3 UI, you can uncomment the wms_service line if the service has been recovered...)

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

[CMSSW]
datasetpath = None
generator = pythia
pset = Upsilon2S_GEN_SIM.py
output_file = Upsilon2S_GEN_SIM.root
total_number_of_events=50000000
events_per_job=100000

[USER]
return_data = 0
copy_data = 1
storage_element = T3_TW_NTU_HEP 
user_remote_dir = Upsilon2S_Upsilon1Spipi_7TeV_v1 

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

[GRID]
#wms_service = https://wms04.grid.sinica.edu.tw:7443/glite_wms_wmproxy_server
#rb = CERN
ce_white_list = ntugrid2.phys.ntu.edu.tw 
se_white_list = ntugrid4.phys.ntu.edu.tw 
virtual_organization = cms

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 Filter efficiency # of evts finished Published dataset name Responsible person
Upsilon2S_Upsilon1Spipi_7TeV 0.2010+-0.0045% 101603 /Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1-882ecd6a6610eabdfcb44d8ff1c9a452/USER Jack
Upsilon3S_Upsilon1Spipi_7TeV 21.91+-0.15% 100458 /Upsilon3S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon3S_Upsilon1Spipi_7TeV_GenPtFilter_v1-b76847d9c3a2ef8091a146dcf6a27ab2/USER Jack
Xb10100_Upsilon1Spipi_7TeV 12.09+-0.11%     Jack

STEP 2: DIGI + PU-mixing

Prepare the CMSSW environment

(cd to your working area)

cmsrel CMSSW_4_2_9_HLT1_patch1
cd CMSSW_4_2_9_HLT1_patch1/src
cmsenv

Create the python configuration for "STEP2" (DIGI + pile-up mixing):

mkdir crab_upsilon2s
cd crab_upsilon2s
cmsDriver.py STEP2 --step DIGI,L1,DIGI2RAW,HLT:GRun --python_filename Upsilon2S_PUMIX.py --fileout Upsilon2S_PUMIX.root --conditions START42_V14B::All --pileup mix_E7TeV_Fall2011_Reprocess_50ns_PoissonOOTPU_cfi --datamix NODATAMIXER --customise Configuration/StandardSequences/DigiToRecoNoPU.customise --eventcontent GENRAW --datatier GEN-RAW  --no_exec -n 10

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

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

Create a crab.cfg with the contents below (please update the contents according to the needs, and publish datasetpath etc based on the output from step 1)

(If you are using NTU T3 UI, you can uncomment the wms_service line if the service has been recovered...)

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

[CMSSW]
datasetpath=/Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1-882ecd6a6610eabdfcb44d8ff1c9a452/USER

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

[USER]
return_data = 0
copy_data = 1
storage_element = T3_TW_NTU_HEP 
user_remote_dir = Upsilon2S_Upsilon1Spipi_7TeV_v1 

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

[GRID]
#wms_service = https://wms05.grid.sinica.edu.tw:7443/glite_wms_wmproxy_server
ce_white_list = ntugrid2.phys.ntu.edu.tw 
se_white_list = ntugrid4.phys.ntu.edu.tw
virtual_organization = cms

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 finished Dataset Name Responsible person
Upsilon2S_Upsilon1Spipi_7TeV 101603 /Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_Fall11_R1_v1-91866bb02394b89e9f4f8f83efe01725/USER Jack
Upsilon2S_Upsilon1Spipi_8TeV 100458 /Upsilon3S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon3S_Upsilon1Spipi_7TeV_GenPtFilter_Fall11_R1_v1-91866bb02394b89e9f4f8f83efe01725/USER Jack

STEP 3: RECO

Prepare the CMSSW environment

(cd to your working area)

cmsrel CMSSW_4_4_2_patch8
cd CMSSW_4_4_2_patch8/src
cmsenv

Create the python configuration for "STEP3" (RECO):

mkdir crab_upsilon2s
cd crab_upsilon2s
cmsDriver.py STEP3 --step RAW2DIGI,L1Reco,RECO --python_filename Upsilon2S_RECO.py --fileout Upsilon2S_RECO.root --conditions START44_V9B::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RECOSIM --datatier GEN-SIM-RECO --no_exec -n 10

Create a crab.cfg with the contents below (please update the contents according to the needs, and publish datasetpath etc based on the output from step 2)

(If you are using NTU T3 UI, you can uncomment the wms_service line if the service has been recovered...)

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

[CMSSW]
datasetpath=/Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_Fall11_R1_v1-91866bb02394b89e9f4f8f83efe01725/USER

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

[USER]
return_data = 0
copy_data = 1
storage_element = T3_TW_NTU_HEP 
user_remote_dir = Upsilon2S_Upsilon1Spipi_7TeV_v1 

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

[GRID]
#wms_service = https://wms04.grid.sinica.edu.tw:7443/glite_wms_wmproxy_server
ce_white_list = ntugrid2.phys.ntu.edu.tw 
se_white_list = ntugrid4.phys.ntu.edu.tw
virtual_organization = cms

Create the job and submit:

crab -create
crab -submit

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

crab -publish

STEP3 Summary Table

Sample description # of evts finished Dataset Name Responsible person
Upsilon2S_Upsilon1Spipi_7TeV 101603 /Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_7TeV_GenPtFilter_Fall11_R4_v1-5f81d62157772f9c64dfddc9b62bafdd/USER Jack
Upsilon3S_Upsilon1Spipi_7TeV 100058 /Upsilon3S_Upsilon1Spipi_7TeV_GenPtFilter_v1/kfjack-Upsilon3S_Upsilon1Spipi_7TeV_GenPtFilter_Fall11_R4_v1-5f81d62157772f9c64dfddc9b62bafdd/USER Jack

Summer12 Configurations (8 TeV)

STEP 0: GEN filter efficiency measurement

Prepare the environment at NTU T3 UI

source /cvmfs/cms.cern.ch/cmsset_default.csh
or CERN UI
source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.csh

Initial CMSSW:

(cd to your working area)
setenv SCRAM_ARCH slc5_amd64_gcc462
cmsrel CMSSW_5_3_7
cd CMSSW_5_3_7/src
cmsenv

Initial crab & certificate stuff at NTU T3 UI

source /wk1/kfjack/crab/CRAB_2_8_3/crab.csh
voms-proxy-init -voms cms:/cms/twcms -valid 192:0
or CERN UI
source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.csh
voms-proxy-init -voms cms:/cms/twcms -valid 192:0

Prepare configurations:

wget http://hep1.phys.ntu.edu.tw/~kfjack/files/xb_mcprod.tar.gz
tar xfvz xb_mcprod.tar.gz  
scram b

Prepare GEN python configuration (all need to do is to replace the Upsilon2S with Upsilon3S, or Xb10600, etc)

mkdir gen_upsilon2s
cd gen_upsilon2s
cmsDriver.py Configuration/GenProduction/python/PYTHIA_Upsilon2S_Upsilon1Spipi_8TeV_cff.py --python_filename Upsilon2S_GEN.py --fileout Upsilon2S_GEN.root --step GEN --beamspot Realistic8TeVCollision --conditions START53_V7C::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN --no_exec -n 1000000
(Remark: only Upsilon2S needs 1M events to measure the filter efficiency. 100K should be sufficient for 3S and Xb!)

Run it, measure the filter efficiency:

cmsRun ./Upsilon2S_GEN.py
edmFileUtil Upsilon2S_GEN.root

From the above we shall obtain a message like (1 runs, 1 lumis, 2157 events, 171205572 bytes), which indicates a filter efficiency of 0.2157 +- 0.0046%. If we want to have 100K events in the end, we have to generate 100,000/0.002157 ~ 47,000,000 events. If we want to split the whole production into 500 jobs, we have to set 94,000 events per job. These numbers will be used in STEP1. For a different process (e.g. Upsilon3S, Xb), the filter efficiency could be much higher. In this case we have to reduce the number of events generated per job.

STEP 1: GEN-SIM

Come back to CMSSW_5_3_7/src Create the GEN-SIM python configuration:

mkdir crab_upsilon2s_gensim
cd crab_upsilon2s_gensim
cmsDriver.py Configuration/GenProduction/python/PYTHIA_Upsilon2S_Upsilon1Spipi_8TeV_cff.py --python_filename Upsilon2S_GEN_SIM.py --fileout Upsilon2S_GEN_SIM.root --step GEN,SIM --beamspot Realistic8TeVCollision --conditions START53_V7C::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN-SIM --no_exec -n 10

Create a crab.cfg with the contents below: (If you are using NTU T3 UI, you can uncomment the wms_service line if the service has been recovered...)

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

[CMSSW]
datasetpath = None
generator = pythia
pset = Upsilon2S_GEN_SIM.py
output_file = Upsilon2S_GEN_SIM.root
total_number_of_events=47000000
events_per_job=94000

[USER]
return_data = 0
copy_data = 1
storage_element = T3_TW_NTU_HEP 
user_remote_dir = Upsilon2S_Upsilon1Spipi_8TeV_v1 

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

[GRID]
#wms_service = https://wms04.grid.sinica.edu.tw:7443/glite_wms_wmproxy_server
#rb = CERN
ce_white_list = ntugrid2.phys.ntu.edu.tw 
se_white_list = ntugrid4.phys.ntu.edu.tw 
virtual_organization = cms

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 Filter efficiency # of evts finished Published dataset name Responsible person
Upsilon2S_Upsilon1Spipi_8TeV 7.78 +- 0.016% 100688 /Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1-9091cf095a75c62ab0f5bda54b834797/USER Po-Hsun
Upsilon3S_Upsilon1Spipi_8TeV 21.60 +- 0.15% 108796 /Upsilon3S_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Upsilon3S_Upsilon1Spipi_8TeV_GenPtFilter_v1-c097b621491e269e7ea22454d1ad44f5/USER Po-Hsun
Xb10100_Upsilon1Spipi_8TeV 12.10 +- 0.11% 101155 /Xb10100_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10100_Upsilon1Spipi_8TeV_GenPtFilter_v1-ec7e096d3314766e4e9346ba581a8c6a/USER Po-Hsun
Xb10200_Upsilon1Spipi_8TeV 15.84 +- 0.13% 102622 /Xb10200_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10200_Upsilon1Spipi_8TeV_GenPtFilter_v1-a0612a5102a8b75bbf92adac684bd8be/USER Po-Hsun
Xb10300_Upsilon1Spipi_8TeV 19.74 +- 0.14% 101014 /Xb10300_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10300_Upsilon1Spipi_8TeV_GenPtFilter_v1-84d8261914a5738077d0b500e668d454/USER Po-Hsun
Xb10500_Upsilon1Spipi_8TeV 26.59 +- 0.16% 101083 /Xb10500_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10500_Upsilon1Spipi_8TeV_GenPtFilter_v1-17099abef9e921112e560f638629cd95/USER Po-Hsun
Xb10700_Upsilon1Spipi_8TeV 32.12 +- 0.18% 103049 /Xb10700_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10700_Upsilon1Spipi_8TeV_GenPtFilter_v1-d6747bcf7e7bdc6428c7b5d6f9db4eb2/USER Po-Hsun
Xb10900_Upsilon1Spipi_8TeV 36.34 +- 0.19% 101863 /Xb10900_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10900_Upsilon1Spipi_8TeV_GenPtFilter_v1-816d7a76d218e79b67fdde560f890b51/USER Po-Hsun

STEP 2: DIGI + PU-mixing

Go back to CMSSW_5_3_7/src

Create the python configuration for "STEP2" (DIGI + pile-up mixing):

mkdir crab_upsilon2s_pumix
cd crab_upsilon2s_pumix
cmsDriver.py STEP2 --step DIGI,L1,DIGI2RAW,HLT:7E33v2 --python_filename Upsilon2S_PUMIX.py --fileout Upsilon2S_PUMIX.root --conditions START53_V7C::All --pileup 2012_Summer_50ns_PoissonOOTPU --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN-SIM-RAW  --no_exec -n 10

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

process.mix.input.fileNames = cms.untracked.vstring(
'file:/wk1/kfjack/pileup_samples/summer12/00EEF21D-0762-E111-9A59-003048F0E1B2.root',
'file:/wk1/kfjack/pileup_samples/summer12/0220793B-9862-E111-A38C-003048CF6338.root',
'file:/wk1/kfjack/pileup_samples/summer12/02370007-2062-E111-98D4-0030487D5DC3.root',
'file:/wk1/kfjack/pileup_samples/summer12/048594F0-7E62-E111-ADCD-0030487F1797.root',
'file:/wk1/kfjack/pileup_samples/summer12/06B7EB97-6562-E111-AB9A-003048C693EA.root',
'file:/wk1/kfjack/pileup_samples/summer12/0A3D9816-6562-E111-95DD-0030487D8541.root',
'file:/wk1/kfjack/pileup_samples/summer12/0C25C4D8-0562-E111-8C61-003048D436CA.root',
'file:/wk1/kfjack/pileup_samples/summer12/0E699140-0362-E111-B364-003048D436CA.root',
'file:/wk1/kfjack/pileup_samples/summer12/0E9AAA91-1C62-E111-B296-003048D43700.root',
'file:/wk1/kfjack/pileup_samples/summer12/100F5F3E-0362-E111-8874-003048D436CA.root',
'file:/wk1/kfjack/pileup_samples/summer12/1034F28B-1B62-E111-A2DC-003048D43944.root',
'file:/wk1/kfjack/pileup_samples/summer12/10439A0E-9162-E111-9C71-002481E0D974.root',
'file:/wk1/kfjack/pileup_samples/summer12/10B43512-2262-E111-963E-003048C692B4.root',
'file:/wk1/kfjack/pileup_samples/summer12/1205F429-6262-E111-9F30-0030487D83B9.root',
'file:/wk1/kfjack/pileup_samples/summer12/160BE53C-6862-E111-AC84-003048D4365C.root',
'file:/wk1/kfjack/pileup_samples/summer12/16DCB5B2-5562-E111-AF22-003048C692DA.root',
'file:/wk1/kfjack/pileup_samples/summer12/188B3433-7D62-E111-A4C6-0030487F938F.root',
'file:/wk1/kfjack/pileup_samples/summer12/188C4639-1462-E111-BAD3-0030487F6A8B.root',
'file:/wk1/kfjack/pileup_samples/summer12/18BCBC23-7462-E111-83FC-002481E0D974.root',
'file:/wk1/kfjack/pileup_samples/summer12/1A4B2357-9E62-E111-9852-002481E15176.root',
'file:/wk1/kfjack/pileup_samples/summer12/1C8EF33E-1062-E111-8DE0-003048C662C8.root',
'file:/wk1/kfjack/pileup_samples/summer12/1CD51127-1D62-E111-905A-003048C69314.root',
'file:/wk1/kfjack/pileup_samples/summer12/1EB056A0-0962-E111-99E2-003048F02CB4.root',
'file:/wk1/kfjack/pileup_samples/summer12/223DAE52-0562-E111-AC14-003048CF6346.root',
'file:/wk1/kfjack/pileup_samples/summer12/224FA372-3362-E111-9583-003048F0E1AE.root',
'file:/wk1/kfjack/pileup_samples/summer12/22509669-8962-E111-836D-0030487F16FB.root',
'file:/wk1/kfjack/pileup_samples/summer12/2251AAAE-7562-E111-86DD-003048D479C0.root',
'file:/wk1/kfjack/pileup_samples/summer12/247A47A9-9462-E111-94C8-002481E946EE.root',
'file:/wk1/kfjack/pileup_samples/summer12/24A2C488-1F62-E111-A035-003048D462FE.root',
'file:/wk1/kfjack/pileup_samples/summer12/26474D1C-3E62-E111-AEAA-003048D4797E.root',
'file:/wk1/kfjack/pileup_samples/summer12/28144A44-5462-E111-8629-003048F0E3AE.root',
'file:/wk1/kfjack/pileup_samples/summer12/283BFB28-5B62-E111-BB68-003048C692D8.root',
'file:/wk1/kfjack/pileup_samples/summer12/2865B0E6-9A62-E111-8FC4-002481E15204.root',
'file:/wk1/kfjack/pileup_samples/summer12/2A16F88E-1B62-E111-8B75-003048D4DEA6.root',
'file:/wk1/kfjack/pileup_samples/summer12/2C055754-5662-E111-AA22-003048C69292.root',
'file:/wk1/kfjack/pileup_samples/summer12/2C55E61E-4862-E111-B608-0030487E4EC5.root',
'file:/wk1/kfjack/pileup_samples/summer12/2EB00C4C-2E62-E111-BA62-003048F02CB6.root',
'file:/wk1/kfjack/pileup_samples/summer12/303F20E6-2B62-E111-A742-003048C6763A.root',
'file:/wk1/kfjack/pileup_samples/summer12/3061CB45-6362-E111-B978-0030487D43E1.root',
'file:/wk1/kfjack/pileup_samples/summer12/3091E778-0C62-E111-A7FB-003048C662C8.root',
'file:/wk1/kfjack/pileup_samples/summer12/30AF0710-5A62-E111-A8AC-002481E0D6EE.root',
'file:/wk1/kfjack/pileup_samples/summer12/30E11B0D-0862-E111-A56B-003048F02CB4.root',
'file:/wk1/kfjack/pileup_samples/summer12/30EA9B2F-6B62-E111-BA50-0030487E4EB7.root',
'file:/wk1/kfjack/pileup_samples/summer12/323258DD-9862-E111-AAA6-003048CF6338.root',
'file:/wk1/kfjack/pileup_samples/summer12/32B47ABC-0B62-E111-9C9A-003048F0E1B2.root',
'file:/wk1/kfjack/pileup_samples/summer12/32EB056C-0D62-E111-850A-003048C662C8.root',
'file:/wk1/kfjack/pileup_samples/summer12/344A5882-1662-E111-92D6-0030487F6A8B.root',
'file:/wk1/kfjack/pileup_samples/summer12/349797D4-5F62-E111-817F-0030487D83B9.root',
'file:/wk1/kfjack/pileup_samples/summer12/34CB55FB-8C62-E111-B71E-003048C693B8.root',
'file:/wk1/kfjack/pileup_samples/summer12/3610A5F4-0762-E111-A013-003048F0E1B2.root'
)

Create a crab.cfg with the contents below (please update the contents according to the needs, and publish datasetpath etc based on the output from step 1)

(If you are using NTU T3 UI, you can uncomment the wms_service line if the service has been recovered...)

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

[CMSSW]
datasetpath=/Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1-9091cf095a75c62ab0f5bda54b834797/USER

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

[USER]
return_data = 0
copy_data = 1
storage_element = T3_TW_NTU_HEP 
user_remote_dir = Upsilon2S_Upsilon1Spipi_8TeV_v1 

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

[GRID]
#wms_service = https://wms05.grid.sinica.edu.tw:7443/glite_wms_wmproxy_server
ce_white_list = ntugrid2.phys.ntu.edu.tw 
se_white_list = ntugrid4.phys.ntu.edu.tw
virtual_organization = cms

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 finished Dataset Name Responsible person
Upsilon2S_Upsilon1Spipi_8TeV 100688 /Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Upsilon3S_Upsilon1Spipi_8TeV 108796 /Upsilon3S_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Upsilon3S_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Xb10100_Upsilon1Spipi_8TeV 101155 /Xb10100_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10100_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Xb10200_Upsilon1Spipi_8TeV 102622 /Xb10200_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10200_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Xb10300_Upsilon1Spipi_8TeV 101014 /Xb10300_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10300_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Xb10500_Upsilon1Spipi_8TeV 101083 /Xb10500_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10500_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Xb10700_Upsilon1Spipi_8TeV 103049 /Xb10700_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10700_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun
Xb10900_Upsilon1Spipi_8TeV 101863 /Xb10900_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10900_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER Po-Hsun

STEP 3: RECO

Go back to CMSSW_5_3_7/src

Create the python configuration for "STEP3" (RECO):

mkdir crab_upsilon2s_reco
cd crab_upsilon2s_reco
cmsDriver.py STEP3 --step RAW2DIGI,L1Reco,RECO --python_filename Upsilon2S_RECO.py --fileout Upsilon2S_RECO.root --conditions START53_V7C::All --eventcontent RECOSIM --datatier GEN-SIM-RECO --no_exec -n 10

Create a crab.cfg with the contents below (please update the contents according to the needs, and publish datasetpath etc based on the output from step 2)

(If you are using NTU T3 UI, you can uncomment the wms_service line if the service has been recovered...)

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

[CMSSW]
datasetpath=/Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1/kfjack-Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step1_v1-f556205f5a957fa0f5378b0bc6c8adcb/USER

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

[USER]
return_data = 0
copy_data = 1
storage_element = T3_TW_NTU_HEP 
user_remote_dir = Upsilon2S_Upsilon1Spipi_8TeV_v1 

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

[GRID]
#wms_service = https://wms04.grid.sinica.edu.tw:7443/glite_wms_wmproxy_server
ce_white_list = ntugrid2.phys.ntu.edu.tw 
se_white_list = ntugrid4.phys.ntu.edu.tw
virtual_organization = cms

Create the job and submit:

crab -create
crab -submit

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

crab -publish

STEP3 Summary Table

Sample description # of evts finished Dataset Name Responsible person
Upsilon2S_Upsilon1Spipi_8TeV 100288 /Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Upsilon2S_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Upsilon3S_Upsilon1Spipi_8TeV 108396 /Upsilon3S_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Upsilon3S_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Xb10100_Upsilon1Spipi_8TeV 100755 /Xb10100_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10100_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Xb10200_Upsilon1Spipi_8TeV 102222 /Xb10200_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10200_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Xb10300_Upsilon1Spipi_8TeV 101014 /Xb10300_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10300_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Xb10500_Upsilon1Spipi_8TeV 100683 /Xb10500_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10500_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Xb10700_Upsilon1Spipi_8TeV 102649 /Xb10700_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10700_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun
Xb10900_Upsilon1Spipi_8TeV 101463 /Xb10900_Upsilon1Spipi_8TeV_GenPtFilter_v1/pchen-Xb10900_Upsilon1Spipi_8TeV_GenPtFilter_Summer12_DR53X_step2_v1-a45498ed665b2e9ad40063afbd4d6b3b/USER Po-Hsun

-- KaiFengChen - 22-Dec-2011

Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r20 - 2013-01-08 - PoHsunChen
 
    • 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