Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Alignment.APEEstimation.SectorBuilder_cfi import *
0004 
0005 
0006 
0007 ##
0008 ## Whole Subdetector (means only one for both endcaps)
0009 ##
0010 
0011 Fpix = EmptySector.clone(
0012     name = 'Fpix',
0013     subdetId = [2],
0014 )
0015 
0016 FPIX = cms.VPSet(
0017     Fpix,
0018 )
0019 
0020 
0021 
0022 ##
0023 ## Separation of side(+,-)
0024 ##
0025 
0026 FpixMinus = Fpix.clone(
0027     name = 'FpixMinus',
0028     side = [1],
0029 )
0030 FpixPlus = Fpix.clone(
0031     name = 'FpixPlus',
0032     side = [2],
0033 )
0034 
0035 FPIXSideSeparation = cms.VPSet(
0036     FpixMinus,
0037     FpixPlus,
0038 )
0039 
0040 
0041 
0042 ##
0043 ## Separation of side + layers
0044 ##
0045 
0046 FpixMinusLayer1 = FpixMinus.clone(
0047     name = 'FpixMinusLayer1',
0048     layer = [1],
0049 )
0050 FpixMinusLayer2 = FpixMinus.clone(
0051     name = 'FpixMinusLayer2',
0052     layer = [2],
0053 )
0054 FpixMinusLayer3 = FpixMinus.clone(
0055     name = 'FpixMinusLayer3',
0056     layer = [3],
0057 )
0058 FpixPlusLayer1 = FpixPlus.clone(
0059     name = 'FpixPlusLayer1',
0060     layer = [1],
0061 )
0062 FpixPlusLayer2 = FpixPlus.clone(
0063     name = 'FpixPlusLayer2',
0064     layer = [2],
0065 )
0066 FpixPlusLayer3 = FpixPlus.clone(
0067     name = 'FpixPlusLayer3',
0068     layer = [3],
0069 )
0070 
0071 FPIXSideAndLayerSeparation = cms.VPSet(
0072     FpixMinusLayer1,
0073     FpixMinusLayer2,
0074     FpixMinusLayer3,
0075     FpixPlusLayer1,
0076     FpixPlusLayer2,
0077     FpixPlusLayer3,
0078 )
0079 
0080 
0081 
0082 ##
0083 ## Separation of side + layers + orientations
0084 ##
0085 
0086 FpixMinusLayer1Out = FpixMinusLayer1.clone(
0087     name = 'FpixMinusLayer1Out',
0088     wDirection = [-1],
0089 )
0090 FpixMinusLayer1In = FpixMinusLayer1.clone(
0091     name = 'FpixMinusLayer1In',
0092     wDirection = [1],
0093 )
0094 FpixMinusLayer2Out = FpixMinusLayer2.clone(
0095     name = 'FpixMinusLayer2Out',
0096     wDirection = [-1],
0097 )
0098 FpixMinusLayer2In = FpixMinusLayer2.clone(
0099     name = 'FpixMinusLayer2In',
0100     wDirection = [1],
0101 )
0102 FpixMinusLayer3Out = FpixMinusLayer3.clone(
0103     name = 'FpixMinusLayer3Out',
0104     wDirection = [-1],
0105 )
0106 FpixMinusLayer3In = FpixMinusLayer3.clone(
0107     name = 'FpixMinusLayer3In',
0108     wDirection = [1],
0109 )
0110 FpixPlusLayer1Out = FpixPlusLayer1.clone(
0111     name = 'FpixPlusLayer1Out',
0112     wDirection = [1],
0113 )
0114 FpixPlusLayer1In = FpixPlusLayer1.clone(
0115     name = 'FpixPlusLayer1In',
0116     wDirection = [-1],
0117 )
0118 FpixPlusLayer2Out = FpixPlusLayer2.clone(
0119     name = 'FpixPlusLayer2Out',
0120     wDirection = [1],
0121 )
0122 FpixPlusLayer2In = FpixPlusLayer2.clone(
0123     name = 'FpixPlusLayer2In',
0124     wDirection = [-1],
0125 )
0126 FpixPlusLayer3Out = FpixPlusLayer3.clone(
0127     name = 'FpixPlusLayer3Out',
0128     wDirection = [1],
0129 )
0130 FpixPlusLayer3In = FpixPlusLayer3.clone(
0131     name = 'FpixPlusLayer3In',
0132     wDirection = [-1],
0133 )
0134 
0135 FPIXSideAndLayerAndOrientationSeparation = cms.VPSet(
0136     FpixMinusLayer1Out,
0137     FpixMinusLayer1In,
0138     FpixMinusLayer2Out,
0139     FpixMinusLayer2In,
0140     FpixMinusLayer3Out,
0141     FpixMinusLayer3In,
0142     FpixPlusLayer1Out,
0143     FpixPlusLayer1In,
0144     FpixPlusLayer2Out,
0145     FpixPlusLayer2In,
0146     FpixPlusLayer3Out,
0147     FpixPlusLayer3In,
0148 )
0149 
0150 
0151 
0152 
0153 
0154 
0155 
0156