New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTPPS: new DataFormats for local TOTEM RP reconstruction #14134
CTPPS: new DataFormats for local TOTEM RP reconstruction #14134
Conversation
A new Pull Request was created by @jan-kaspar for CMSSW_8_1_X. It involves the following packages: DataFormats/CTPPSReco The following packages do not have a category, yet: DataFormats/CTPPSReco @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Pull request #14134 was updated. @cvuosalo, @slava77, @davidlange6 can you please check and sign again. |
|
||
virtual ~FittedRecHit() {} | ||
|
||
inline const TVector3 & getGlobalCoordinates() const { return space_point_on_det_; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have rather limited use of TVector* classes.
math::XYZPoint (for generically globally defined cases) or GlobalPoint (for interfaces with global<->local transformations)
if (l.getPosition() > r.getPosition()) | ||
return false; | ||
|
||
if (l.getSigma() < r.getSigma()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you really have multiple hits in the same detector that start at the same position?
I don't see anything particularly egregious, mainly from a perspective that for some time digis are expected to be saved and that all hit reco and tracking can be redone very quickly. |
@slava77 What you suggest often makes sense however it is quite complete redesign. We don't have time for it now but I am happy to do it when we put in place the SW infrastructure for all detectors of CTPPS (pixels, timing, ...). I've noted
Regarding It is very rare to have multiple hits from one sensors associated with a track. It can only happen when, for some reason, there is active-inactive-active strip pattern. Then the two active strips may contribute to one track. |
On 4/21/16 12:48 PM, jan-kaspar wrote:
This should be the easiest
a bit more work, maybe
This will indeed need quite a bit of work.
This is true only where it is important: inclusive collections of digis Using DetSetVector to keep hits on a track trajectory is not practical
|
@slava77 OK. As I wrote already, in near future we will need to add more detectors (pixels, timing, ...) to the SW design. In this moment, we can take into account all your comments and do it properly. Now, do you object using the classes in this PR? |
On 4/21/16 1:28 PM, jan-kaspar wrote:
Can you point me to a file with results of the algorithms, something Thanks.
|
Here: |
static const int dimension = 4; | ||
|
||
///< covariance matrix size | ||
static const int covarianceSize = dimension * dimension; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is supposed to be a symmetric matrix. Why covarianceSize^2 ?
+1 for #14134 f8a7ef2
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
Thanks, Slava! With the current SW, we can't resolve more than 1 (local) track per RP per event. Hence even if hit occupancy grows, there will be no more track objects. Size-wise, the actual design is not optimal from yet another perspective: all higher level objects keep an independent copy of the associated RecHits. It would be better to store a pointer/reference instead. Is there a sort of persistent reference suitable for such a use? |
On 4/22/16 10:57 AM, jan-kaspar wrote:
DetSeReftVector should work to reference hits in the DetSetVector
|
On Fri, Apr 22, 2016 at 12:21 PM, Slava Krutelyov
Great, thanks! I'll keep this in mind when (re-)designing the classes for CTPPS. |
CTPPS: new DataFormats for local TOTEM RP reconstruction, backport of #14134
This pull request will be followed with another one containing the corresponding producers which are, for the moment, available here:
https://github.com/CTPPS/ctpps-offline/tree/develop/RecoLocalCTPPS/TotemRP