Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LHCb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 198
    • Issues 198
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 52
    • Merge requests 52
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • LHCb
  • Merge requests
  • !1163

Add a constant function to access UT Sectors

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Monir Hadji requested to merge mhadji-add-getutsector into master Mar 02, 2018
  • Overview 55
  • Commits 3
  • Pipelines 0
  • Changes 3

PrStoreUTHit was using findSector for each ut clusters, this function is an usual logn lower bound on a vector<pair<key, sector>>

a second std::vector<sector*> was already there and created with an almost good order to be able to create some offsets during DeUTDetector::initialize and therefore doing an access with an almost constant complexity

maybe it's possible to do something similar with findMat (used by PrStoreFThit) if this one is also a logn getter and if it's a hotspot

Edited Mar 23, 2018 by Marco Cattaneo
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: mhadji-add-getutsector