Skip to content

Saving Strip Pairing Chi Square for Each Detector#121

Open
julianmgerber wants to merge 2 commits intocositools:develop/emfrom
julianmgerber:QualityFlags
Open

Saving Strip Pairing Chi Square for Each Detector#121
julianmgerber wants to merge 2 commits intocositools:develop/emfrom
julianmgerber:QualityFlags

Conversation

@julianmgerber
Copy link
Copy Markdown

Summary of Changes:

  • Storing information on best chi square for each input detector
  • Printing out chi square for each detector in .dat file
  • Using minimum/maximum chi square in vector in Event Filter module (as opposed to average of the chi square)

Copy link
Copy Markdown
Collaborator

@ckierans ckierans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Julian. Just make sure this vector is being saved to the EVTA file so it can be filtered in mimrec.

for (auto i : m_StripPairingReducedChiSquare) {
S<<" "<<i;
}
S<<endl;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You only have the streaming defined for the .dat file, but we also will want this in the evta file - that's the standard format for revan. This should probably be incorporated in the StreamBDFlags function where you already have the Strip Pairing quality flag printout. Unless there's a reason you had this pulled out separately?

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.

2 participants