JAPAn
Just Another Parity Analyzer
|
Data blinding utilities for parity violation analysis. More...
#include <QwBlinder.h>
Public Types | |
enum | EQwBlindingStrategy { kDisabled , kAdditive , kMultiplicative , kAdditiveMultiplicative } |
Available blinding strategies. More... | |
enum | EQwBlinderStatus { kIndeterminate = 0 , kNotBlindable , kBlindable , kBlindableFail } |
Status of the blinding process or intermediate steps of the process. More... | |
Public Member Functions | |
QwBlinder (const EQwBlindingStrategy blinding_strategy=kAdditive) | |
Default constructor with optional database. | |
virtual | ~QwBlinder () |
Default destructor. | |
void | ProcessOptions (QwOptions &options) |
Update the status with new external information. | |
void | Update () |
Update the status using a random number. | |
void | Update (QwParityDB *db) |
Update the status with new external information. | |
void | Update (const QwSubsystemArrayParity &detectors) |
Update the status with new external information. | |
void | Update (const QwEPICSEvent &epics) |
Update the status with new external information. | |
void | ClearEventData () |
void | WriteFinalValuesToDB (QwParityDB *db) |
void | PrintCountersValues (std::vector< Int_t > fCounters, TString counter_type) |
void | PrintFinalValues (Int_t kVerbosity=1) |
void | ModifyThisErrorCode (UInt_t &errorcode) const |
void | BlindValue (Double_t &value) const |
Asymmetry blinding. | |
void | UnBlindValue (Double_t &value) const |
Asymmetry unblinding. | |
void | BlindValue (Double_t &value, const Double_t &yield) const |
Difference blinding. | |
void | UnBlindValue (Double_t &value, const Double_t &yield) const |
Difference unblinding. | |
void | Blind (QwSubsystemArrayParity &diff) |
Blind the asymmetry of an array of subsystems. | |
void | BlindPair (QwSubsystemArrayParity &diff) |
void | UnBlind (QwSubsystemArrayParity &diff) |
Unblind the asymmetry of an array of subsystems. | |
void | Blind (QwSubsystemArrayParity &diff, const QwSubsystemArrayParity &yield) |
Blind the difference of an array of subsystems. | |
void | BlindPair (QwSubsystemArrayParity &diff, const QwSubsystemArrayParity &yield) |
Blind the pair difference of an array of subsystems. | |
void | UnBlind (QwSubsystemArrayParity &diff, const QwSubsystemArrayParity &yield) |
Unblind the difference of an array of subsystems. | |
const Bool_t & | IsBlinderOkay () const |
void | ConstructObjects (TDirectory *folder, TString &prefix) |
Static Public Member Functions | |
static void | DefineOptions (QwOptions &options) |
Static Public Attributes | |
static const TString | fStatusName [4] |
static const UInt_t | kErrorFlag_BlinderFail = 0x200 |
Error flag value. | |
static constexpr const Double_t | kValue_BlinderFail = -1.0 |
Private Member Functions | |
void | SetTargetBlindability (EQwBlinderStatus status) |
Set the current target blindability status. | |
void | SetWienState (EQwWienMode wienmode) |
void | SetIHWPPolarity (Int_t ihwppolarity) |
EQwBlinderStatus | CheckBlindability (std::vector< Int_t > &fCounters) |
QwBlinder (const QwBlinder &__attribute__((unused)) blinder) | |
Private copy constructor. | |
const QwBlinder & | operator= (const QwBlinder &__attribute__((unused)) blinder) |
Private assignment operator. | |
void | InitBlinders (const UInt_t seed_id) |
Vector of test values, after unblinding. | |
void | InitTestValues (const int n) |
Initializes fBlindingFactor from fSeed. | |
Bool_t | CheckTestValues () |
Int_t | UseMD5 (const TString &barestring) |
Recomputes fBlindTestValue to check for memory errors. | |
Int_t | UseStringManip (const TString &barestring) |
Returns an integer from a string using MD5. | |
Int_t | UsePseudorandom (const TString &barestring) |
Int_t | ReadSeed (QwParityDB *db, const UInt_t seed_id) |
Reads the seed with specified id from the database object. | |
Int_t | ReadSeed (QwParityDB *db) |
Reads the seed from the database object. | |
Int_t | ReadRandomSeed () |
Read the seed string generated utilizing a random number generator. | |
void | WriteChecksum (QwParityDB *db) |
void | WriteTestValues (QwParityDB *db) |
Writes fSeedID and fBFChecksum to DB for this analysis ID. | |
std::vector< UChar_t > | GenerateDigest (const TString &input) const |
Writes fTestNumber and fBlindTestValue to DB for this analysis ID. | |
Private Attributes | |
EQwBlinderStatus | fTargetBlindability_firstread |
Indicates the first value received of the blindability of the target. | |
EQwBlinderStatus | fTargetBlindability |
Bool_t | fTargetPositionForced |
EQwWienMode | fWienMode_firstread |
EQwWienMode | fWienMode |
Int_t | fIHWPPolarity_firstread |
Int_t | fIHWPPolarity |
Bool_t | fSpinDirectionForced |
Int_t | fCREXTargetIndex |
Int_t | kCREXTgtIndexMin = 1 |
Int_t | kCREXTgtIndexMax = 2 |
Double_t | fBeamCurrentThreshold |
Bool_t | fBeamIsPresent |
Bool_t | fBlinderIsOkay |
EQwBlindingStrategy | fBlindingStrategy |
Double_t | fBlindingOffset |
Blinding strategy. | |
Double_t | fBlindingOffset_Base |
The term to be added to detector asymmetries. | |
Double_t | fBlindingFactor |
The term to be added to detector asymmetries, before polarity correction. | |
Double_t | fMaximumBlindingAsymmetry |
Default maximum blinding factor (in fraction from identity) | |
Double_t | fMaximumBlindingFactor |
Maximum blinding asymmetry (in ppm) | |
UInt_t | fSeedID |
Maximum blinding factor (in fraction from identity) | |
TString | fSeed |
ID of seed used (seeds.seed_id) | |
std::vector< UChar_t > | fDigest |
Default seed. | |
std::string | fChecksum |
Checksum in raw hex. | |
std::vector< double > | fTestValues |
Checksum in ASCII hex. | |
std::vector< double > | fBlindTestValues |
Vector of test values, original. | |
std::vector< double > | fUnBlindTestValues |
Vector of test values, after blinding. | |
std::vector< Int_t > | fPatternCounters |
Counts the number of events in each failure mode. | |
std::vector< Int_t > | fPairCounters |
Counts the number of helicity pairs in each failure mode. | |
Static Private Attributes | |
static const Double_t | kDefaultMaximumBlindingAsymmetry = 0.150 |
The factor to be multiplied to detector asymmetries. | |
static const Double_t | kDefaultMaximumBlindingFactor = 0.0 |
Default maximum blinding asymmetry (in ppm) | |
static const TString | kDefaultSeed = "Default seed, should not be used!" |
Seed string (seeds.seed) | |
Data blinding utilities for parity violation analysis.
Implements cryptographic data blinding to prevent bias in parity violation measurements. Supports multiple blinding strategies (additive, multiplicative, or combined) with encrypted offsets and factors. Provides both asymmetry and difference blinding schemes to maintain analysis integrity while preserving statistical properties of the data.
Definition at line 57 of file QwBlinder.h.
Status of the blinding process or intermediate steps of the process.
Enumerator | |
---|---|
kIndeterminate | |
kNotBlindable | |
kBlindable | |
kBlindableFail |
Definition at line 69 of file QwBlinder.h.
Available blinding strategies.
Enumerator | |
---|---|
kDisabled | |
kAdditive | |
kMultiplicative | |
kAdditiveMultiplicative |
Definition at line 62 of file QwBlinder.h.
QwBlinder::QwBlinder | ( | const EQwBlindingStrategy | blinding_strategy = kAdditive | ) |
Default constructor with optional database.
Default constructor using optional database connection and blinding strategy
blinding_strategy | Blinding strategy |
Definition at line 83 of file QwBlinder.cc.
References QwLog::endl(), fBeamCurrentThreshold, fBeamIsPresent, fBlindingFactor, fBlindingOffset, fBlindingOffset_Base, fBlindingStrategy, fCREXTargetIndex, fIHWPPolarity, fIHWPPolarity_firstread, QwParameterFile::FileHasVariablePair(), fMaximumBlindingAsymmetry, fMaximumBlindingFactor, fPairCounters, fPatternCounters, fSeed, fSeedID, fSpinDirectionForced, fTargetBlindability, fTargetBlindability_firstread, fTargetPositionForced, fWienMode, fWienMode_firstread, InitBlinders(), InitTestValues(), kAdditive, kAdditiveMultiplicative, kBlindable, kBlinderCount_NumCounters, kCREXTgtIndexMax, kCREXTgtIndexMin, kDefaultMaximumBlindingAsymmetry, kDefaultMaximumBlindingFactor, kDefaultSeed, kDisabled, kIndeterminate, kMultiplicative, kNotBlindable, kWienBackward, kWienForward, kWienHorizTrans, kWienIndeterminate, kWienVertTrans, QwError, QwMessage, QwVerbose, QwWarning, SetIHWPPolarity(), SetTargetBlindability(), and SetWienState().
Referenced by operator=(), and QwBlinder().
|
virtual |
Default destructor.
Destructor checks the validity of the blinding and unblinding
Definition at line 219 of file QwBlinder.cc.
References PrintFinalValues().
|
inlineprivate |
Private copy constructor.
Definition at line 258 of file QwBlinder.h.
References fBlindingStrategy, kDisabled, and QwBlinder().
|
inline |
Blind the asymmetry of an array of subsystems.
Definition at line 174 of file QwBlinder.h.
References QwSubsystemArrayParity::Blind(), CheckBlindability(), fPatternCounters, and kNotBlindable.
|
inline |
Blind the difference of an array of subsystems.
Definition at line 191 of file QwBlinder.h.
References QwSubsystemArrayParity::Blind(), CheckBlindability(), fPatternCounters, and kNotBlindable.
|
inline |
Blind the pair asymmetry and only check fBlindingStrategy to avoid overcounting fPatternCounters
Definition at line 180 of file QwBlinder.h.
References QwSubsystemArrayParity::Blind(), CheckBlindability(), fPairCounters, and kNotBlindable.
|
inline |
Blind the pair difference of an array of subsystems.
Definition at line 196 of file QwBlinder.h.
References QwSubsystemArrayParity::Blind(), CheckBlindability(), fPairCounters, and kNotBlindable.
|
inline |
Asymmetry blinding.
Definition at line 124 of file QwBlinder.h.
References fBlindingFactor, fBlindingOffset, fBlindingStrategy, kAdditive, kAdditiveMultiplicative, and kMultiplicative.
Referenced by QwADC18_Channel::Blind(), QwADC18_Channel::Blind(), QwMollerADC_Channel::Blind(), QwMollerADC_Channel::Blind(), QwVQWK_Channel::Blind(), QwVQWK_Channel::Blind(), and InitTestValues().
|
inline |
Difference blinding.
Definition at line 149 of file QwBlinder.h.
References fBlindingFactor, fBlindingOffset, fBlindingStrategy, kAdditive, kAdditiveMultiplicative, and kMultiplicative.
|
private |
Definition at line 1293 of file QwBlinder.cc.
References QwLog::endl(), fBeamIsPresent, fBlinderIsOkay, fBlindingStrategy, fIHWPPolarity, fIHWPPolarity_firstread, fTargetBlindability, fTargetBlindability_firstread, fTargetPositionForced, fWienMode, fWienMode_firstread, kBlindable, kBlindableFail, kBlinderCount_Blindable, kBlinderCount_ChangedIHWP, kBlinderCount_ChangedTarget, kBlinderCount_ChangedWien, kBlinderCount_Disabled, kBlinderCount_NoBeam, kBlinderCount_NonBlindable, kBlinderCount_OtherFailure, kBlinderCount_Transverse, kBlinderCount_UndefinedIHWP, kBlinderCount_UndefinedWien, kBlinderCount_UnknownTarget, kDisabled, kIndeterminate, kNotBlindable, kWienHorizTrans, kWienIndeterminate, kWienVertTrans, QwDebug, and QwError.
Referenced by Blind(), Blind(), BlindPair(), and BlindPair().
|
private |
Initializes the test values: fTestNumber, fTestValue, fBlindTestValue, if fBlindingFactor is set.
Function to write the checksum into the analysis table
Parameters: void
Return: void
Note: This function assumes that the analysis table has already
This routines checks to see if the stored fBlindTestValues[i] match a recomputed blinded test value. The values are cast into floats, and their difference must be less than a change
First test: compare a blinded value with a second computation
Second test: compare the unblinded value with the original value
Definition at line 1012 of file QwBlinder.cc.
References QwLog::endl(), fBlindingOffset, fBlindingOffset_Base, fBlindTestValues, fTestValues, fUnBlindTestValues, QwError, and UnBlindValue().
Referenced by PrintFinalValues().
|
inline |
Definition at line 101 of file QwBlinder.h.
References fBeamIsPresent.
|
inline |
Definition at line 208 of file QwBlinder.h.
References fBlindingStrategy, fChecksum, fMaximumBlindingAsymmetry, fMaximumBlindingFactor, fSeed, and fSeedID.
|
static |
Definition at line 69 of file QwBlinder.cc.
References QwOptions::AddOptions().
Referenced by QwHelicityPattern::DefineOptions().
|
private |
Writes fTestNumber and fBlindTestValue to DB for this analysis ID.
Generate an MD5 digest of the blinding parameters
input | Input string |
Definition at line 1060 of file QwBlinder.cc.
Referenced by InitBlinders(), and UseMD5().
|
private |
Vector of test values, after unblinding.
Function to read the seed in from the database.
Parameters: seed_id = ID number of seed to use (0 = most recent seed)
Return: Int_t
Initialize the blinder parameters
The blinding constants are determined in two steps.
First, the blinding asymmetry (offset) is determined. It is generated from a signed number between +/- 0.244948974 that is squared to get a number between +/- 0.06 ppm.
Secondly, the multiplicative blinding factor is determined. This number is generated from the blinding asymmetry between, say, 0.9 and 1.1 by an oscillating but uniformly distributed sawtooth function.
TODO: This section of InitBlinders doesn't calculate a reasonable fBlindingFactor but we don't use it for anything.
Definition at line 670 of file QwBlinder.cc.
References QwLog::endl(), fBlindingFactor, fBlindingOffset, fBlindingOffset_Base, fBlindingStrategy, fChecksum, fDigest, fMaximumBlindingAsymmetry, fSeed, fSeedID, GenerateDigest(), kDefaultSeed, kDisabled, QwMessage, QwWarning, and UseMD5().
Referenced by QwBlinder(), and Update().
|
private |
Initializes fBlindingFactor from fSeed.
Generate a set of test values of similar size as measured asymmetries
n | Number of test values |
Definition at line 754 of file QwBlinder.cc.
References BlindValue(), QwLog::endl(), fBlindingOffset, fBlindingOffset_Base, fBlindTestValues, fSeed, fTestValues, fUnBlindTestValues, QwMessage, UnBlindValue(), and UsePseudorandom().
Referenced by QwBlinder(), and Update().
|
inline |
Definition at line 206 of file QwBlinder.h.
References fBlinderIsOkay.
Referenced by QwADC18_Channel::Blind(), QwADC18_Channel::Blind(), QwMollerADC_Channel::Blind(), QwMollerADC_Channel::Blind(), QwVQWK_Channel::Blind(), and QwVQWK_Channel::Blind().
|
inline |
Modifies the device error code variable passed to it, if the blinder is not okay.
Definition at line 119 of file QwBlinder.h.
References kErrorFlag_BlinderFail.
Referenced by QwADC18_Channel::Blind(), QwADC18_Channel::Blind(), QwMollerADC_Channel::Blind(), QwMollerADC_Channel::Blind(), QwVQWK_Channel::Blind(), and QwVQWK_Channel::Blind().
|
inlineprivate |
Private assignment operator.
Definition at line 260 of file QwBlinder.h.
References QwBlinder().
void QwBlinder::PrintCountersValues | ( | std::vector< Int_t > | fCounters, |
TString | counter_type ) |
Definition at line 1130 of file QwBlinder.cc.
References QwLog::endl(), kBlinderCount_Blindable, kBlinderCount_ChangedIHWP, kBlinderCount_ChangedTarget, kBlinderCount_ChangedWien, kBlinderCount_Disabled, kBlinderCount_NoBeam, kBlinderCount_NonBlindable, kBlinderCount_OtherFailure, kBlinderCount_Transverse, kBlinderCount_UndefinedIHWP, kBlinderCount_UndefinedWien, kBlinderCount_UnknownTarget, and QwMessage.
Referenced by PrintFinalValues().
void QwBlinder::PrintFinalValues | ( | Int_t | kVerbosity = 1 | ) |
Print a summary of the blinding/unblinding test
Definition at line 1085 of file QwBlinder.cc.
References CheckTestValues(), QwLog::endl(), fBlindTestValues, fChecksum, fPairCounters, fPatternCounters, fSeedID, fTestValues, fUnBlindTestValues, kBlinderCount_NumCounters, PrintCountersValues(), and QwMessage.
Referenced by ~QwBlinder().
void QwBlinder::ProcessOptions | ( | QwOptions & | options | ) |
Update the status with new external information.
Update the blinder status with new external information
options | Qweak option handler |
Definition at line 230 of file QwBlinder.cc.
References QwLog::endl(), fBeamCurrentThreshold, fTargetPositionForced, QwOptions::GetValue(), kBlindable, kNotBlindable, QwError, QwWarning, and SetTargetBlindability().
|
private |
Read the seed string generated utilizing a random number generator.
Function to read the seed in from the database.
Parameters:
Return: Int_t
Function to read the seed string generated utilizing a random number generator
Parameters: none
Return: Int_t
Definition at line 526 of file QwBlinder.cc.
References fSeed, and fSeedID.
Referenced by Update().
|
private |
Reads the seed from the database object.
|
private |
Reads the seed with specified id from the database object.
Returns an integer from a string using a version of the helicity bit pseudorandom algorithm.
|
private |
Definition at line 1282 of file QwBlinder.cc.
References QwLog::endl(), fIHWPPolarity, fIHWPPolarity_firstread, and QwMessage.
Referenced by QwBlinder(), Update(), and Update().
|
private |
Set the current target blindability status.
Write the blinding parameters to the database
For each analyzed run the database contains a digest of the blinding parameters and a number of blinded test entries.
Definition at line 1260 of file QwBlinder.cc.
References QwLog::endl(), fStatusName, fTargetBlindability, fTargetBlindability_firstread, kIndeterminate, and QwMessage.
Referenced by ProcessOptions(), QwBlinder(), Update(), and Update().
|
private |
Definition at line 1271 of file QwBlinder.cc.
References QwLog::endl(), fWienMode, fWienMode_firstread, kWienIndeterminate, QwMessage, and WienModeName().
Referenced by QwBlinder(), Update(), and Update().
|
inline |
Unblind the asymmetry of an array of subsystems.
Definition at line 186 of file QwBlinder.h.
References QwSubsystemArrayParity::UnBlind().
|
inline |
Unblind the difference of an array of subsystems.
Definition at line 202 of file QwBlinder.h.
References QwSubsystemArrayParity::UnBlind().
|
inline |
Asymmetry unblinding.
Definition at line 136 of file QwBlinder.h.
References fBlindingFactor, fBlindingOffset, fBlindingStrategy, kAdditive, kAdditiveMultiplicative, and kMultiplicative.
Referenced by CheckTestValues(), and InitTestValues().
|
inline |
Difference unblinding.
Definition at line 161 of file QwBlinder.h.
References fBlindingFactor, fBlindingOffset, fBlindingStrategy, kAdditive, kAdditiveMultiplicative, and kMultiplicative.
void QwBlinder::Update | ( | ) |
Update the status using a random number.
Update the blinder status using a random number
Definition at line 276 of file QwBlinder.cc.
References QwLog::endl(), fSeed, fSeedID, InitBlinders(), InitTestValues(), kBlindable, kDefaultSeed, kWienForward, QwWarning, ReadRandomSeed(), SetIHWPPolarity(), SetTargetBlindability(), and SetWienState().
void QwBlinder::Update | ( | const QwEPICSEvent & | epics | ) |
Update the status with new external information.
Update the blinder status with new external information
epics | Current EPICS event |
Definition at line 327 of file QwBlinder.cc.
References QwEPICSEvent::DetermineIHWPPolarity(), QwEPICSEvent::DetermineWienMode(), QwLog::endl(), fBlindingOffset, fBlindingOffset_Base, fBlindingStrategy, fCREXTargetIndex, fIHWPPolarity, fSpinDirectionForced, fTargetBlindability, fTargetPositionForced, fWienMode, QwEPICSEvent::GetDataValue(), kBlindable, kDisabled, kIndeterminate, kNotBlindable, kWienBackward, kWienForward, QwDebug, QwWarning, SetIHWPPolarity(), SetTargetBlindability(), and SetWienState().
void QwBlinder::Update | ( | const QwSubsystemArrayParity & | detectors | ) |
Update the status with new external information.
Update the blinder status with new external information
detectors | Current subsystem array |
Definition at line 301 of file QwBlinder.cc.
References fBeamCurrentThreshold, fBeamIsPresent, fBlindingStrategy, fTargetBlindability, QwVQWK_Channel::GetValue(), kBlindable, kDisabled, and MQwPublishable< U, T >::RequestExternalValue().
void QwBlinder::Update | ( | QwParityDB * | db | ) |
Update the status with new external information.
|
private |
Recomputes fBlindTestValue to check for memory errors.
Use an MD5 checksum to get a number from the seed string
barestring | Seed string |
Definition at line 911 of file QwBlinder.cc.
References GenerateDigest().
Referenced by InitBlinders().
|
private |
Returns an integer from a string using a character manipulation algorithm
Use pseudo-random number generator to get a number from the seed string
barestring | Seed string |
Definition at line 846 of file QwBlinder.cc.
Referenced by InitTestValues().
|
private |
Returns an integer from a string using MD5.
Use string manipulation to get a number from the seed string
barestring | Seed string |
Definition at line 801 of file QwBlinder.cc.
|
private |
void QwBlinder::WriteFinalValuesToDB | ( | QwParityDB * | db | ) |
|
private |
Writes fSeedID and fBFChecksum to DB for this analysis ID.
|
private |
Definition at line 246 of file QwBlinder.h.
Referenced by ProcessOptions(), QwBlinder(), and Update().
|
private |
Definition at line 247 of file QwBlinder.h.
Referenced by CheckBlindability(), ClearEventData(), QwBlinder(), and Update().
|
private |
Definition at line 250 of file QwBlinder.h.
Referenced by CheckBlindability(), and IsBlinderOkay().
|
private |
The term to be added to detector asymmetries, before polarity correction.
Definition at line 266 of file QwBlinder.h.
Referenced by BlindValue(), BlindValue(), InitBlinders(), QwBlinder(), UnBlindValue(), and UnBlindValue().
|
private |
Blinding strategy.
Definition at line 264 of file QwBlinder.h.
Referenced by BlindValue(), BlindValue(), CheckTestValues(), InitBlinders(), InitTestValues(), QwBlinder(), UnBlindValue(), UnBlindValue(), and Update().
|
private |
The term to be added to detector asymmetries.
Definition at line 265 of file QwBlinder.h.
Referenced by CheckTestValues(), InitBlinders(), InitTestValues(), QwBlinder(), and Update().
|
private |
Definition at line 263 of file QwBlinder.h.
Referenced by BlindValue(), BlindValue(), CheckBlindability(), ConstructObjects(), InitBlinders(), QwBlinder(), QwBlinder(), UnBlindValue(), UnBlindValue(), Update(), and Update().
|
private |
Vector of test values, original.
Definition at line 283 of file QwBlinder.h.
Referenced by CheckTestValues(), InitTestValues(), and PrintFinalValues().
|
private |
Checksum in raw hex.
Definition at line 280 of file QwBlinder.h.
Referenced by ConstructObjects(), InitBlinders(), and PrintFinalValues().
|
private |
Definition at line 242 of file QwBlinder.h.
Referenced by QwBlinder(), and Update().
|
private |
|
private |
Definition at line 232 of file QwBlinder.h.
Referenced by CheckBlindability(), QwBlinder(), SetIHWPPolarity(), and Update().
|
private |
Definition at line 231 of file QwBlinder.h.
Referenced by CheckBlindability(), QwBlinder(), and SetIHWPPolarity().
|
private |
Default maximum blinding factor (in fraction from identity)
Definition at line 272 of file QwBlinder.h.
Referenced by ConstructObjects(), InitBlinders(), and QwBlinder().
|
private |
Maximum blinding asymmetry (in ppm)
Definition at line 273 of file QwBlinder.h.
Referenced by ConstructObjects(), and QwBlinder().
|
private |
Counts the number of helicity pairs in each failure mode.
Definition at line 317 of file QwBlinder.h.
Referenced by BlindPair(), BlindPair(), PrintFinalValues(), and QwBlinder().
|
private |
Counts the number of events in each failure mode.
Definition at line 316 of file QwBlinder.h.
Referenced by Blind(), Blind(), PrintFinalValues(), and QwBlinder().
|
private |
ID of seed used (seeds.seed_id)
Definition at line 276 of file QwBlinder.h.
Referenced by ConstructObjects(), InitBlinders(), InitTestValues(), QwBlinder(), ReadRandomSeed(), and Update().
|
private |
Maximum blinding factor (in fraction from identity)
Definition at line 275 of file QwBlinder.h.
Referenced by ConstructObjects(), InitBlinders(), PrintFinalValues(), QwBlinder(), ReadRandomSeed(), and Update().
|
private |
Definition at line 233 of file QwBlinder.h.
Referenced by QwBlinder(), and Update().
|
static |
Definition at line 58 of file QwBlinder.h.
Referenced by SetTargetBlindability().
|
private |
Definition at line 227 of file QwBlinder.h.
Referenced by CheckBlindability(), QwBlinder(), SetTargetBlindability(), Update(), and Update().
|
private |
Indicates the first value received of the blindability of the target.
Definition at line 226 of file QwBlinder.h.
Referenced by CheckBlindability(), QwBlinder(), and SetTargetBlindability().
|
private |
Definition at line 228 of file QwBlinder.h.
Referenced by CheckBlindability(), ProcessOptions(), QwBlinder(), and Update().
|
private |
Checksum in ASCII hex.
Definition at line 282 of file QwBlinder.h.
Referenced by CheckTestValues(), InitTestValues(), and PrintFinalValues().
|
private |
Vector of test values, after blinding.
Definition at line 284 of file QwBlinder.h.
Referenced by CheckTestValues(), InitTestValues(), and PrintFinalValues().
|
private |
Definition at line 230 of file QwBlinder.h.
Referenced by CheckBlindability(), QwBlinder(), SetWienState(), and Update().
|
private |
Definition at line 229 of file QwBlinder.h.
Referenced by CheckBlindability(), QwBlinder(), and SetWienState().
|
private |
Definition at line 244 of file QwBlinder.h.
Referenced by QwBlinder().
|
private |
Definition at line 243 of file QwBlinder.h.
Referenced by QwBlinder().
|
staticprivate |
The factor to be multiplied to detector asymmetries.
Definition at line 269 of file QwBlinder.h.
Referenced by QwBlinder().
|
staticprivate |
Default maximum blinding asymmetry (in ppm)
Definition at line 270 of file QwBlinder.h.
Referenced by QwBlinder().
|
staticprivate |
Seed string (seeds.seed)
Definition at line 277 of file QwBlinder.h.
Referenced by InitBlinders(), QwBlinder(), and Update().
|
static |
Error flag value.
Definition at line 78 of file QwBlinder.h.
Referenced by QwHelicityPattern::CalculateAsymmetry(), QwHelicityPattern::CalculatePairAsymmetry(), and ModifyThisErrorCode().
|
staticconstexpr |
Definition at line 79 of file QwBlinder.h.
Referenced by QwADC18_Channel::Blind(), QwADC18_Channel::Blind(), QwMollerADC_Channel::Blind(), QwMollerADC_Channel::Blind(), QwVQWK_Channel::Blind(), and QwVQWK_Channel::Blind().