Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions include/MReadOutAssembly.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,17 @@ class MReadOutAssembly : public MReadOutSequence
//! Get the energy resolution calibration incomplete flag
bool IsEnergyResolutionCalibrationIncomplete() const { return m_EnergyResolutionCalibrationIncomplete; }

//! set the Strip Hit Below Threshold flag
void SetStripHitBelowThreshold(bool Flag = true, MString Text = ""){
m_StripHitBelowThreshold = Flag; m_StripHitBelowThreshold = Text;}
//! get the Strip Hit Below Threshold flag
bool IsStripHitBelowThreshold() const { return m_StripHitBelowThreshold; }

//! Set the Strip Hit Below Threshold quality flag
void SetStripHitBelowThreshold_QualityFlag(bool Flag = true, MString Text = ""){ m_StripHitBelowThreshold_QualityFlag = Flag; m_StripHitBelowThresholdString_QualityFlag = Text;}
//! Get the Strip Hit Below Threshold quality flag
bool IsStripHitBelowThreshold_QualityFlag() const { return m_StripHitBelowThreshold_QualityFlag; }

//! Track the energy and number of strip hits removed through the threshold cut
void AddStripHitBelowThreshold(double Energy) { m_StripHitBelowThreshold_Energy = m_StripHitBelowThreshold_Energy + Energy; m_StripHitBelowThreshold_Number = m_StripHitBelowThreshold_Number + 1; }
//! Get total energy removed through threshold cut
double GetStripHitBelowThreshold_Energy() const { return m_StripHitBelowThreshold_Energy; }
//! Get total number of strip hits removed through threshold cut
int GetStripHitBelowThreshold_Number() const { return m_StripHitBelowThreshold_Number;}

//! Set the strip-pairing-incomplete flag
void SetStripPairingIncomplete(bool Flag = true, MString Text = "") { m_StripPairingIncomplete = Flag; m_StripPairingIncompleteString = Text; }
Expand Down Expand Up @@ -448,7 +453,7 @@ class MReadOutAssembly : public MReadOutSequence
//! Reduced Chi^2 of the Strip Paired Event
double m_ReducedChiSquare;

// Flags indicating the quality of the event
// Flags indicating the quality of the event: incomplete calibration
bool m_AspectIncomplete;
MString m_AspectIncompleteString;

Expand All @@ -473,9 +478,12 @@ class MReadOutAssembly : public MReadOutSequence
MString m_DepthCalibrationIncompleteString;
bool m_DepthCalibration_OutofRange;
MString m_DepthCalibration_OutofRangeString;

bool m_StripHitBelowThreshold;
MString m_StripHitBelowThresholdString;

// Flags indicating the quality of the event: quality warning, but not to be filtered out
bool m_StripHitBelowThreshold_QualityFlag;
MString m_StripHitBelowThresholdString_QualityFlag;
double m_StripHitBelowThreshold_Energy;
int m_StripHitBelowThreshold_Number;

bool m_EventReconstructionIncomplete;
MString m_EventReconstructionIncompleteString;
Expand Down
Loading