def __init__(self): super(cluster, self).__init__() self._productName = 'cluster' self._process = evd.DrawCluster() self.init() self.setParamsDrawing(False) self._listOfClusters = [] self._listOfCParams = [] # Defining the cluster colors: self._clusterColors = [ (0, 147, 147), # dark teal (0, 0, 252), # bright blue (156, 0, 156), # purple (255, 0, 255), # pink (255, 0, 0), # red (175, 0, 0), # red/brown (252, 127, 0), # orange (102, 51, 0), # brown (127, 127, 127), # dark gray (210, 210, 210), # gray (100, 253, 0) # bright green ]
def __init__(self, geom): super(cluster, self).__init__() self._productName = 'cluster' self._process = evd.DrawCluster(geom.getGeometryCore(), geom.getDetectorProperties(), geom.getDetectorClocks()) self._n_planes = geom.nPlanes() * geom.nTPCs() * geom.nCryos() self.init() self._listOfClusters = [] # Defining the cluster colors: self._clusterColors = [ (0, 147, 147), # dark teal (0, 0, 252), # bright blue (156, 0, 156), # purple (255, 0, 255), # pink (255, 0, 0), # red (175, 0, 0), # red/brown (252, 127, 0), # orange (102, 51, 0), # brown (127, 127, 127), # dark gray (210, 210, 210), # gray (100, 253, 0) # bright green ]
def __init__(self, detectorConfig): super(cluster, self).__init__() self._productName = 'cluster' self._process = evd.DrawCluster(detectorConfig._geometryCore, detectorConfig._detectorProperties) self.init() self._listOfClusters = [] # Defining the cluster colors: self._clusterColors = [ (0, 147, 147), # dark teal (0, 0, 252), # bright blue (156, 0, 156), # purple (255, 0, 255), # pink (255, 0, 0), # red (175, 0, 0), # red/brown (252, 127, 0), # orange (102, 51, 0), # brown (127, 127, 127), # dark gray (210, 210, 210), # gray (100, 253, 0) # bright green ]