Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:55:57

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Alignment.APEEstimation.SectorBuilder_cfi import *
0004 
0005 
0006 
0007 ##
0008 ## Whole Subdetector
0009 ##
0010 
0011 Tib = EmptySector.clone(
0012     name = 'Tib',
0013     subdetId = [3],
0014 )
0015 
0016 TIB = cms.VPSet(
0017     Tib,
0018 )
0019 
0020 
0021 
0022 ##
0023 ##  cosmic-like quartering (upper, lower, left, right part)
0024 ##
0025 
0026 TibUp = Tib.clone(
0027     name = 'TibUp',
0028     posPhi = [0.7854,2.3562],   # [45,135] degree
0029 )
0030 TibDown = Tib.clone(
0031     name = 'TibDown',
0032     posPhi = [-2.3562,-0.7854],   # [-135,-45] degree
0033 )
0034 TibLeft = Tib.clone(
0035     name = 'TibLeft',
0036     posPhi = [-0.7854,0.7854],   # [-45,45] degree
0037 )
0038 TibRight = Tib.clone(
0039     name = 'TibRight',
0040     posPhi = [-3.5,-2.3562,2.3562,3.5],   # [135,-135] degree
0041 )
0042 
0043 TIBQuarters = cms.VPSet(
0044     TibUp,
0045     TibDown,
0046     TibLeft,
0047     TibRight,
0048 )
0049 
0050 
0051 
0052 ##
0053 ## Separation of pitches + Separation of 1D and 2D layers
0054 ##
0055 
0056 TibLayer12 = Tib.clone(
0057     name = 'TibLayer12',
0058     layer = [1,2],
0059 )
0060 TibLayer34 = Tib.clone(
0061     name = 'TibLayer34',
0062     layer = [3,4],
0063 )
0064 
0065 TIBPitchAnd2DSeparation = cms.VPSet(
0066     TibLayer12,
0067     TibLayer34,
0068 )
0069 
0070 
0071 
0072 ##
0073 ## Separation of layers
0074 ##
0075 
0076 TibLayer1 = Tib.clone(
0077     name = 'TibLayer1',
0078     layer = [1],
0079 )
0080 TibLayer2 = Tib.clone(
0081     name = 'TibLayer2',
0082     layer = [2],
0083 )
0084 TibLayer3 = Tib.clone(
0085     name = 'TibLayer3',
0086     layer = [3],
0087 )
0088 TibLayer4 = Tib.clone(
0089     name = 'TibLayer4',
0090     layer = [4],
0091 )
0092 
0093 TIBPureLayerSeparation = cms.VPSet(
0094     TibLayer1,
0095     TibLayer2,
0096     TibLayer3,
0097     TibLayer4,
0098 )
0099 
0100 
0101 
0102 ##
0103 ## Separation of layers + rphi/stereo
0104 ##
0105 
0106 TibLayer1Rphi = TibLayer1.clone(
0107     name = 'TibLayer1Rphi',
0108     isRPhi = [1],
0109 )
0110 TibLayer1Stereo = TibLayer1.clone(
0111     name = 'TibLayer1Stereo',
0112     isStereo = [1],
0113 )
0114 TibLayer2Rphi = TibLayer2.clone(
0115     name = 'TibLayer2Rphi',
0116     isRPhi = [1],
0117 )
0118 TibLayer2Stereo = TibLayer2.clone(
0119     name = 'TibLayer2Stereo',
0120     isStereo = [1],
0121 )
0122 
0123 TIBLayerSeparation = cms.VPSet(
0124     TibLayer1Rphi,
0125     TibLayer1Stereo,
0126     TibLayer2Rphi,
0127     TibLayer2Stereo,
0128     TibLayer3,
0129     TibLayer4,
0130 )
0131 
0132 
0133 
0134 ##
0135 ## Separation of layers + rphi/stereo + orientations
0136 ##
0137 
0138 TibLayer1RphiOut = TibLayer1Rphi.clone(
0139     name = 'TibLayer1RphiOut',
0140     wDirection = [1],
0141 )
0142 TibLayer1StereoOut = TibLayer1Stereo.clone(
0143     name = 'TibLayer1StereoOut',
0144     wDirection = [1],
0145 )
0146 TibLayer1RphiIn = TibLayer1Rphi.clone(
0147     name = 'TibLayer1RphiIn',
0148     wDirection = [-1],
0149 )
0150 TibLayer1StereoIn = TibLayer1Stereo.clone(
0151     name = 'TibLayer1StereoIn',
0152     wDirection = [-1],
0153 )
0154 TibLayer2RphiOut = TibLayer2Rphi.clone(
0155     name = 'TibLayer2RphiOut',
0156     wDirection = [1],
0157 )
0158 TibLayer2StereoOut = TibLayer2Stereo.clone(
0159     name = 'TibLayer2StereoOut',
0160     wDirection = [1],
0161 )
0162 TibLayer2RphiIn = TibLayer2Rphi.clone(
0163     name = 'TibLayer2RphiIn',
0164     wDirection = [-1],
0165 )
0166 TibLayer2StereoIn = TibLayer2Stereo.clone(
0167     name = 'TibLayer2StereoIn',
0168     wDirection = [-1],
0169 )
0170 TibLayer3Out = TibLayer3.clone(
0171     name = 'TibLayer3Out',
0172     wDirection = [1],
0173 )
0174 TibLayer3In = TibLayer3.clone(
0175     name = 'TibLayer3In',
0176     wDirection = [-1],
0177 )
0178 TibLayer4Out = TibLayer4.clone(
0179     name = 'TibLayer4Out',
0180     wDirection = [1],
0181 )
0182 TibLayer4In = TibLayer4.clone(
0183     name = 'TibLayer4In',
0184     wDirection = [-1],
0185 )
0186 
0187 TIBLayerAndOrientationSeparation = cms.VPSet(
0188     TibLayer1RphiOut,
0189     TibLayer1StereoOut,
0190     TibLayer1RphiIn,
0191     TibLayer1StereoIn,
0192     TibLayer2RphiOut,
0193     TibLayer2StereoOut,
0194     TibLayer2RphiIn,
0195     TibLayer2StereoIn,
0196     TibLayer3Out,
0197     TibLayer3In,
0198     TibLayer4Out,
0199     TibLayer4In,
0200 )
0201 
0202 
0203 
0204 
0205 
0206 
0207 
0208 
0209 
0210 
0211 
0212 
0213 
0214