CMS 3D CMS Logo

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

Functions

def makeSimpleCosmicSeedLayers
 

Variables

tuple layerInfo
 
tuple layerList = makeSimpleCosmicSeedLayers('ALL')
 
tuple simpleCosmicBONSeeds
 

Function Documentation

def SimpleCosmicBONSeeder_cfi.makeSimpleCosmicSeedLayers (   layers)

Definition at line 3 of file SimpleCosmicBONSeeder_cfi.py.

References sistrip::SpyUtilities.range().

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

Variable Documentation

tuple SimpleCosmicBONSeeder_cfi.layerInfo
Initial value:
1 = RecoTracker.SpecialSeedGenerators.CombinatorialSeedGeneratorForCosmics_cfi.layerInfo.clone(
2  TEC = dict(useSimpleRphiHitsCleaner = False)
3 )

Definition at line 30 of file SimpleCosmicBONSeeder_cfi.py.

tuple SimpleCosmicBONSeeder_cfi.layerList = makeSimpleCosmicSeedLayers('ALL')

Definition at line 33 of file SimpleCosmicBONSeeder_cfi.py.

tuple SimpleCosmicBONSeeder_cfi.simpleCosmicBONSeeds

Definition at line 35 of file SimpleCosmicBONSeeder_cfi.py.