CMS 3D CMS Logo

SimpleCosmicBONSeeder_cfi Namespace Reference


Functions

def makeSimpleCosmicSeedLayers

Variables

tuple simpleCosmicBONSeeds


Function Documentation

def SimpleCosmicBONSeeder_cfi::makeSimpleCosmicSeedLayers (   layers  ) 

Definition at line 5 of file SimpleCosmicBONSeeder_cfi.py.

00005                                        :
00006     layerList = cms.vstring()
00007     if 'ALL' in layers: 
00008         layers = [ 'TOB', 'TEC', 'TOBTEC', 'TECSKIP' ]
00009     if 'TOB' in layers:
00010         layerList += ['TOB4+TOB5+TOB6',
00011                       'TOB3+TOB5+TOB6',
00012                       'TOB3+TOB4+TOB5',
00013                       'TOB3+TOB4+TOB6',
00014                       'TOB2+TOB4+TOB5',
00015                       'TOB2+TOB3+TOB5']
00016     if 'TEC' in layers:
00017         TECwheelTriplets = [ (i,i+1,i+2) for i in range(7,0,-1)]
00018         layerList += [ 'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls for ls in TECwheelTriplets ]
00019         layerList += [ 'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls for ls in TECwheelTriplets ]
00020     if 'TECSKIP' in layers:
00021         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)  ]
00022         layerList += [ 'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls for ls in TECwheelTriplets ]
00023         layerList += [ 'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls for ls in TECwheelTriplets ]
00024     if 'TOBTEC' in layers:
00025         layerList += [ 'TOB6+TEC1_pos+TEC2_pos',
00026                        'TOB6+TEC1_neg+TEC2_neg',
00027                        'TOB6+TOB5+TEC1_pos',
00028                        'TOB6+TOB5+TEC1_neg' ]
00029     #print "SEEDING LAYER LIST = ", layerList
00030     return layerList
00031     
00032 
simpleCosmicBONSeeds = cms.EDProducer("SimpleCosmicBONSeeder",


Variable Documentation

tuple SimpleCosmicBONSeeder_cfi::simpleCosmicBONSeeds [static]

Definition at line 33 of file SimpleCosmicBONSeeder_cfi.py.


Generated on Tue Jun 9 18:52:32 2009 for CMSSW by  doxygen 1.5.4