62 UInt_t* buffer, UInt_t num_words)
override;
80 using QwHelicityBase::operator=;
89 return ((mask != 0)&&((ioregister & mask) == mask));
Word-level data manipulation and bit operations.
#define REGISTER_SUBSYSTEM_FACTORY(A)
Helicity state management and pattern recognition.
Command-line and configuration file options processor.
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
static void DefineOptions()
Define options function (note: no virtual static functions in C++)
VQwSubsystem(const TString &name)
Constructor with name.
virtual void ConstructBranchAndVector(TTree *tree, TString &prefix, QwRootTreeBranchVector &values)=0
Construct the branch and tree vector.
Subsystem for helicity state management and pattern recognition.
virtual ~QwHelicity() override
Virtual destructor.
Int_t LoadEventCuts(TString filename) override
Optional event cut file.
Bool_t CheckIORegisterMask(const UInt_t &ioregister, const UInt_t &mask) const
void ProcessEventInputRegisterMode()
void ProcessOptions(QwOptions &options) override
Process the command line options.
void ClearEventData() override
Int_t ProcessConfigurationBuffer(const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
UInt_t GetRandomSeedDelayed()
Int_t LoadInputParameters(TString pedestalfile) override
Mandatory parameter file definition.
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
Int_t LoadChannelMap(TString mapfile) override
Mandatory map file definition.
QwHelicity()
Private default constructor (not implemented, will throw linker error on use)
UInt_t fInputReg_HelMinus
@ kDefaultInputReg_FakeMPS
@ kDefaultInputReg_PatternSync
@ kDefaultInputReg_HelPlus
@ kDefaultInputReg_HelMinus
Int_t ProcessEvBuffer(const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
TODO: The non-event-type-aware ProcessEvBuffer routine should be replaced with the event-type-aware v...
void ProcessEventUserbitMode()
Process helicity information from userbit configuration data.
UInt_t GetRandomSeedActual()
UInt_t fInputReg_PairSync
UInt_t fInputReg_PatternSync
Bool_t ApplySingleEventCuts() override
Apply the single event cuts.
void ProcessEventInputMollerMode()
void ProcessEvent() override
Bool_t CheckForBurpFail(const VQwSubsystem *ev_error) override
Report the number of events failed due to HW and event cut failures.
void EncodeEventData(std::vector< UInt_t > &buffer) override
QwHelicityBase()
Private default constructor (not implemented, will throw linker error on use)