Functions | |
def | makeSimpleCosmicSeedLayers |
Variables | |
tuple | simpleCosmicBONSeeds |
def SimpleCosmicBONSeeder_cfi::makeSimpleCosmicSeedLayers | ( | layers | ) |
Definition at line 5 of file SimpleCosmicBONSeeder_cfi.py.
00006 : 00007 layerList = cms.vstring() 00008 if 'ALL' in layers: 00009 layers = [ 'TOB', 'TEC', 'TOBTEC', 'TECSKIP' ] 00010 if 'TOB' in layers: 00011 layerList += ['TOB4+TOB5+TOB6', 00012 'TOB3+TOB5+TOB6', 00013 'TOB3+TOB4+TOB5', 00014 'TOB3+TOB4+TOB6', 00015 'TOB2+TOB4+TOB5', 00016 'TOB2+TOB3+TOB5'] 00017 if 'TEC' in layers: 00018 TECwheelTriplets = [ (i,i+1,i+2) for i in range(7,0,-1)] 00019 layerList += [ 'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls for ls in TECwheelTriplets ] 00020 layerList += [ 'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls for ls in TECwheelTriplets ] 00021 if 'TECSKIP' in layers: 00022 TECwheelTriplets = [ (i-1,i+1,i+2) for i in range(7,1,-1)] + [ (i-1,i,i+2) for i in range(7,1,-1) ] 00023 layerList += [ 'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls for ls in TECwheelTriplets ] 00024 layerList += [ 'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls for ls in TECwheelTriplets ] 00025 if 'TOBTEC' in layers: 00026 layerList += [ 'TOB6+TEC1_pos+TEC2_pos', 00027 'TOB6+TEC1_neg+TEC2_neg', 00028 'TOB6+TOB5+TEC1_pos', 00029 'TOB6+TOB5+TEC1_neg' ] 00030 #print "SEEDING LAYER LIST = ", layerList 00031 return layerList 00032
Definition at line 33 of file SimpleCosmicBONSeeder_cfi.py.