-
Notifications
You must be signed in to change notification settings - Fork 13
feat: fully support Iguana and add documentation webpage #101
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
de571f4 to
2429b7a
Compare
c4e546c to
c543358
Compare
iguana::Algorithm::Run callsiguana::Algorithm::Run calls and add documentation webpage
iguana::Algorithm::Run calls and add documentation webpage|
Hi Chris, |
bbea6ba to
7b81fff
Compare
Iguana's If I understand correctly, the user should call
That's possible too. |
|
I made a comment in the branch pull request. I will copy it here "I think there may be an issue with this method. RECFT is not a fully complete record, it shares some banks with REC. So a filter or iguana algorithm may require a combination of RECFT and REC information and any filters applied would need to be synchronised with both." I think having iguana create a combined bank on the fly, might be the way to go. The procedure would be well defined. : This is essentially what clas12root currently does. It my also be the getParticleBank works in practise, just not clear to me yet. |
Sure, I can take care of this in the This is out of scope of this PR though, being more of an
|
e746a69 to
549795b
Compare
549795b to
f6d8943
Compare
🦎 Iguana Integration
RunRoot/Ex11_Iguana.Cprovides a full example how to use Iguana algorithms with Clas12root; the comments within explain everything. Here are resulting plots for run 6658:Details
clas12readernow has the functionclas12reader::SetReadAction(std::function<bool(clas12reader*)>), which takes a lambda expression of the formregion_particleobjectsclas12reader*pointer argument provides access to the state of theclas12readerinstance at that time, and its bank accessors therefore provide access to the banks before Clas12root does anything else with themRunfunctions to:boolreturn value can be used to decide whether or not to further process the event; returningfalsemeans the event will be skipped andclas12readerwill proceed to the next eventRunfunction enhancements iguana#364)region_particleis equipped to handlehipo::bankfiltershipo::bank::rowlist::filterto filter bank rowsregion_particlenow contains members to track whether or not the particle was filteredregion_particleaccessors inclas12readeralso now can handle such filtering results📖 Documentation
masterbranchHere's a screenshot of the webpage for

clas12reader(click to enlarge):