Skip to content
Snippets Groups Projects

Add Trd2d for event building

Closed Alexandru Bercuci requested to merge a.bercuci/cbmroot:mcbm2021 into master

The MR is aimed at fixing a problem appeared for the Trd2d with the advent of mCBM 2021 data taking but affecting the whole TRD group on the longer run; namely the accommodation of 2 pad-plane pick-up electrode topologies (rectangular and triangular) operated by 2 types of FEEs (SPADIC and FASP). Since this is a particularity of only the TRD system the modifications are somehow wider affecting tangentially also parts of the general steering code.

Basically the MR aims at the following :

  • Extend functionality of BuildRawEvents (Algo/Task) to incorporate also data from Trd2d
  • Add data descriptors for Trd2d in the CbmDefs
  • add a proposal for a steering script for event building for mcbm 2021
Edited by Alexandru Bercuci

Merge request reports

Merge request pipeline #15655 passed

Merge request pipeline passed for d8001593

Closed by Alexandru BercuciAlexandru Bercuci 3 years ago (Feb 11, 2022 9:02am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
137 137 }
138 138
139 139 //____________________________________________________________________
140 bool CbmTrdCluster::Merge(CbmTrdCluster* second)
140 bool CbmTrdCluster::Merge(CbmTrdCluster* second, bool typ)
141 141 {
142 142 if (GetRow() != second->GetRow()) return false;
143 143 // time difference condition
144 144 if (fNCols == 1 || second->fNCols == 1) {
145 if (abs(second->fStartTime - fStartTime) > 50) return false;
145 if (abs(int32_t(second->fStartTime - fStartTime)) > 50) return false;
146 146 }
147 else if (abs(second->fStartTime - fStartTime) > 20)
147 else if (abs(int32_t(second->fStartTime - fStartTime)) > 20)
    • Resolved by Volker Friese

      I cannot really comment on the TRD-specific code (reco/detectors/trd), but I cannot help feeling that the price of having TRD-1D and TRD-2D under one software roof is increasing in terms of code complexity.

      The rest looks ok from my point of view. I will request a review by @d.smith concerning the event building part.

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