Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 class Granularity:
0002     def __init__(self):
0003         self.sectors = {}
0004         self.names = {}
0005         self.sectors["X"] = []
0006         self.names["X"] = []
0007         self.sectors["Y"] = []
0008         self.names["Y"] = []
0009 
0010 
0011 
0012 # tracker used for phase 0 (before 2017)
0013 phaseZeroGranularity = Granularity()        
0014 phaseZeroGranularity.sectors["X"].append( (1,  10)) # BPIX/FPIX
0015 phaseZeroGranularity.sectors["X"].append( (11, 22)) # TIB
0016 phaseZeroGranularity.sectors["X"].append( (23, 34)) # TOB
0017 phaseZeroGranularity.sectors["X"].append( (35, 44)) # TID
0018 phaseZeroGranularity.sectors["X"].append( (45, 64)) # TEC
0019 phaseZeroGranularity.names["X"] = ["PIXEL", "TIB", "TOB", "TID", "TEC"]
0020 phaseZeroGranularity.sectors["Y"].append( (1,  10)) # BPIX/FPIX
0021 phaseZeroGranularity.names["Y"] = ["PIXEL",]
0022 
0023 # tracker used for phase 1 (from 2017 until HL-LHC)
0024 # This was a pixel upgrade, so the number pixel sectors changed
0025 phaseOneGranularity = Granularity()        
0026 phaseOneGranularity.sectors["X"].append( (1,  14)) # BPIX/FPIX
0027 phaseOneGranularity.sectors["X"].append( (15, 26)) # TIB
0028 phaseOneGranularity.sectors["X"].append( (27, 38)) # TOB
0029 phaseOneGranularity.sectors["X"].append( (39, 48)) # TID
0030 phaseOneGranularity.sectors["X"].append( (49, 68)) # TEC
0031 phaseOneGranularity.names["X"] = ["PIXEL", "TIB", "TOB", "TID", "TEC"]
0032 phaseOneGranularity.sectors["Y"].append( (1,  14)) # BPIX/FPIX
0033 phaseOneGranularity.names["Y"] = ["PIXEL",]
0034 
0035 
0036 # this name is used by default by other plotting tools
0037 standardGranularity = phaseOneGranularity
0038 
0039 # Granularity for Validation plots in ApeEstimator2 part of allData.root
0040 validationGranularity = Granularity()
0041 validationGranularity.sectors["X"].append( (1,8) ) # Only X is needed here, names are not required
0042 
0043 # By default, these 8 sectors are included for the ValidationSectors granularity:
0044 # BpixLayer1Out, BpixLayer3In, FpixMinusLayer1, TibLayer1RphiOut, TibLayer4In, TobLayer1StereoOut, TobLayer5Out, TecPlusRing7
0045 # This can be changed in apeEstimator_cfg or in SectorBuilder_cff
0046 # For these sectors, additional hit validation plots are created