Skip to content
Snippets Groups Projects

Setup for global Alignment of VELO and SciFi

Open Nils Breer requested to merge nibreer_globalALignmentSetup into 2024-patches

Added options files and adapted AlignmentScenarios.py to pick up the configurations for the global Alignment with the SciFi and the VELO. Adapted the SurveyConstraints.py and in alignment_tracking.py added backwards VELO tracks to the reconstruction sequence.

Edited by Nils Breer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Anfeng Li assigned to @oozcelik and unassigned @anfeng

    assigned to @oozcelik and unassigned @anfeng

  • Nils Breer added 14 commits

    added 14 commits

    • 3e19394b...e5819ce5 - 12 commits from branch master
    • 0a904a13 - Merge branch 'master' into nibreer_globalALignmentSetup
    • 12697afa - adapted optionsfiles, removed savefiles, updated SurveyConstraints and AlignmentScenarios

    Compare with previous version

  • Nils Breer added 1 commit

    added 1 commit

    Compare with previous version

  • 38 from Humboldt.options import usePrKalman
    39
    40 options.input_type = 'MDF'
    41 options.input_raw_format = 0.5
    42 options.simulation = False # in DD4Hep is False the correct option
    43 options.data_type = 'Upgrade'
    44
    45 # set DDDB and CondDB info
    46 options.geometry_version = "trunk" # run3/trunk
    47 #CONDDBTag = "master"
    48 CONDDBTag = "nibreer_giulia_mass_conds"
    49 options.conditions_version = CONDDBTag
    50
    51 online_cond_path = '/group/online/hlt/conditions.run3/lhcb-conditions-database'
    52 if os.path.exists(online_cond_path):
    53 DD4hepSvc().ConditionsLocation = 'file://' + online_cond_path
  • Flo Reiss
    Flo Reiss @freiss started a thread on the diff
  • 1 ###############################################################################
  • 33 from PyConf.application import configure_input
    34 from PRConfig.FilesFromDirac import get_access_urls
    35 from DDDB.CheckDD4Hep import UseDD4Hep
    36 from Configurables import LHCb__Det__LbDD4hep__DD4hepSvc as DD4hepSvc
    37 from RecoConf.event_filters import require_pvs
    38 from Humboldt.options import usePrKalman
    39
    40 options.input_type = 'MDF'
    41 options.input_raw_format = 0.5
    42 options.simulation = False # in DD4Hep is False the correct option
    43 options.data_type = 'Upgrade'
    44
    45 # set DDDB and CondDB info
    46 options.geometry_version = "trunk" # run3/trunk
    47 #CONDDBTag = "master"
    48 CONDDBTag = "nibreer_giulia_mass_conds"
  • Flo Reiss
    Flo Reiss @freiss started a thread on the diff
  • 109 setup.Elements += list(elements)
    110
    111 surveyconstraints = SurveyConstraints()
    112 if UseDD4Hep:
    113 surveyconstraints.VP(ver='2023_dd4hep')
    114 surveyconstraints.FT(addHalfModuleJoints=True)
    115 else:
    116 surveyconstraints.VP(ver='latest')
    117 setup.SurveyConstraints = surveyconstraints
    118
    119 constraints = []
    120 constraints.append("VPHalfAverage : .*?VP(Left|Right) : Tx Ty Tz")
    121 constraints.append("FTBackFramesFixed : FT/T3/X2/HL.*/M. : Tx Rz : total")
    122 setup.LagrangeConstraints = constraints
    123
    124 return setup
    • Comment on lines +42 to +124

      can these function consolidated into one?

    • Author Developer

      Yes they can, I am still trying to figure out which degrees of freedom work best so in principle we will only have one. For now it is faster if I have several Scenarios which I can run in parallel.

    • Please register or sign in to reply
  • Rosen Matev added 1 deleted label

    added 1 deleted label

  • Rosen Matev changed target branch from master to 2024-patches

    changed target branch from master to 2024-patches

  • 397 402 for k in self._FTRealQuarters:
    398 403 for l in self._FTModulesAll if i == "/T3" else self._FTModulesShort:
    399 404 elements.append(self._FT + i + j + k + l)
    405 # print('FTHalfModules elements:', elements)
    406 self.__append(elements, dofs)
    407
    408 def FTHalfModulesOuterLayers(self, dofs=""):
  • 417 432 modbot = 'FT' + station + layer + Qbot + module
    418 433 joints.append(" : ".join(
    419 434 [modtop, modbot, errors, "0 -1212.75 0"]))
    435
    436
  • Nils Breer added 1 commit

    added 1 commit

    • 131fbf2f - restored utils options and particle selection

    Compare with previous version

  • assigned to @pvidrier and unassigned @isanders

  • assigned to @palaguar and unassigned @pvidrier

  • Hello. What is the state of this MR?

  • assigned to @chenjia and unassigned @palaguar

  • mentioned in issue Moore#776 (closed)

  • Yingao Tang assigned to @yitang and unassigned @chenjia

    assigned to @yitang and unassigned @chenjia

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading