Skip to content
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

Incorporate Trackless Pions #23

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Incorporate Trackless Pions #23

wants to merge 17 commits into from

Conversation

bamesserly
Copy link
Collaborator

Weave in Mehreen's work on untracked pions that are detected with a michel only.

@bamesserly bamesserly force-pushed the mehreen_michels branch 2 times, most recently from d49e39e to 104415f Compare January 12, 2022 16:52
@bamesserly bamesserly force-pushed the mehreen_michels branch 2 times, most recently from bc3966d to 72bd8e7 Compare March 23, 2022 18:34
Also: add Ever's new michel tuple location to ccpion_common.

And: reformat my Michel.h.
all the variables that Mehreen plots.
Remove some of it from Cuts. Mehreen's vertex michels need Cluster.
They probably overlap with some of my functions or some
standard functions. Should consolidate them.
I don't think we'll need to save it to CVU, but maybe.
Add Mehreen's CVU and update format her hascut file.
Cleared out Cuts.* files. Moved unused cuts to RetiredCuts, which
probably doesn't compile, but can be used for reference or to
easily revive old cuts. Moved most helper functions to CutUtils,
which is compiled and doesn't have many dependencies.

Lastly, attempting to use the new PassesCuts function which returns
all returns by value, not by reference.
1. update some branch names for newer version of mehreen branches.
2. had accidentally removed iso prongs cut.
3. replace raw branch read in signal def with official mnrva function.
Cluster, Michel, and Cuts all compile now. Only CCPiEvent needs to be
reviewed before all compiles.

In the end I only tweaked the cutting strategy for vertex michels:
still do all the exclusive cuts kLLR, etc as usual, but now first
fill a separate vertex michels container, which the exclusive cuts
don't affect. Then only, liek the multipi cut changed.

Big restructure of Michel and cuts code. Don't modify michel containers
by ref any more - only return them directly. Break out MichelEvent to
be a mere data container class. Switch vectors of Michels in there to be
vectors of pointers to Michels, to dodge circular dependency.

Save the trackless michels to the CVU in order to calculate pion
quantities from them. Otherwise a good vertex michel is coded as a
pion candidate track of index -1.

Big todos: 1) match michels (using clusters) between vertex and
endpoint so we don't double count. 2) argument or option to turn off
vertex michel analysis.

Otherwise, next is fix CCPiEvent and implement test loop in
studies/runNewMichel.C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant