-
Notifications
You must be signed in to change notification settings - Fork 54
Feature/acastill tpcpmt bfm upgrade #807
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
Conversation
|
@fjnicolas Can you take a look at this? |
fjnicolas
left a comment
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.
Thanks @asanchezcastillo ! Looks good to me
| void GetPCA(std::vector<double> const& x, std::vector<double> const& y, std::vector<double> const& weight, std::vector<double>& PCA ); ///< Get the PCA | ||
| double GetSliceCharge(const std::vector<art::Ptr<recob::Hit>> &tpcHitsVec, const detinfo::DetectorPropertiesData det_prop, int tpc); | ||
| double GetFlashLight(double flash_pe, std::vector<double>& total_dir_visibility, std::vector<double>& total_ref_visibility); | ||
| void CreateOpHitList( std::vector<art::Ptr<recob::OpHit>> ophitlist, std::vector<double>& ophit_z, std::vector<double>& ophit_y, std::vector<double>& ophit_weight); |
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.
Why not use FlashPE_v so you do not need to load all the OpHits??
|
trigger build ci_ref=v10_09_00 LArSoft/lar*@LARSOFT_SUITE_v10_09_00 SBNSoftware/sbncode#565 SBNSoftware/sbnalg@v10_09_00 SBNSoftware/sbnobj#144 SBNSoftware/sbnanaobj#156 SBNSoftware/sbndaq-artdaq-core@v1_10_06 SBNSoftware/sbndata@v01_07 SBNSoftware/sbndutil@v10_06_01 SBNSoftware/sbnd_data@v01_35_00 |
|
✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard |
|
✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard |
|
❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard 🚨 For more details about the failed phase, check the build SBND phase logs parent CI build details are available through the CI dashboard |
|
🚨 For more details about the warning phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
|
Approved |
Description
This PR introduces changes to the TPCPMTBarycenter flash matching algorithm to improve its performance. In particular, it makes use of the directionality of the charge/light footprints and a very naive light-calorimetry that is used along with the separation between the charge/light barycenter to build a chi2 that is used to perform charge/light matching.
Checklist
Reviewers,AssigneesDevelopementRelevant PR links (optional)
This PR is to be merged after:
SBNSoftware/sbncode#565
SBNSoftware/sbnanaobj#156
SBNSoftware/sbnobj#144
Link(s) to docdb describing changes (optional)
https://sbn-docdb.fnal.gov/cgi-bin/sso/RetrieveFile?docid=42327&filename=RecoMeeting_16_07.pdf&version=1
Is there a docdb describing the issue this solves or the feature added?