-
Couldn't load subscription status.
- Fork 33
Feature/aantonak crtveto caf #578
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
base: develop
Are you sure you want to change the base?
Changes from all commits
b256c77
6cbfa8d
3a6116e
9254c24
2d109dc
21befcb
7e3023c
d03d9f6
387d4ad
25ef6cc
1ab38e5
c011954
4aac8d8
89516ab
7cdb76e
1b4390b
04a5a6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -188,6 +188,25 @@ namespace caf | |||||||||
| srsbndcrttrack.tof = track.ToF(); | ||||||||||
| } | ||||||||||
|
|
||||||||||
| void FillSBNDCRTVeto(const sbnd::crt::CRTVeto &veto, | ||||||||||
| const std::vector<art::Ptr<sbnd::crt::CRTSpacePoint>> &points, | ||||||||||
| caf::SRSBNDCRTVeto &srsbndcrtveto, | ||||||||||
| bool allowEmpty) | ||||||||||
| { | ||||||||||
| srsbndcrtveto.V0 = veto.V0(); | ||||||||||
| srsbndcrtveto.V1 = veto.V1(); | ||||||||||
| srsbndcrtveto.V2 = veto.V2(); | ||||||||||
| srsbndcrtveto.V3 = veto.V3(); | ||||||||||
| srsbndcrtveto.V4 = veto.V4(); | ||||||||||
|
|
||||||||||
| // add the CRTSpacePoint associations to the SR Veto | ||||||||||
| for(auto const& sp : points) { | ||||||||||
| srsbndcrtveto.sp_position.emplace_back(sp->X(), sp->Y(), sp->Z()); | ||||||||||
| srsbndcrtveto.sp_time.emplace_back(sp->Ts0()); /// ns for SBND CRT SpacePoints | ||||||||||
| srsbndcrtveto.sp_pe.emplace_back(sp->PE()); | ||||||||||
|
Comment on lines
+205
to
+206
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest the use of good old
Suggested change
|
||||||||||
| } | ||||||||||
| } | ||||||||||
|
|
||||||||||
| void FillSBNDFrameShiftInfo(const sbnd::timing::FrameShiftInfo &frame, | ||||||||||
| caf::SRSBNDFrameShiftInfo &srsbndframe, | ||||||||||
| bool allowEmpty) | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.