CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/L1Trigger/GlobalTriggerAnalyzer/python/UserOptions_cff.py

Go to the documentation of this file.
00001 #
00002 # configuration file fragment containing user choices
00003 # for release to run, sample and data type to use in
00004 # a cfg file
00005 #
00006  
00007 #
00008 
00009 import FWCore.ParameterSet.Config as cms
00010 import sys
00011 
00012     
00013 
00014 ###################### user choices ######################
00015 
00016 # number of events to be run (-1 for all)
00017 maxNumberEvents = 100
00018 #maxNumberEvents = -1
00019 
00020 # useRelValSample: choose the type of sample used:
00021 #   True to use MC RelVal
00022 #   False to use data
00023 
00024 # default value
00025 useRelValSample = False
00026 #
00027 # comment/uncomment the next line to choose sample type 
00028 # (un-commented selects MC RelVal)
00029 useRelValSample=True
00030 
00031 if useRelValSample == False :
00032     
00033     # data type: StreamFile is not associated to these runs (no available files)
00034     #           for RAW data, the unpacker sequence RawToDigi will be also run
00035     dataType = 'RAW'
00036     #dataType = 'StreamFile'
00037     #dataType = 'RECO'
00038     
00039     globalTag = 'auto:com10'        # GR_R_*
00040     #globalTag = 'auto:hltonline'   # GR_H_*
00041 
00042     #runNumber = '123596'
00043     #runNumber = '116035'
00044     #runNumber = '121560'
00045     #runNumber = '127715'
00046     #runNumber = '132440_132439_Cosmics'
00047     #runNumber = 'Commissioning10-Apr1Skim_Muon_skim-v1' 
00048     #runNumber = 'MinimumBias_Commissioning10-May13thReReco_preproduction-v1_RECO'
00049     #runNumber = '137028'
00050     #runNumber = '156508'
00051     #runNumber = '156508_137028'
00052     #runNumber = '165633-CAFDQM'
00053     #runNumber = '180250'
00054     
00055     # high PU run 2011
00056     runNumber = '179828' 
00057 
00058 else :
00059 
00060     # data type
00061     #dataType = 'RECO'
00062     dataType = 'RAW'
00063     
00064     #globalTag = 'auto:mc'
00065     globalTag = 'auto:startup'
00066     #globalTag = 'auto:starthi'
00067     
00068     # RelVals samples 
00069     # not all combinations (sampleFromRelease, useSample, dataType) are included
00070     #
00071     #useSample = 'MinBias'
00072     useSample = 'RelValTTbar'
00073     #useSample = 'RelValQCD_Pt_80_120'
00074      
00075     # choose (pre)release used to produce the RelVal samples (data are release independent)
00076     sampleFromRelease = 'CMSSW_5_2_X'
00077     #sampleFromRelease = 'CMSSW_4_2_8'
00078     #sampleFromRelease = 'CMSSW_3_11_0'
00079     #sampleFromRelease = 'CMSSW_3_5_6'
00080     #sampleFromRelease = 'CMSSW_3_5_2'
00081     #sampleFromRelease = 'CMSSW_3_5_0'
00082     #sampleFromRelease = 'CMSSW_3_4_1'
00083     #sampleFromRelease = 'CMSSW_3_3_6'
00084     #sampleFromRelease = 'CMSSW_2_2_12'
00085    
00086    
00087        
00088 # change to True to use local files
00089 #     the type of file must be matched by hand
00090 
00091 useLocalFiles = False 
00092 #useLocalFiles = True 
00093 
00094 # override default global tag - expert choice, do it only if you know what you do
00095 overrideGlobalTag = False
00096 #overrideGlobalTag = True
00097 
00098 if overrideGlobalTag == True :
00099     myGlobalTag = 'GR_R_50_V3'
00100 
00101 ###################### end user choices ###################
00102 
00103 #
00104 errorUserOptions = False
00105 
00106 # source according to data type
00107 if dataType == 'StreamFile' :
00108     readFiles = cms.untracked.vstring()
00109 else :        
00110     readFiles = cms.untracked.vstring()
00111     secFiles = cms.untracked.vstring() 
00112     selectedEvents = cms.untracked.VEventRange()
00113 
00114 
00115 # type of sample used (True for RelVal, False for data)
00116 
00117 if (useRelValSample == True) and (useLocalFiles == False) :
00118     if globalTag == 'auto:mc' :
00119 
00120         if (sampleFromRelease == 'CMSSW_3_7_0') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00121 
00122             dataset = '/RelValTTbar/CMSSW_3_7_0-MC_37Y_V4-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00123             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00124  
00125             readFiles.extend( [
00126                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/F06AD39F-3C69-DF11-BDDF-0026189438C2.root',
00127                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/F0067329-3B69-DF11-A543-0018F3D096BC.root',
00128                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/F00014C0-4069-DF11-8045-003048678E92.root',
00129                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/E61DF7FE-3869-DF11-AC16-00304867D446.root',
00130                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/D4EBA424-3B69-DF11-A8FE-003048B95B30.root',
00131                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/D0424F9F-3B69-DF11-A3CA-002618FDA277.root',
00132                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/C800F5A9-4369-DF11-839E-003048678F1C.root',
00133                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/BEC39F26-3B69-DF11-8D6E-002618943924.root',
00134                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/B6FDFF16-3B69-DF11-B4F6-00304867BEDE.root',
00135                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/B29ADB07-3A69-DF11-A379-0018F3D09696.root',
00136                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/98656090-3A69-DF11-B17D-002618943963.root',
00137                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/80412107-3A69-DF11-907D-0018F3D09696.root',
00138                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/7EF1D293-3969-DF11-9121-003048D15DDA.root',
00139                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/72F4FC4C-4169-DF11-95F1-0026189438F9.root',
00140                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/1EB7CE2A-3C69-DF11-9B67-002618FDA248.root',
00141                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/16173D1E-3C69-DF11-80C4-00304867D446.root',
00142                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/14FDF29D-3B69-DF11-A3F6-0026189438CC.root',
00143                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/0C27D0A6-3D69-DF11-99F5-003048678B88.root',
00144                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/0692BD93-3A69-DF11-8400-0026189438D7.root',
00145                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_37Y_V4-v1/0024/04ECC126-3C69-DF11-AF07-002618943896.root' 
00146                 ] );
00147 
00148 
00149         elif (sampleFromRelease == 'CMSSW_3_6_0_pre2') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00150 
00151             dataset = '/RelValTTbar/CMSSW_3_6_0_pre2-MC_3XY_V24-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00152             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00153         
00154             readFiles.extend( [
00155                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0001/9A4F4BE5-6E27-DF11-B3B6-002618FDA250.root',
00156                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/F656B24E-FA26-DF11-8E18-002618943977.root',
00157                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/D6B4B4E5-FA26-DF11-9EDB-001731A28461.root',
00158                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/C8AB5953-FA26-DF11-BDA7-002354EF3BE0.root',
00159                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/C8090554-FA26-DF11-93E7-0026189438DE.root',
00160                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/BCFB047B-FC26-DF11-A46D-002618943923.root',
00161                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/B6B2BBE6-FB26-DF11-949C-003048678B76.root',
00162                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/AC28B6F1-0227-DF11-B70C-002618943985.root',
00163                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/AA4D52E5-FA26-DF11-9A90-003048679182.root',
00164                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/A47604E7-FB26-DF11-9283-003048678B76.root',
00165                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/A01DBD80-FC26-DF11-B327-001731AF669D.root',
00166                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/90CEA8EA-FB26-DF11-BB4A-001731AF6861.root',
00167                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/7E5C77EF-0127-DF11-A946-002618943919.root',
00168                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/7CE1A5E8-FC26-DF11-A885-0026189438DD.root',
00169                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/68ADD4EF-FA26-DF11-B5A5-001731AF6943.root',
00170                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/60A3B079-FC26-DF11-BEC7-0026189438AD.root',
00171                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/542C6B69-0227-DF11-9E3A-00261894391C.root',
00172                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/52935EF5-FA26-DF11-9906-001731A284FD.root',
00173                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/4EFBD5E2-FA26-DF11-A5B8-001A92971B92.root',
00174                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/3E263E75-0327-DF11-AC09-001731AF68B7.root',
00175                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/32BD7D61-0127-DF11-8798-0026189438CC.root',
00176                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V24-v1/0000/0265CC6B-0327-DF11-BB53-003048678EE2.root'
00177                 ]);
00178 
00179         elif (sampleFromRelease == 'CMSSW_3_5_2') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00180 
00181             dataset = '/RelValTTbar/CMSSW_3_5_2-MC_3XY_V21-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00182             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00183         
00184             readFiles.extend( [
00185                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/FAA58A57-3D1E-DF11-87A5-001731A283DF.root',
00186                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/E64BA05D-3A1E-DF11-8861-00261894380D.root',
00187                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/D80D18C7-311E-DF11-93E9-0018F3D09676.root',
00188                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/D27E27EA-391E-DF11-852C-0017319EB92B.root',
00189                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/CC8E2952-391E-DF11-8EE5-0018F3D096D8.root',
00190                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/CACE2BE1-371E-DF11-906C-001731AF685D.root',
00191                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0016/B6A6D3D4-3C1E-DF11-BCBC-001731AF68B9.root'
00192                 ]);
00193 
00194         elif (sampleFromRelease == 'CMSSW_3_5_0') and (useSample == 'RelValQCD_Pt_80_120') and (dataType == 'RAW') :
00195             
00196 
00197             dataset = '/RelValQCD_Pt_80_120/CMSSW_3_5_0-MC_3XY_V21-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00198             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00199 
00200             readFiles.extend( [
00201                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0013/88F831A5-6313-DF11-991F-001731AF67B7.root',
00202                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/F42A8127-3513-DF11-9DD1-003048678CA2.root',
00203                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/F40CAC1A-3513-DF11-A0C4-00304867C0EA.root',
00204                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/E69ECAF1-3313-DF11-81CD-002618943877.root',
00205                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/D0549F7C-3413-DF11-87E2-00304867C0EA.root',
00206                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/CA63A125-3513-DF11-9375-003048678E6E.root',
00207                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/B4E128F1-3313-DF11-A1CE-00261894396D.root',
00208                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/B218BB14-3513-DF11-94A6-003048678F6C.root',
00209                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/B0090A13-3513-DF11-947C-00304867C0FC.root',
00210                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/AC9D4128-3513-DF11-BAC1-003048678DD6.root',
00211                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/A6B40B1B-3513-DF11-B28F-003048678F6C.root',
00212                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/4EBE4890-3513-DF11-9880-002618943975.root',
00213                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/480C798B-3513-DF11-A638-001731A28799.root',
00214                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/34ABA2F1-3313-DF11-A46F-0026189438B1.root',
00215                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/2E377CF1-3313-DF11-84C1-00248C55CC40.root',
00216                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/28A84FEF-3313-DF11-A8FF-0026189438E2.root',
00217                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/1EAF6F8F-3513-DF11-8921-00261894391B.root',
00218                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V21-v1/0012/0EA81C90-3513-DF11-BFD1-0026189438C4.root' 
00219                 ] );
00220 
00221         elif (sampleFromRelease == 'CMSSW_3_3_6') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00222 
00223             dataset = '/RelValTTbar/CMSSW_3_3_6-MC_3XY_V9A-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00224             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00225         
00226             readFiles.extend([
00227                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V9A-v1/0009/F6C6F406-3CE4-DE11-8F12-00304867BEE4.root',
00228                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V9A-v1/0009/B2898985-3BE4-DE11-98B2-00261894396A.root',
00229                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V9A-v1/0009/ACB9360D-3CE4-DE11-904D-00261894391D.root',
00230                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_3XY_V9A-v1/0009/A6ACEC91-3CE4-DE11-A6FB-00261894390E.root'
00231                ]);
00232 
00233         elif (sampleFromRelease == 'CMSSW_2_2_12') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00234 
00235             dataset = '/RelValTTbar/CMSSW_2_2_4_IDEAL_V11_v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00236             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00237         
00238             readFiles.extend([
00239                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V11_v1/0000/02697009-5CF3-DD11-A862-001D09F2423B.root',
00240                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V11_v1/0000/064657A8-59F3-DD11-ACA5-000423D991F0.root',
00241                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V11_v1/0000/0817F6DE-5BF3-DD11-880D-0019DB29C5FC.root',
00242                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V11_v1/0000/0899697C-5AF3-DD11-9D21-001617DBD472.root'
00243                 ]);
00244 
00245         elif (sampleFromRelease == 'CMSSW_3_5_0') and (useSample == 'RelValQCD_Pt_80_120') and (dataType == 'RECO') :
00246 
00247             dataset = '/RelValQCD_Pt_80_120/CMSSW_3_5_0-MC_3XY_V21-v1/GEN-SIM-RECO'
00248             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00249 
00250             readFiles.extend( [
00251                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0013/A6A96D0E-6313-DF11-8B6F-001A928116EE.root',
00252                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/FEDBEF25-3513-DF11-BD91-003048678A6A.root',
00253                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/FA06ACF3-3313-DF11-9FBE-002618943947.root',
00254                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/A4BA5423-3513-DF11-95AA-003048D15E02.root',
00255                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/7870118C-3513-DF11-8B09-002354EF3BDE.root',
00256                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/7853EB0B-3513-DF11-9454-00304867C16A.root',
00257                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/289824F3-3313-DF11-B31A-0026189438B1.root',
00258                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V21-v1/0012/16F61E92-3513-DF11-97DB-00248C0BE013.root' 
00259                 ] );
00260 
00261 
00262         elif (sampleFromRelease == 'CMSSW_3_6_0_pre2') and (useSample == 'RelValTTbar') and (dataType == 'RECO') :
00263             
00264             dataset = '/RelValTTbar/CMSSW_3_6_0_pre2-MC_3XY_V24-v1/GEN-SIM-RECO'
00265             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00266 
00267             readFiles.extend( [
00268                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0001/6E01AFE7-6E27-DF11-986F-002618FDA207.root',
00269                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/FE3124ED-FC26-DF11-A062-0026189438D7.root',
00270                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/F8B934F6-0127-DF11-A603-003048678F74.root',
00271                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/7C3F3EE5-FA26-DF11-80F9-0030486792B8.root',
00272                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/50EBB34F-FA26-DF11-8A49-002618943845.root',
00273                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/36CA96F4-0227-DF11-A7A8-002618943979.root',
00274                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/2A4745DC-FB26-DF11-B535-0026189438AD.root',
00275                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/0C9C6D7C-FC26-DF11-B5F6-001731AF68C1.root',
00276                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/MC_3XY_V24-v1/0000/0256FAE6-FA26-DF11-8B72-002618FDA277.root'                
00277                 ] );
00278 
00279         elif (sampleFromRelease == 'CMSSW_3_5_0') and (useSample == 'RelValTTbar') and (dataType == 'RECO') :
00280             
00281             dataset = '/RelValTTbar/CMSSW_3_5_0-MC_3XY_V21-v1/GEN-SIM-RECO'
00282             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00283 
00284             readFiles.extend( [
00285                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0014/5837B301-6D13-DF11-970D-001A928116EE.root',
00286                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/F203E839-6213-DF11-A013-0018F3D0960A.root',
00287                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/C0FA4F0F-3D13-DF11-9C08-002618943914.root',
00288                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/B2BC513E-4913-DF11-B3E8-001731AF68BF.root',
00289                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/B01AE947-4713-DF11-861B-0018F3D095EA.root',
00290                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/920E11A7-4413-DF11-B796-001731AF6A91.root',
00291                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/7C15A7E1-6913-DF11-B0A0-00261894393E.root',
00292                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/74EB4EA3-4613-DF11-87E0-002618943854.root',
00293                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/36A56A12-4513-DF11-B04B-002618943944.root',
00294                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/30D1DBC5-4A13-DF11-813E-003048679296.root',
00295                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/MC_3XY_V21-v1/0013/304C7A3B-4813-DF11-9E3E-001A92971AEC.root' 
00296                 ] );
00297 
00298         elif (sampleFromRelease == 'CMSSW_3_4_1') and (useSample == 'RelValQCD_Pt_80_120') and (dataType == 'RECO') :
00299 
00300             dataset = '/RelValQCD_Pt_80_120/CMSSW_3_4_1-MC_3XY_V14-v1/GEN-SIM-RECO'
00301             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00302 
00303             readFiles.extend( [
00304                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/FE21D38C-7AED-DE11-8572-001D09F23F2A.root',
00305                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/EA8D76BF-B5ED-DE11-B84A-000423D9853C.root',
00306                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/D08D7EE2-7CED-DE11-B2CA-001D09F254CE.root',
00307                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/90EF4AA4-7CED-DE11-B81E-001D09F2AF1E.root',
00308                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/907B2B6B-7BED-DE11-83E5-0019B9F7312C.root',
00309                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/8C5DBBA2-7BED-DE11-AD49-001D09F290BF.root',
00310                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/6E9C78EE-79ED-DE11-BFD0-000423D98BC4.root',
00311                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_3XY_V14-v1/0004/5E79FB96-7CED-DE11-9300-0019B9F7312C.root' 
00312                 ] );
00313 
00314         elif (sampleFromRelease == 'CMSSW_3_4_1') and (useSample == 'RelValTTbar') and (dataType == 'RECO') :
00315             
00316             dataset = '/RelValTTbar/CMSSW_3_4_1-MC_3XY_V14-v1/GEN-SIM-RECO'
00317             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00318 
00319             readFiles.extend( [
00320                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/F4996794-A2ED-DE11-81E5-001D09F2423B.root',
00321                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/BCF09642-A1ED-DE11-A424-001D09F231B0.root',
00322                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/AA0AFA35-A2ED-DE11-A322-000423D98868.root',
00323                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/9C5ACF97-A1ED-DE11-9AA9-0030487A1990.root',
00324                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/88C36CAE-B6ED-DE11-A0C9-000423D985E4.root',
00325                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/6E40CDC2-A2ED-DE11-855A-001D09F29146.root',
00326                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/68F7F3F5-A1ED-DE11-A407-0030487A3C9A.root',
00327                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/5AF3C074-9FED-DE11-8F1C-001D09F241F0.root',
00328                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/MC_3XY_V14-v1/0004/40545697-A0ED-DE11-A389-001D09F24FEC.root' 
00329                 ] );
00330 
00331 
00332         else :
00333             print 'Error: no files for:\n  sample', useSample, '\n  type', dataType, '\n  produced with', sampleFromRelease, '\n  global tag of type ', globalTag    
00334             errorUserOptions = True
00335             
00336 
00337         secFiles.extend([
00338             ])
00339 
00340 
00341 
00342     elif globalTag == 'auto:startup' :
00343         
00344         if (sampleFromRelease == 'CMSSW_5_2_X') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00345 
00346             dataset = '/RelValTTbar/CMSSW_5_2_0_pre4-START52_V1-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00347             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00348             
00349             readFiles.extend( [
00350                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/02B4D46B-BB51-E111-A789-003048678A76.root',
00351                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/0EAB51E9-BD51-E111-8C43-003048679228.root',
00352                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/16B22002-C251-E111-822B-002618FDA208.root',
00353                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/28C19137-C351-E111-80CD-003048FFCBF0.root',
00354                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/3034CA86-C051-E111-84F5-00304867D446.root',
00355                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/30850A05-C051-E111-9BA8-002618FDA262.root',
00356                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/3A0C39F6-BE51-E111-BEAE-0026189438E9.root',
00357                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/7ADEB285-C151-E111-888F-0018F3D0960C.root',
00358                     '/store/relval/CMSSW_5_2_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START52_V1-v1/0033/A2810EE7-BB51-E111-9C4D-0026189438A0.root'
00359             
00360                     ] );
00361              
00362         elif (sampleFromRelease == 'CMSSW_4_2_8') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00363 
00364             dataset = '/RelValTTbar/CMSSW_4_2_8-START42_V12-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00365             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00366             
00367             readFiles.extend( [
00368                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0030/B60C917B-B5BB-E011-85DD-001A92971B7C.root',
00369                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/FE3842F3-13BB-E011-83DA-0018F3D09624.root',
00370                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/FC7FCCE4-11BB-E011-8CDB-001A92971B68.root',
00371                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/E4C8E0DF-12BB-E011-9C31-001A928116F4.root',
00372                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/B25A1CF2-14BB-E011-B94B-0018F34D0D62.root',
00373                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/B05DB860-0EBB-E011-9B01-00261894398A.root',
00374                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/A46C355A-12BB-E011-9CD5-00304867C0EA.root',
00375                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/A07AD55C-10BB-E011-8636-003048679030.root',
00376                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/9A328ADE-0EBB-E011-A638-003048678F62.root',
00377                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/809E2C6A-11BB-E011-9208-003048678F06.root',
00378                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/7E0A0466-0BBB-E011-B2BD-003048678F26.root',
00379                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/7A409A6F-0CBB-E011-80A2-0018F3D09600.root',
00380                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/780BDF62-10BB-E011-9E88-00304867C026.root',
00381                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/681B6A09-11BB-E011-85CB-0018F3D096D4.root',
00382                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/4C24F961-14BB-E011-8AD3-00304867BEE4.root',
00383                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/306737DB-0DBB-E011-AB90-003048678C3A.root',
00384                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/30278697-15BB-E011-AFA3-001A92971BA0.root',
00385                 '/store/relval/CMSSW_4_2_8/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START42_V12-v1/0025/0C4C20FC-10BB-E011-8105-001A92810A98.root' ] );
00386 
00387 
00388 
00389         elif (sampleFromRelease == 'CMSSW_4_1_5') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00390 
00391             dataset = '/RelValTTbar/CMSSW_4_1_5-START311_V2-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00392             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00393             
00394             readFiles.extend( [
00395                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0042/CEC944D6-736F-E011-AFF9-00304867904E.root',
00396                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0041/2233154D-5D6D-E011-B8DA-0018F3D09634.root',
00397                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0038/E4CDF9D9-B26C-E011-9027-002618943910.root',
00398                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0038/74712F73-9C6C-E011-99C6-00261894397A.root',
00399                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0038/24CB237D-9E6C-E011-92BA-0030486792B8.root',
00400                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0038/0ECA068F-A26C-E011-94E1-001A92811710.root',
00401                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/F0F62AE3-8E6C-E011-8D80-003048679168.root',
00402                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/DE00CA64-8F6C-E011-BCC8-003048679076.root',
00403                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/BC49DE60-8F6C-E011-ADF4-00304867BFAE.root',
00404                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/A84D5AE0-8F6C-E011-9828-00261894395B.root',
00405                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/A4EE3076-906C-E011-8F29-003048678BAE.root',
00406                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/A0F92E4B-8E6C-E011-9B5A-002618943911.root',
00407                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/882239F3-936C-E011-802D-001A928116B2.root',
00408                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/72042AEC-976C-E011-918B-00261894387D.root',
00409                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/6E8D1006-956C-E011-9FE9-001A92971B88.root',
00410                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/6A515FDD-906C-E011-9C0E-00261894398D.root',
00411                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/5CB3D686-946C-E011-97CB-001A92971B8A.root',
00412                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/5A7D25E4-8E6C-E011-B5EA-0030486790C0.root',
00413                 '/store/relval/CMSSW_4_1_5/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START311_V2-v1/0037/109CB5ED-8E6C-E011-B51E-003048679188.root' ] );
00414 
00415 
00416         elif (sampleFromRelease == 'CMSSW_3_7_0') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00417 
00418             dataset = '/RelValTTbar/CMSSW_3_7_0-START37_V4-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00419             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00420  
00421             readFiles.extend( [
00422                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/DAA27EF5-5069-DF11-9B53-002618943982.root',
00423                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/D23295F2-5069-DF11-8EAD-002354EF3BDE.root',
00424                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/BEEC3A7D-5269-DF11-B4BD-003048678A88.root',
00425                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/BCBC54C8-6069-DF11-A680-003048678ADA.root',
00426                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/B28BFFF5-4F69-DF11-8BA5-002618943969.root',
00427                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/A2CF55FD-4F69-DF11-AD67-00261894395F.root',
00428                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/8AB3AA68-5069-DF11-9629-001A928116B8.root',
00429                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/8813F4FB-5169-DF11-A602-0026189438DB.root',
00430                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/72382A69-4F69-DF11-86D5-0018F3D096D2.root',
00431                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/3C83A8F2-5069-DF11-8691-002618943856.root',
00432                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/36D79AE9-5069-DF11-BEC3-00261894397D.root',
00433                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/101CA9FE-4F69-DF11-BA81-002618943979.root',
00434                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/0CB86B26-5A69-DF11-8D46-00261894380A.root',
00435                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0025/064A62C7-5E69-DF11-9C52-003048678F84.root',
00436                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0024/F6E38566-4E69-DF11-8E5E-0030486790BE.root',
00437                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0024/F4CBE7D7-4E69-DF11-92FB-0026189438E3.root',
00438                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0024/C2D99BDA-4D69-DF11-A886-002618943934.root',
00439                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0024/BCD64BD9-4D69-DF11-B135-00261894396B.root',
00440                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0024/5C5DF74D-4D69-DF11-B0BA-00261894387E.root',
00441                 '/store/relval/CMSSW_3_7_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START37_V4-v1/0024/200B80D9-4E69-DF11-BBE9-00261894396B.root' 
00442                 ] );
00443        
00444         elif (sampleFromRelease == 'CMSSW_3_6_0_pre2') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00445 
00446             dataset = '/RelValTTbar/CMSSW_3_6_0_pre2-START3X_V24-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00447             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00448         
00449             readFiles.extend( [
00450                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0002/A047940F-A827-DF11-9015-0026189438E6.root',
00451                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0001/3AFEFC61-6F27-DF11-B472-002618FDA262.root',
00452                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/EE17E540-2627-DF11-B315-001731AF6A4F.root',
00453                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/E6EECCCA-2627-DF11-B6CD-001731AF684D.root',
00454                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/E0FA4D9A-2027-DF11-BFEE-002618943916.root',
00455                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/C68312A3-2027-DF11-96D3-0017312B5BAD.root',
00456                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/C0739436-2127-DF11-82A3-003048678D9A.root',
00457                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/AE526E30-2127-DF11-8813-003048678D86.root',
00458                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/90A69925-2027-DF11-8C36-002618943916.root',
00459                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/8AF69B24-2027-DF11-B10A-002618943944.root',
00460                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/82837EC9-2727-DF11-A754-001731AF684D.root',
00461                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/7022376B-2727-DF11-883F-001731AF684D.root',
00462                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/6C0A9A2F-2127-DF11-B055-003048679000.root',
00463                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/529F2059-2827-DF11-8BAC-001731A28F19.root',
00464                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/4270DF57-2227-DF11-ABFE-003048678F84.root',
00465                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/40425AA5-2027-DF11-86CE-001731AF65E7.root',
00466                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/3664214F-2927-DF11-AEEF-00261894397F.root',
00467                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/22AF8C2D-2127-DF11-BB88-00304867BFB0.root',
00468                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/1ADD64A8-2027-DF11-8CD6-0018F3D09698.root',
00469                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/18AAFE69-2727-DF11-9DEF-001731AF687F.root',
00470                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/1482955D-2827-DF11-8EF6-001731A28A31.root',
00471                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/0E866F4F-2227-DF11-9C0C-003048678D9A.root',
00472                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V24-v1/0000/04A74FCB-2727-DF11-BFE5-001731AF68B9.root'
00473                 ]);
00474 
00475         elif (sampleFromRelease == 'CMSSW_3_5_6') and (useSample == 'MinBias') and (dataType == 'RAW') :
00476 
00477             dataset = '/MinBias/Spring10-START3X_V25B-v1/GEN-SIM-RAW'
00478             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00479         
00480             readFiles.extend( [
00481                 '/store/mc/Spring10/MinBias/GEN-SIM-RAW/START3X_V25B-v1/0104/FECFDECD-9739-DF11-A00E-001A92971AAA.root',
00482                 '/store/mc/Spring10/MinBias/GEN-SIM-RAW/START3X_V25B-v1/0104/FE747EEC-9D39-DF11-BD36-0018F3D09636.root',
00483                 '/store/mc/Spring10/MinBias/GEN-SIM-RAW/START3X_V25B-v1/0104/FE706011-9139-DF11-8F2A-0018F3D096B6.root',
00484                 '/store/mc/Spring10/MinBias/GEN-SIM-RAW/START3X_V25B-v1/0104/FE476F57-9239-DF11-BA70-002618943950.root',
00485                 '/store/mc/Spring10/MinBias/GEN-SIM-RAW/START3X_V25B-v1/0104/FE12184C-8E39-DF11-89F8-00304867905A.root'
00486                ]);
00487 
00488         elif (sampleFromRelease == 'CMSSW_3_5_2') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00489 
00490             dataset = '/RelValTTbar/CMSSW_3_5_2-START3X_V21-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00491             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00492         
00493             readFiles.extend( [
00494                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/FE2573D6-381E-DF11-9B55-001731AF678D.root',
00495                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/F687B04E-331E-DF11-B1C3-0018F3D0960E.root',
00496                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/D2E9E5C7-2D1E-DF11-AA1D-003048679296.root',
00497                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/D0B6CCE8-321E-DF11-ABEE-001A92971BD6.root',
00498                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/AE6887CC-2C1E-DF11-90DD-001A928116E0.root',
00499                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/9E058FDD-361E-DF11-A10F-0017313F02F2.root',
00500                 '/store/relval/CMSSW_3_5_2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0016/9098C5D7-2B1E-DF11-8AD9-001A92971AD8.root'
00501                 ]);
00502 
00503         elif (sampleFromRelease == 'CMSSW_3_5_0') and (useSample == 'RelValQCD_Pt_80_120') and (dataType == 'RAW') :
00504         
00505             dataset = '/RelValQCD_Pt_80_120/CMSSW_3_5_0-START3X_V21-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00506             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00507 
00508             readFiles.extend( [
00509                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/A2650844-3F13-DF11-9F8B-0018F3D096C6.root',
00510                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/7C862077-6213-DF11-A55E-0018F3D096DA.root',
00511                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/64717429-3E13-DF11-A79C-0018F3D096DC.root',
00512                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/5AB9E5C4-3E13-DF11-A5C6-0018F3D096AE.root',
00513                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/3A229928-3E13-DF11-A0F6-0018F3D09702.root',
00514                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/320738C4-3F13-DF11-B7EF-0018F3D09710.root',
00515                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/2882F7B5-4013-DF11-A8AB-001A92971B64.root',
00516                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/2437DA46-3F13-DF11-8BD2-001A92810ACA.root',
00517                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/20B66439-3D13-DF11-A811-001A92971B0C.root',
00518                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/16000C72-4013-DF11-B408-001A9281172E.root',
00519                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/0604FA28-3E13-DF11-81A6-001A92971B06.root',
00520                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0013/0453E0BD-3E13-DF11-AC08-001A92971B94.root',
00521                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0012/E4A7683D-3913-DF11-A8DA-002618943852.root',
00522                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0012/D6AF091A-3A13-DF11-AEFE-00304867901A.root',
00523                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0012/D0EDD332-3813-DF11-81D8-003048678F8E.root',
00524                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0012/BC3943E5-3813-DF11-AF6D-00304867901A.root',
00525                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0012/B8631430-3813-DF11-894F-00261894393C.root',
00526                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START3X_V21-v1/0012/20C261E3-3913-DF11-AC49-002618FDA287.root' 
00527                 ] );
00528 
00529 
00530         elif (sampleFromRelease == 'CMSSW_3_3_6') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00531 
00532             dataset = '/RelValTTbar/CMSSW_3_3_6-STARTUP3X_V8H-v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00533             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00534         
00535             readFiles.extend([
00536                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP3X_V8H-v1/0009/E44B9490-3BE4-DE11-962B-0026189437FD.root',
00537                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP3X_V8H-v1/0009/E0BA5492-3BE4-DE11-9417-002618943926.root',
00538                 '/store/relval/CMSSW_3_3_6/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP3X_V8H-v1/0009/6827DCDF-9EE4-DE11-8A58-002618943920.root'
00539                ]);
00540 
00541         elif (sampleFromRelease == 'CMSSW_2_2_12') and (useSample == 'RelValTTbar') and (dataType == 'RAW') :
00542             
00543             dataset = '/RelValTTbar/CMSSW_2_2_4_STARTUP_V8_v1/GEN-SIM-DIGI-RAW-HLTDEBUG'
00544             print '   Running on', useSample, 'sample produced with', sampleFromRelease, '. Global tag used to run:', globalTag  
00545         
00546             readFiles.extend([
00547                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V8_v1/0000/069AA022-5BF3-DD11-9A56-001617E30D12.root',
00548                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V8_v1/0000/08DA99A6-5AF3-DD11-AAC1-001D09F24493.root',
00549                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V8_v1/0000/0A725E15-5BF3-DD11-8B4B-000423D99CEE.root',
00550                 '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V8_v1/0000/0AF5B676-5AF3-DD11-A22F-001617DBCF1E.root'
00551                 ]);
00552 
00553         elif (sampleFromRelease == 'CMSSW_3_6_0_pre2') and (useSample == 'RelValTTbar') and (dataType == 'RECO') :
00554         
00555             dataset = '/RelValTTbar/CMSSW_3_6_0_pre2-START3X_V24-v1/GEN-SIM-RECO'
00556             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00557 
00558             readFiles.extend( [
00559                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0002/4610810E-A827-DF11-906C-002618943807.root',
00560                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0001/EC4E796F-6F27-DF11-BE30-002618FDA207.root',
00561                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/F2DE9C36-2127-DF11-B6CD-003048678D9A.root',
00562                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/986832A9-2027-DF11-BA3C-001731A28319.root',
00563                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/72E3CCBE-2027-DF11-A796-001731AF6A4F.root',
00564                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/64700BBC-2427-DF11-B061-00261894393B.root',
00565                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/38E12CCB-2727-DF11-B4DA-001731A281B1.root',
00566                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/385D7755-2727-DF11-9F17-001731A28F19.root',
00567                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/306EBF32-2127-DF11-8865-003048678D86.root',
00568                 '/store/relval/CMSSW_3_6_0_pre2/RelValTTbar/GEN-SIM-RECO/START3X_V24-v1/0000/0069AC5F-2827-DF11-8986-001731AF698F.root'
00569                 ] );
00570 
00571         elif (sampleFromRelease == 'CMSSW_3_5_6') and (useSample == 'MinBias') and (dataType == 'RECO') :
00572             
00573             dataset = '/MinBias/Spring10-START3X_V26A_356ReReco-v1/GEN-SIM-RECO'
00574             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00575 
00576             readFiles.extend( [
00577                 '/store/mc/Spring10/MinBias/GEN-SIM-RECO/START3X_V26A_356ReReco-v1/0009/FEFC70B6-F53D-DF11-B57E-003048679150.root',
00578                 '/store/mc/Spring10/MinBias/GEN-SIM-RECO/START3X_V26A_356ReReco-v1/0009/FED8673E-F53D-DF11-9E58-0026189437EB.root',
00579                 '/store/mc/Spring10/MinBias/GEN-SIM-RECO/START3X_V26A_356ReReco-v1/0009/FEBF7874-EF3D-DF11-910D-002354EF3BDF.root',
00580                 '/store/mc/Spring10/MinBias/GEN-SIM-RECO/START3X_V26A_356ReReco-v1/0009/FEA8ECD8-F13D-DF11-8EBD-00304867BFAE.root',
00581                 '/store/mc/Spring10/MinBias/GEN-SIM-RECO/START3X_V26A_356ReReco-v1/0009/FE838E9F-F43D-DF11-BEBA-00261894393B.root'
00582                 ] );
00583 
00584         elif (sampleFromRelease == 'CMSSW_3_5_0') and (useSample == 'RelValQCD_Pt_80_120') and (dataType == 'RECO') :
00585         
00586             dataset = '/RelValQCD_Pt_80_120/CMSSW_3_5_0-START3X_V21-v1/GEN-SIM-RECO'
00587             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00588 
00589             readFiles.extend( [
00590                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0013/B27E46BF-3E13-DF11-A7EE-001A9281172C.root',
00591                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0013/44E856CB-3F13-DF11-8B01-001A92971B7C.root',
00592                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0013/3ACDFD75-4013-DF11-A204-001A92971BDC.root',
00593                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0013/3A52592E-3E13-DF11-8EAE-001A92810AEA.root',
00594                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0013/38DA44B8-3D13-DF11-B10D-0018F3D09642.root',
00595                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0013/14004A7D-6213-DF11-B250-001A92810AEE.root',
00596                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0012/EA2B34EC-3913-DF11-8E34-0026189438BC.root',
00597                 '/store/relval/CMSSW_3_5_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/START3X_V21-v1/0012/DA4420C6-3813-DF11-84CC-003048679000.root' 
00598                 ] );
00599 
00600 
00601         elif (sampleFromRelease == 'CMSSW_3_5_0') and (useSample == 'RelValTTbar') and (dataType == 'RECO') :
00602         
00603             dataset = '/RelValTTbar/CMSSW_3_5_0-START3X_V21-v1/GEN-SIM-RECO'
00604             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00605 
00606             readFiles.extend( [
00607                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/E27A62CF-4013-DF11-8D9C-001A92971B32.root',
00608                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/C6BED359-4013-DF11-B77E-002618943800.root',
00609                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/B250B859-4213-DF11-9CE7-001A92971B12.root',
00610                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/984BA759-4013-DF11-8E61-002618FDA207.root',
00611                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/6C7C2ADA-4113-DF11-AFB7-001A92971B64.root',
00612                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/606521E1-4313-DF11-845B-001731AF669D.root',
00613                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/6038B443-3F13-DF11-A075-001A92811700.root',
00614                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0013/4E6B8895-3E13-DF11-B951-003048678BB8.root',
00615                 '/store/relval/CMSSW_3_5_0/RelValTTbar/GEN-SIM-RECO/START3X_V21-v1/0012/AE86CDB7-3813-DF11-AB79-0030486790BA.root' 
00616                 ] );
00617 
00618         elif (sampleFromRelease == 'CMSSW_3_4_1') and (useSample == 'RelValQCD_Pt_80_120') and (dataType == 'RECO') :
00619         
00620             dataset = '/RelValQCD_Pt_80_120/CMSSW_3_4_1-STARTUP3X_V14-v1/GEN-SIM-RECO'
00621             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00622 
00623             readFiles.extend( [
00624                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/D8AE64A2-8FED-DE11-B37B-000423D99658.root',
00625                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/D814474A-90ED-DE11-A54F-001D09F2A49C.root',
00626                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/D2235DA4-8FED-DE11-A5FE-001D09F241F0.root',
00627                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/C2371774-B6ED-DE11-9292-0030487C5CFA.root',
00628                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/B84A6EE6-8EED-DE11-9733-001D09F29321.root',
00629                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/58E9DA6E-8DED-DE11-91C8-003048D3756A.root',
00630                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/48D81FB5-91ED-DE11-9BFA-001617C3B5E4.root',
00631                 '/store/relval/CMSSW_3_4_1/RelValQCD_Pt_80_120/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/0AB1FC24-91ED-DE11-8A56-001D09F231B0.root' 
00632                 ] );
00633 
00634 
00635         elif (sampleFromRelease == 'CMSSW_3_4_1') and (useSample == 'RelValTTbar') and (dataType == 'RECO') :
00636         
00637             dataset = '/RelValTTbar/CMSSW_3_4_1-STARTUP3X_V14-v1/GEN-SIM-RECO'
00638             print '   Running on dataset', dataset, '\n   produced with', sampleFromRelease, '\n   Global tag used to run:', globalTag  
00639 
00640             readFiles.extend( [
00641                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/CE62D4D8-85ED-DE11-8BD2-000423D9853C.root',
00642                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/A0FB9B2E-85ED-DE11-8A8D-001D09F290CE.root',
00643                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/9A2F0DDF-85ED-DE11-B5D1-001D09F290CE.root',
00644                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/820C7C8C-86ED-DE11-83D4-001D09F295FB.root',
00645                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/685C77F0-87ED-DE11-A4A5-000423D60FF6.root',
00646                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/4CFCC894-86ED-DE11-B3F4-001D09F2447F.root',
00647                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/3EA206BD-B5ED-DE11-B481-000423D6C8E6.root',
00648                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/3CCCE28D-86ED-DE11-A583-000423D986C4.root',
00649                 '/store/relval/CMSSW_3_4_1/RelValTTbar/GEN-SIM-RECO/STARTUP3X_V14-v1/0004/2CF90F4D-87ED-DE11-A3AF-003048D375AA.root' 
00650                 ] );
00651 
00652 
00653         else :
00654             print 'Error: no files for:\n  sample', useSample, '\n  type', dataType, '\n  produced with', sampleFromRelease, '\n  global tag of type ', globalTag    
00655             errorUserOptions = True
00656             
00657 
00658         secFiles.extend([
00659             ])
00660 
00661     else :
00662         print 'Error: Global Tag', globalTag, 'not defined.'    
00663         errorUserOptions = True
00664         
00665 
00666 elif (useRelValSample == False) and (useLocalFiles == False) :
00667 
00668     # data
00669 
00670     if dataType == 'RAW' : 
00671 
00672         # temporary hack until I code a das function
00673         if (runNumber == '180250') or (runNumber == '179828') :
00674             
00675             if (runNumber == '180250') :
00676                 dataset = '/MinimumBias/Run2011B-v1/RAW'
00677             elif (runNumber == '179828') :
00678                 #dataset = '/HighPileUpHPF/Run2011B-v1/RAW'
00679                 dataset = '/ZeroBiasHPF0/Run2011B-v1/RAW'
00680              
00681             print '   Running on dataset:', dataset, 'with global tag ', globalTag
00682             print
00683             print '   List of files retrieved by das_client:\n'
00684 
00685             import das_client
00686             import json
00687              
00688             # Same default values as the options in das_client.py
00689             #host  =  'https://cmsweb.cern.ch'
00690             host  =  'https://cmsweb-testbed.cern.ch'
00691             query =  ''
00692             idx   =   0
00693             limit =  10
00694             debug =   0
00695             
00696             filePaths    = []
00697             
00698             # query DAS
00699             query =  'file dataset=' + dataset + ' run=' + runNumber + ' | grep file.name'
00700             dasData = das_client.get_data(host, query, idx, limit, debug)
00701             
00702             jsondict    = json.loads( dasData )
00703             mongo_query = jsondict[ 'mongo_query' ]
00704             filters     = mongo_query[ 'filters' ]
00705             data        = jsondict[ 'data' ]
00706             
00707             rows = []
00708             for row in data:
00709                 filePath = [ r for r in das_client.get_value( row, filters ) ][ 0 ]
00710                 filePaths.append( filePath )
00711                 
00712             print '   ', filePaths
00713             
00714             readFiles.extend(
00715                     filePaths
00716                 );
00717 
00718             secFiles.extend([
00719                 ])
00720     
00721         elif runNumber == '156508' :
00722             dataset = '/MinimumBias/Commissioning11-v1/RAW'
00723             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00724     
00725             readFiles.extend( [
00726                 '/store/data/Commissioning11/MinimumBias/RAW/v1/000/156/508/02BC73A4-042F-E011-97DD-001D09F29146.root' 
00727                 ] );
00728 
00729             secFiles.extend([
00730                 ])
00731 
00732     
00733         elif runNumber == '137028' :
00734             dataset = '/Run2010A/ZeroBias/RAW'
00735             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00736     
00737             readFiles.extend( [
00738                 '/store/data/Run2010A/ZeroBias/RAW/v1/000/137/028/0C88B386-3971-DF11-A163-000423D99896.root' 
00739                 ] );
00740 
00741             secFiles.extend([
00742                 ])
00743 
00744     
00745         elif runNumber == '156508_137028' :
00746             dataset = 'Strangely mixed datasets'
00747             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00748     
00749             readFiles.extend( [
00750                 '/store/data/Commissioning11/MinimumBias/RAW/v1/000/156/508/02BC73A4-042F-E011-97DD-001D09F29146.root', 
00751                 '/store/data/Run2010A/ZeroBias/RAW/v1/000/137/028/0C88B386-3971-DF11-A163-000423D99896.root'
00752                 ] );
00753 
00754             secFiles.extend([
00755                 ])
00756             
00757             selectedEvents = cms.untracked.VEventRange(
00758                                     '156508:15865619-156508:15899999',
00759                                     '137028:52756288-137028:52799999'
00760                                     )
00761 
00762     
00763         elif runNumber == '123596' :
00764             dataset = '/Cosmics/BeamCommissioning09-v1/RAW'
00765             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00766     
00767             readFiles.extend( [
00768                 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/596/8E21B4C8-74E2-DE11-ABAA-000423D999CA.root' 
00769                 ] );
00770 
00771             secFiles.extend([
00772                 ])
00773 
00774     
00775         elif runNumber == '116035' :
00776             dataset = '/Cosmics/Commissioning09-v3/RAW'
00777             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00778     
00779             readFiles.extend( [                        
00780                 '/store/data/Commissioning09/Cosmics/RAW/v3/000/116/035/34A8317D-76AF-DE11-91DB-000423D98DC4.root'
00781                 ]);                                                                                               
00782 
00783             secFiles.extend([
00784                 ])
00785         
00786         elif runNumber == '121560' :
00787             dataset = '/Cosmics/Commissioning09-v3/RAW'
00788             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00789     
00790             readFiles.extend( [                        
00791                 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/121/560/DC089E4B-5ED4-DE11-A179-000423D98FBC.root'
00792                 ]);                                                                                               
00793 
00794             secFiles.extend([
00795                 ])
00796 
00797         elif runNumber == '127715' :
00798             dataset = '/Cosmics/Commissioning10-v3/RAW'
00799             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00800     
00801             readFiles.extend( [                        
00802                 '/store/data/Commissioning10/Cosmics/RAW/v3/000/127/715/FCB12D5F-6C18-DF11-AB4B-000423D174FE.root'
00803                 ]);                                                                                               
00804 
00805             secFiles.extend([
00806                 ])
00807 
00808         elif runNumber == '132440_132439_Cosmics' :
00809             dataset = '/Cosmics/Commissioning10-v4/RAW'
00810             print '   Running on dataset:', dataset, 'with global tag ', globalTag 
00811     
00812             readFiles.extend( [                        
00813                 '/store/data/Commissioning10/Cosmics/RAW/v4/000/132/440/72DAEFC2-1A3C-DF11-A352-0030487A195C.root',
00814                 '/store/data/Commissioning10/Cosmics/RAW/v4/000/132/439/A689F088-EE3B-DF11-A241-000423D99896.root'
00815                 ]);                                                                                               
00816 
00817             secFiles.extend([
00818                 ])
00819 
00820         elif runNumber == 'Commissioning10-Apr1Skim_Muon_skim-v1' :
00821             dataset = '/MinimumBias/Commissioning10-Apr1Skim_Muon_skim-v1/RAW-RECO'
00822             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00823     
00824             readFiles.extend( [                        
00825                 '/store/data/Commissioning10/MinimumBias/RAW-RECO/Apr1Skim_Muon_skim-v1/0139/047E236C-B03E-DF11-8A23-002618FDA204.root',
00826                 '/store/data/Commissioning10/MinimumBias/RAW-RECO/Apr1Skim_Muon_skim-v1/0139/040A2472-C83E-DF11-85C6-002618FDA259.root' 
00827                 ]);                                                                                               
00828 
00829             secFiles.extend([
00830                 ])
00831 
00832         elif runNumber == '165633-CAFDQM' :
00833             dataset = '/MinimumBias/'
00834             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00835     
00836             readFiles.extend( [ 
00837                 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/DQMTest/MinimumBias__RAW__v1__165633__1CC420EE-B686-E011-A788-0030487CD6E8.root'                       
00838                 ]);                                                                                               
00839 
00840             secFiles.extend([
00841                 ])
00842 
00843         else :
00844             print 'Error: run', runNumber, 'has no RAW file(s) available.'    
00845             errorUserOptions = True
00846             
00847 
00848     elif dataType == 'RECO' : 
00849         # data
00850         if runNumber == '137028' :
00851             dataset = '/Run2010A/ZeroBias/RECO-v2'
00852             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00853 
00854             readFiles.extend( [
00855                 '/store/data/Run2010A/ZeroBias/RECO/v2/000/137/028/08BF857D-2471-DF11-9CEB-003048D2BBF0.root'
00856         
00857                 ] );
00858         elif runNumber == '123596' :
00859             dataset = '/Cosmics/BeamCommissioning09-v2/RECO'
00860             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00861 
00862             readFiles.extend( [
00863                 '/store/data/BeamCommissioning09/Cosmics/RECO/v2/000/123/596/FC5C3B0F-8AE2-DE11-A905-003048D37456.root'
00864         
00865                 ] );
00866         elif runNumber == '127715' :
00867             dataset = '/Cosmics/Commissioning10-v3/RECO'
00868             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00869     
00870             readFiles.extend( [                        
00871                 '/store/data/Commissioning10/Cosmics/RECO/v3/000/127/715/261A3141-9F18-DF11-883E-001D09F24493.root'
00872                 ]);                                                                                               
00873 
00874             secFiles.extend([
00875                 ])
00876 
00877         elif runNumber == 'Commissioning10-Apr1Skim_Muon_skim-v1' :
00878             dataset = '/MinimumBias/Commissioning10-Apr1Skim_Muon_skim-v1/RAW-RECO'
00879             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00880     
00881             readFiles.extend( [
00882                 '/store/data/Commissioning10/MinimumBias/RAW-RECO/Apr1Skim_Muon_skim-v1/0140/E0740811-8E40-DF11-AA5E-0026189438ED.root',
00883                 '/store/data/Commissioning10/MinimumBias/RAW-RECO/Apr1Skim_Muon_skim-v1/0139/EE8A4C75-C83E-DF11-9116-002618943983.root',
00884                 '/store/data/Commissioning10/MinimumBias/RAW-RECO/Apr1Skim_Muon_skim-v1/0139/E8557E88-B43E-DF11-9882-00248C0BE005.root',
00885                 '/store/data/Commissioning10/MinimumBias/RAW-RECO/Apr1Skim_Muon_skim-v1/0139/E618AD7F-C83E-DF11-B8BE-002618943915.root'               
00886                 ]);                                                                                               
00887 
00888             secFiles.extend([
00889                 ])
00890 
00891         elif runNumber == 'MinimumBias_Commissioning10-May13thReReco_preproduction-v1_RECO' :
00892             dataset = '/MinimumBias/Commissioning10-May13thReReco_preproduction-v1/RECO'
00893             print '   Running on dataset:', dataset, 'run', runNumber, 'with global tag ', globalTag 
00894     
00895             readFiles.extend( [
00896                 '/store/data/Commissioning10/MinimumBias/RECO/May13thReReco_preproduction-v1/0141/A07EA5F3-845F-DF11-870E-00261894388A.root',
00897                 '/store/data/Commissioning10/MinimumBias/RECO/May13thReReco_preproduction-v1/0141/208DE4F3-845F-DF11-8CD2-00261894390B.root',
00898                 '/store/data/Commissioning10/MinimumBias/RECO/May13thReReco_preproduction-v1/0139/FEDE3C23-145F-DF11-915A-0018F3D0965E.root',
00899                 '/store/data/Commissioning10/MinimumBias/RECO/May13thReReco_preproduction-v1/0139/FABF11BB-0B5F-DF11-8CF9-00248C0BE013.root'                
00900                 ]);                                                                                               
00901 
00902             secFiles.extend([
00903                 ])
00904         else :
00905             print 'Error: run', runNumber, 'has no RECO file available.'    
00906             errorUserOptions = True
00907             
00908 
00909     elif dataType == 'FileStream' : 
00910         # data dat
00911         readFiles.extend( [
00912                 'file:/lookarea_SM/MWGR_29.00105760.0001.A.storageManager.00.0000.dat'
00913         
00914             ] );
00915 
00916 
00917     else : 
00918         print 'Error:', dataType, 'data for',  runNumber, 'not defined.'    
00919         errorUserOptions = True
00920         
00921             
00922 else :
00923     readFiles.extend( [                        
00924         'file:/afs/cern.ch/user/g/ghete/scratch0/CmsswTestFiles/LocalFile_source.root'
00925         ]);                                                                                               
00926 
00927     secFiles.extend([
00928         ])
00929 
00930     print 'Local file(s)', readFiles
00931     
00932 if overrideGlobalTag == True :
00933     globalTag = myGlobalTag
00934   
00935 if globalTag.count('auto') :
00936     from Configuration.AlCa.autoCond import autoCond
00937     useGlobalTag = autoCond[globalTag.replace('auto:', '')]
00938 else :
00939     useGlobalTag = globalTag+'::All'    
00940