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 Tec = EmptySector.clone(
0012     name = 'Tec',
0013     subdetId = [6],
0014 )
0015 
0016 TEC = cms.VPSet(
0017     Tec,
0018 )
0019 
0020 
0021 
0022 ##
0023 ## Separation of side(+,-)
0024 ##
0025 
0026 TecMinus = Tec.clone(
0027     name = 'TecMinus',
0028     side = [1],
0029 )
0030 TecPlus = Tec.clone(
0031     name = 'TecPlus',
0032     side = [2],
0033 )
0034 
0035 TECSideSeparation = cms.VPSet(
0036     TecMinus,
0037     TecPlus,
0038 )
0039 
0040 
0041 
0042 ##
0043 ## Separation of side + rings
0044 ##
0045 
0046 TecMinusRing1 = TecMinus.clone(
0047     name = 'TecMinusRing1',
0048     ring = [1],
0049 )
0050 TecMinusRing2 = TecMinus.clone(
0051     name = 'TecMinusRing2',
0052     ring = [2],
0053 )
0054 TecMinusRing3 = TecMinus.clone(
0055     name = 'TecMinusRing3',
0056     ring = [3],
0057 )
0058 TecMinusRing4 = TecMinus.clone(
0059     name = 'TecMinusRing4',
0060     ring = [4],
0061 )
0062 TecMinusRing5 = TecMinus.clone(
0063     name = 'TecMinusRing5',
0064     ring = [5],
0065 )
0066 TecMinusRing6 = TecMinus.clone(
0067     name = 'TecMinusRing6',
0068     ring = [6],
0069 )
0070 TecMinusRing7 = TecMinus.clone(
0071     name = 'TecMinusRing7',
0072     ring = [7],
0073 )
0074 TecPlusRing1 = TecPlus.clone(
0075     name = 'TecPlusRing1',
0076     ring = [1],
0077 )
0078 TecPlusRing2 = TecPlus.clone(
0079     name = 'TecPlusRing2',
0080     ring = [2],
0081 )
0082 TecPlusRing3 = TecPlus.clone(
0083     name = 'TecPlusRing3',
0084     ring = [3],
0085 )
0086 TecPlusRing4 = TecPlus.clone(
0087     name = 'TecPlusRing4',
0088     ring = [4],
0089 )
0090 TecPlusRing5 = TecPlus.clone(
0091     name = 'TecPlusRing5',
0092     ring = [5],
0093 )
0094 TecPlusRing6 = TecPlus.clone(
0095     name = 'TecPlusRing6',
0096     ring = [6],
0097 )
0098 TecPlusRing7 = TecPlus.clone(
0099     name = 'TecPlusRing7',
0100     ring = [7],
0101 )
0102 
0103 TECSideAndPureRingSeparation = cms.VPSet(
0104     TecMinusRing1,
0105     TecMinusRing2,
0106     TecMinusRing3,
0107     TecMinusRing4,
0108     TecMinusRing5,
0109     TecMinusRing6,
0110     TecMinusRing7,
0111     TecPlusRing1,
0112     TecPlusRing2,
0113     TecPlusRing3,
0114     TecPlusRing4,
0115     TecPlusRing5,
0116     TecPlusRing6,
0117     TecPlusRing7,
0118 )
0119 
0120 
0121 
0122 ##
0123 ## Separation of side + rings + rphi/stereo
0124 ##
0125 
0126 TecMinusRing1Rphi = TecMinusRing1.clone(
0127     name = 'TecMinusRing1Rphi',
0128     isRPhi = [1],
0129 )
0130 TecMinusRing1Stereo = TecMinusRing1.clone(
0131     name = 'TecMinusRing1Stereo',
0132     isStereo = [1],
0133 )
0134 TecMinusRing2Rphi = TecMinusRing2.clone(
0135     name = 'TecMinusRing2Rphi',
0136     isRPhi = [1],
0137 )
0138 TecMinusRing2Stereo = TecMinusRing2.clone(
0139     name = 'TecMinusRing2Stereo',
0140     isStereo = [1],
0141 )
0142 TecMinusRing5Rphi = TecMinusRing5.clone(
0143     name = 'TecMinusRing5Rphi',
0144     isRPhi = [1],
0145 )
0146 TecMinusRing5Stereo = TecMinusRing5.clone(
0147     name = 'TecMinusRing5Stereo',
0148     isStereo = [1],
0149 )
0150 TecPlusRing1Rphi = TecPlusRing1.clone(
0151     name = 'TecPlusRing1Rphi',
0152     isRPhi = [1],
0153 )
0154 TecPlusRing1Stereo = TecPlusRing1.clone(
0155     name = 'TecPlusRing1Stereo',
0156     isStereo = [1],
0157 )
0158 TecPlusRing2Rphi = TecPlusRing2.clone(
0159     name = 'TecPlusRing2Rphi',
0160     isRPhi = [1],
0161 )
0162 TecPlusRing2Stereo = TecPlusRing2.clone(
0163     name = 'TecPlusRing2Stereo',
0164     isStereo = [1],
0165 )
0166 TecPlusRing5Rphi = TecPlusRing5.clone(
0167     name = 'TecPlusRing5Rphi',
0168     isRPhi = [1],
0169 )
0170 TecPlusRing5Stereo = TecPlusRing5.clone(
0171     name = 'TecPlusRing5Stereo',
0172     isStereo = [1],
0173 )
0174 
0175 TECSideAndRingSeparation = cms.VPSet(
0176     TecMinusRing1Rphi,
0177     TecMinusRing1Stereo,
0178     TecMinusRing2Rphi,
0179     TecMinusRing2Stereo,
0180     TecMinusRing3,
0181     TecMinusRing4,
0182     TecMinusRing5Rphi,
0183     TecMinusRing5Stereo,
0184     TecMinusRing6,
0185     TecMinusRing7,
0186     
0187     TecPlusRing1Rphi,
0188     TecPlusRing1Stereo,
0189     TecPlusRing2Rphi,
0190     TecPlusRing2Stereo,
0191     TecPlusRing3,
0192     TecPlusRing4,
0193     TecPlusRing5Rphi,
0194     TecPlusRing5Stereo,
0195     TecPlusRing6,
0196     TecPlusRing7,
0197 )
0198 
0199 
0200 
0201 ##
0202 ## Separation of side + rings + rphi/stereo + orientations
0203 ##
0204 
0205 TecMinusRing1RphiOut = TecMinusRing1Rphi.clone(
0206     name = 'TecMinusRing1RphiOut',
0207     wDirection = [-1],
0208 )
0209 TecMinusRing1StereoOut = TecMinusRing1Stereo.clone(
0210     name = 'TecMinusRing1StereoOut',
0211     wDirection = [-1],
0212 )
0213 TecMinusRing1RphiIn = TecMinusRing1Rphi.clone(
0214     name = 'TecMinusRing1RphiIn',
0215     wDirection = [1],
0216 )
0217 TecMinusRing1StereoIn = TecMinusRing1Stereo.clone(
0218     name = 'TecMinusRing1StereoIn',
0219     wDirection = [1],
0220 )
0221 TecMinusRing2RphiOut = TecMinusRing2Rphi.clone(
0222     name = 'TecMinusRing2RphiOut',
0223     wDirection = [-1],
0224 )
0225 TecMinusRing2StereoOut = TecMinusRing2Stereo.clone(
0226     name = 'TecMinusRing2StereoOut',
0227     wDirection = [-1],
0228 )
0229 TecMinusRing2RphiIn = TecMinusRing2Rphi.clone(
0230     name = 'TecMinusRing2RphiIn',
0231     wDirection = [1],
0232 )
0233 TecMinusRing2StereoIn = TecMinusRing2Stereo.clone(
0234     name = 'TecMinusRing2StereoIn',
0235     wDirection = [1],
0236 )
0237 TecMinusRing3Out = TecMinusRing3.clone(
0238     name = 'TecMinusRing3Out',
0239     wDirection = [-1],
0240 )
0241 TecMinusRing3In = TecMinusRing3.clone(
0242     name = 'TecMinusRing3In',
0243     wDirection = [1],
0244 )
0245 TecMinusRing4Out = TecMinusRing4.clone(
0246     name = 'TecMinusRing4Out',
0247     wDirection = [-1],
0248 )
0249 TecMinusRing4In = TecMinusRing4.clone(
0250     name = 'TecMinusRing4In',
0251     wDirection = [1],
0252 )
0253 TecMinusRing5RphiOut = TecMinusRing5Rphi.clone(
0254     name = 'TecMinusRing5RphiOut',
0255     wDirection = [-1],
0256 )
0257 TecMinusRing5StereoOut = TecMinusRing5Stereo.clone(
0258     name = 'TecMinusRing5StereoOut',
0259     wDirection = [-1],
0260 )
0261 TecMinusRing5RphiIn = TecMinusRing5Rphi.clone(
0262     name = 'TecMinusRing5RphiIn',
0263     wDirection = [1],
0264 )
0265 TecMinusRing5StereoIn = TecMinusRing5Stereo.clone(
0266     name = 'TecMinusRing5StereoIn',
0267     wDirection = [1],
0268 )
0269 TecMinusRing6Out = TecMinusRing6.clone(
0270     name = 'TecMinusRing6Out',
0271     wDirection = [-1],
0272 )
0273 TecMinusRing6In = TecMinusRing6.clone(
0274     name = 'TecMinusRing6In',
0275     wDirection = [1],
0276 )
0277 TecMinusRing7Out = TecMinusRing7.clone(
0278     name = 'TecMinusRing7Out',
0279     wDirection = [-1],
0280 )
0281 TecMinusRing7In = TecMinusRing7.clone(
0282     name = 'TecMinusRing7In',
0283     wDirection = [1],
0284 )
0285 
0286 TecPlusRing1RphiOut = TecPlusRing1Rphi.clone(
0287     name = 'TecPlusRing1RphiOut',
0288     wDirection = [1],
0289 )
0290 TecPlusRing1StereoOut = TecPlusRing1Stereo.clone(
0291     name = 'TecPlusRing1StereoOut',
0292     wDirection = [1],
0293 )
0294 TecPlusRing1RphiIn = TecPlusRing1Rphi.clone(
0295     name = 'TecPlusRing1RphiIn',
0296     wDirection = [-1],
0297 )
0298 TecPlusRing1StereoIn = TecPlusRing1Stereo.clone(
0299     name = 'TecPlusRing1StereoIn',
0300     wDirection = [-1],
0301 )
0302 TecPlusRing2RphiOut = TecPlusRing2Rphi.clone(
0303     name = 'TecPlusRing2RphiOut',
0304     wDirection = [1],
0305 )
0306 TecPlusRing2StereoOut = TecPlusRing2Stereo.clone(
0307     name = 'TecPlusRing2StereoOut',
0308     wDirection = [1],
0309 )
0310 TecPlusRing2RphiIn = TecPlusRing2Rphi.clone(
0311     name = 'TecPlusRing2RphiIn',
0312     wDirection = [-1],
0313 )
0314 TecPlusRing2StereoIn = TecPlusRing2Stereo.clone(
0315     name = 'TecPlusRing2StereoIn',
0316     wDirection = [-1],
0317 )
0318 TecPlusRing3Out = TecPlusRing3.clone(
0319     name = 'TecPlusRing3Out',
0320     wDirection = [1],
0321 )
0322 TecPlusRing3In = TecPlusRing3.clone(
0323     name = 'TecPlusRing3In',
0324     wDirection = [-1],
0325 )
0326 TecPlusRing4Out = TecPlusRing4.clone(
0327     name = 'TecPlusRing4Out',
0328     wDirection = [1],
0329 )
0330 TecPlusRing4In = TecPlusRing4.clone(
0331     name = 'TecPlusRing4In',
0332     wDirection = [-1],
0333 )
0334 TecPlusRing5RphiOut = TecPlusRing5Rphi.clone(
0335     name = 'TecPlusRing5RphiOut',
0336     wDirection = [1],
0337 )
0338 TecPlusRing5StereoOut = TecPlusRing5Stereo.clone(
0339     name = 'TecPlusRing5StereoOut',
0340     wDirection = [1],
0341 )
0342 TecPlusRing5RphiIn = TecPlusRing5Rphi.clone(
0343     name = 'TecPlusRing5RphiIn',
0344     wDirection = [-1],
0345 )
0346 TecPlusRing5StereoIn = TecPlusRing5Stereo.clone(
0347     name = 'TecPlusRing5StereoIn',
0348     wDirection = [-1],
0349 )
0350 TecPlusRing6Out = TecPlusRing6.clone(
0351     name = 'TecPlusRing6Out',
0352     wDirection = [1],
0353 )
0354 TecPlusRing6In = TecPlusRing6.clone(
0355     name = 'TecPlusRing6In',
0356     wDirection = [-1],
0357 )
0358 TecPlusRing7Out = TecPlusRing7.clone(
0359     name = 'TecPlusRing7Out',
0360     wDirection = [1],
0361 )
0362 TecPlusRing7In = TecPlusRing7.clone(
0363     name = 'TecPlusRing7In',
0364     wDirection = [-1],
0365 )
0366 
0367 # All RPhi modules within a ring point in same w direction. Same is valid for Stereo modules, but with opposite sign
0368 
0369 TECSideAndRingAndOrientationSeparation = cms.VPSet(
0370     TecMinusRing1RphiOut,
0371     #TecMinusRing1StereoOut,
0372     #TecMinusRing1RphiIn,
0373     TecMinusRing1StereoIn,
0374     #TecMinusRing2RphiOut,
0375     TecMinusRing2StereoOut,
0376     TecMinusRing2RphiIn,
0377     #TecMinusRing2StereoIn,
0378     #TecMinusRing3Out,
0379     TecMinusRing3In,
0380     TecMinusRing4Out,
0381     #TecMinusRing4In,
0382     TecMinusRing5RphiOut,
0383     #TecMinusRing5StereoOut,
0384     #TecMinusRing5RphiIn,
0385     TecMinusRing5StereoIn,
0386     TecMinusRing6Out,
0387     #TecMinusRing6In,
0388     #TecMinusRing7Out,
0389     TecMinusRing7In,
0390     
0391     TecPlusRing1RphiOut,
0392     #TecPlusRing1StereoOut,
0393     #TecPlusRing1RphiIn,
0394     TecPlusRing1StereoIn,
0395     #TecPlusRing2RphiOut,
0396     TecPlusRing2StereoOut,
0397     TecPlusRing2RphiIn,
0398     #TecPlusRing2StereoIn,
0399     #TecPlusRing3Out,
0400     TecPlusRing3In,
0401     TecPlusRing4Out,
0402     #TecPlusRing4In,
0403     TecPlusRing5RphiOut,
0404     #TecPlusRing5StereoOut,
0405     #TecPlusRing5RphiIn,
0406     TecPlusRing5StereoIn,
0407     TecPlusRing6Out,
0408     #TecPlusRing6In,
0409     #TecPlusRing7Out,
0410     TecPlusRing7In,
0411 )
0412 
0413 
0414 
0415 
0416 
0417 
0418 
0419 
0420 
0421 
0422 
0423