CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
SimpleCosmicBONSeeder_cfi Namespace Reference

Functions

def makeSimpleCosmicSeedLayers
 

Variables

tuple layerInfo = RecoTracker.SpecialSeedGenerators.CombinatorialSeedGeneratorForCosmics_cfi.layerInfo.clone()
 
tuple layerList = makeSimpleCosmicSeedLayers('ALL')
 
tuple simpleCosmicBONSeeds
 

Function Documentation

def SimpleCosmicBONSeeder_cfi.makeSimpleCosmicSeedLayers (   layers)

Definition at line 5 of file SimpleCosmicBONSeeder_cfi.py.

5 
6 def makeSimpleCosmicSeedLayers(*layers):
7  layerList = cms.vstring()
8  if 'ALL' in layers:
9  layers = [ 'TOB', 'TEC', 'TOBTEC', 'TECSKIP' ]
10  if 'TOB' in layers:
11  layerList += ['TOB4+TOB5+TOB6',
12  'TOB3+TOB5+TOB6',
13  'TOB3+TOB4+TOB5',
14  'TOB3+TOB4+TOB6',
15  'TOB2+TOB4+TOB5',
16  'TOB2+TOB3+TOB5']
17  if 'TEC' in layers:
18  TECwheelTriplets = [ (i,i+1,i+2) for i in range(7,0,-1)]
19  layerList += [ 'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls for ls in TECwheelTriplets ]
20  layerList += [ 'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls for ls in TECwheelTriplets ]
21  if 'TECSKIP' in layers:
22  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) ]
23  layerList += [ 'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls for ls in TECwheelTriplets ]
24  layerList += [ 'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls for ls in TECwheelTriplets ]
25  if 'TOBTEC' in layers:
26  layerList += [ 'TOB6+TEC1_pos+TEC2_pos',
27  'TOB6+TEC1_neg+TEC2_neg',
28  'TOB6+TOB5+TEC1_pos',
29  'TOB6+TOB5+TEC1_neg' ]
30  #print "SEEDING LAYER LIST = ", layerList
31  return layerList

Variable Documentation

tuple SimpleCosmicBONSeeder_cfi.layerInfo = RecoTracker.SpecialSeedGenerators.CombinatorialSeedGeneratorForCosmics_cfi.layerInfo.clone()

Definition at line 32 of file SimpleCosmicBONSeeder_cfi.py.

tuple SimpleCosmicBONSeeder_cfi.layerList = makeSimpleCosmicSeedLayers('ALL')

Definition at line 34 of file SimpleCosmicBONSeeder_cfi.py.

tuple SimpleCosmicBONSeeder_cfi.simpleCosmicBONSeeds

Definition at line 36 of file SimpleCosmicBONSeeder_cfi.py.