Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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