def reconstruct(self, simptcs, detector): self.pfinput = PFInput(simptcs) elements = self.pfinput.element_list() elements = merge_clusters(elements, 'hcal_in') elements = merge_clusters(elements, 'ecal_in') self.links = Links(elements, distance) self.pfreco = PFReconstructor(self.links, detector, self.logger)
def reconstruct(self, simptcs, detector): self.pfinput = PFInput(simptcs) elements = self.pfinput.element_list() elements = merge_clusters(elements, 'hcal_in') elements = merge_clusters(elements, 'ecal_in') self.links = Links(elements, distance) self.pfreco = PFReconstructor( self.links, detector, self.logger)
def reconstruct(self, simptcs, detector): self.pfinput = PFInput(simptcs) elements = self.pfinput.element_list() elements = merge_clusters(elements, 'hcal_in') elements = merge_clusters(elements, 'ecal_in') self.links = Links(elements, distance) self.elements=elements #alice added this is so that the new reconstruction algorithms can start with # the merged cluster self.pfreco = PFReconstructor( self.links, detector, self.logger)
class PFSequence(object): def __init__(self, simptcs, detector, logger): self.logger = logger self.recptcs = self.reconstruct(simptcs, detector) def reconstruct(self, simptcs, detector): self.pfinput = PFInput(simptcs) elements = self.pfinput.element_list() elements = merge_clusters(elements, 'hcal_in') elements = merge_clusters(elements, 'ecal_in') self.links = Links(elements, distance) self.pfreco = PFReconstructor(self.links, detector, self.logger)
class PFSequence(object): def __init__(self, simptcs, detector, logger): self.logger = logger self.recptcs = self.reconstruct(simptcs, detector) def reconstruct(self, simptcs, detector): self.pfinput = PFInput(simptcs) elements = self.pfinput.element_list() elements = merge_clusters(elements, 'hcal_in') elements = merge_clusters(elements, 'ecal_in') self.links = Links(elements, distance) self.pfreco = PFReconstructor( self.links, detector, self.logger)