Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
import FWCore.ParameterSet.Config as cms

from Alignment.APEEstimation.SectorBuilder_Bpix_cff import *
from Alignment.APEEstimation.SectorBuilder_Fpix_cff import *
from Alignment.APEEstimation.SectorBuilder_Tib_cff import *
from Alignment.APEEstimation.SectorBuilder_Tid_cff import *
from Alignment.APEEstimation.SectorBuilder_Tob_cff import *
from Alignment.APEEstimation.SectorBuilder_Tec_cff import *



###======================================================================================================================================================================

##
## One Sector for each Subdetector (means only one for e.g. both endcaps)
##

SubdetSectors = BPIX + FPIX + TIB + TOB + TID + TEC



###======================================================================================================================================================================

##
## Only TID and TEC (means only one for e.g. both endcaps)
##

TIDTEC = TID + TEC



###======================================================================================================================================================================

##
## Only TIB and TOB
##

TIBTOB = TIB + TOB



###======================================================================================================================================================================

##
## Only TIB and TOB, cosmic-like quartering (upper, lower, left, right part)
##

TIBTOBQuarters = TIBQuarters + TOBQuarters



###======================================================================================================================================================================

##
## Only TIB and TOB + Separation of pitches + Separation of 1D and 2D layers
##

TIBTOBPitchAnd2DSeparation = TIBPitchAnd2DSeparation + TOBPitchAnd2DSeparation



###======================================================================================================================================================================

##
## Only TIB and TOB, Separation of layers + rphi/stereo + orientations
##

# In TOB: All RPhi modules within a layer point in same w direction. Same is valid for Stereo modules, but with opposite sign

TIBTOBLayerAndOrientationSeparation = TIBLayerAndOrientationSeparation + TOBLayerAndOrientationSeparation


###======================================================================================================================================================================

##
## Only TID and TEC, Separation of side + rings + rphi/stereo
##

TIDTECSideAndRingSeparation = TIDSideAndRingSeparation + TECSideAndRingSeparation



###======================================================================================================================================================================

##
## Only TID and TEC, Separation of side + rings + rphi/stereo + orientations
##

# In TEC: All RPhi modules within a ring point in same w direction. Same is valid for Stereo modules, but with opposite sign

TIDTECSideAndRingAndOrientationSeparation = TIDSideAndRingAndOrientationSeparation + TECSideAndRingAndOrientationSeparation



###======================================================================================================================================================================

##
## Sectors used for validation
##

ValidationSectors = cms.VPSet(
    BpixLayer1Out,
    BpixLayer3In,
    FpixMinusLayer1,
    TibLayer1RphiOut,
    TibLayer4In,
    TobLayer1StereoOut,
    TobLayer5Out,
    TecPlusRing7,
)


###======================================================================================================================================================================

##
## Recent definition for whole tracker
##

RecentSectors = cms.VPSet()

RecentSectors += BPIXLayerAndOrientationSeparation
RecentSectors += FPIXSideAndLayerSeparation
RecentSectors += TIBLayerAndOrientationSeparation
RecentSectors += TOBLayerAndOrientationSeparation
RecentSectors += TIDSideAndRingSeparation
RecentSectors += TECSideAndRingSeparation