|
JAPAn
Just Another Parity Analyzer
|
Basic data types and constants used throughout the Qweak analysis framework. More...
Include dependency graph for QwTypes.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| class | QwDetectorID |
| Detector identification structure for tracking system components. More... | |
| class | QwDelayLineID |
| Identification structure for delay line detector components. More... | |
Typedefs | |
| typedef UInt_t | ROCID_t |
| typedef ULong64_t | BankID_t |
| typedef std::map< char, EQwRegionID > | QwRegionMap |
| typedef std::map< char, EQwDirectionID > | QwDirectionMap |
| typedef std::map< char, EQwDetectorPackage > | QwPackageMap |
| typedef std::map< char, EQwDetectorType > | QwTypeMap |
| typedef std::map< EQwHelicity, int > | QwHelicityMap |
| typedef class QwMollerADC_Channel | QwBeamCharge |
| typedef class QwMollerADC_Channel | QwBeamPosition |
| typedef class QwMollerADC_Channel | QwBeamAngle |
| typedef class QwMollerADC_Channel | QwBeamEnergy |
Variables | |
| static const ROCID_t | kNullROCID = kMaxUInt |
| Bank ID will combine both bank and marker words. | |
| static const BankID_t | kNullBankID = kMaxULong64 |
| static const QwRegionMap | kQwRegionMap = CreateRegionMap() |
| static const QwDirectionMap | kQwDirectionMap = CreateDirectionMap() |
| static const QwPackageMap | kQwPackageMap = CreatePackageMap() |
| static const QwTypeMap | kQwTypeMap = CreateTypeMap() |
| static const UInt_t | kErrorFlag_VQWK_Sat = 0x01 |
| static const UInt_t | kErrorFlag_sample = 0x2 |
| static const UInt_t | kErrorFlag_SW_HW = 0x4 |
| static const UInt_t | kErrorFlag_Sequence = 0x8 |
| static const UInt_t | kErrorFlag_SameHW = 0x10 |
| static const UInt_t | kErrorFlag_ZeroHW = 0x20 |
| static const UInt_t | kErrorFlag_EventCut_L = 0x40 |
| static const UInt_t | kErrorFlag_EventCut_U = 0x80 |
| static const UInt_t | kBCMErrorFlag = 0x100 |
| static const UInt_t | kErrorFlag_BlinderFail = 0x200 |
| static const UInt_t | kBPMErrorFlag = 0x400 |
| static const UInt_t | kPMTErrorFlag = 0x800 |
| static const UInt_t | kBModFFBErrorFlag = 0x1000 |
| static const UInt_t | kBModErrorFlag = 0x8000 |
| static const UInt_t | kEventCutMode3 = 0x10000 |
| static const UInt_t | kErrorFlag_Helicity = 0x20000 |
| static const UInt_t | kErrorFlag_BurpCut = 0x20000000 |
| static const UInt_t | kBeamStabilityError = 0x10000000 |
| static const UInt_t | kBeamTripError = 0x8000000 |
| static const UInt_t | kGlobalCut = 0x4000000 |
| static const UInt_t | kLocalCut = 0x2000000 |
| static const UInt_t | kStabilityCut = 0x1000000 |
| static const UInt_t | kBadEventRangeError = 0x80000000 |
| static const UInt_t | kPreserveError = 0x2FF |
| static const UInt_t | kInvalidSubelementIndex = 999999 |
| static const QwHelicityMap | kMapHelicity = CreateHelicityMap() |
Basic data types and constants used throughout the Qweak analysis framework.
Definition in file QwTypes.h.
| typedef class QwMollerADC_Channel QwBeamAngle |
| typedef class QwMollerADC_Channel QwBeamCharge |
| typedef class QwMollerADC_Channel QwBeamEnergy |
| typedef class QwMollerADC_Channel QwBeamPosition |
| typedef std::map< char, EQwDirectionID > QwDirectionMap |
| typedef std::map< EQwHelicity, int > QwHelicityMap |
| typedef std::map< char, EQwDetectorPackage > QwPackageMap |
| typedef std::map< char, EQwRegionID > QwRegionMap |
| typedef std::map< char, EQwDetectorType > QwTypeMap |
| Enumerator | |
|---|---|
| kQwUnknownDeviceType | |
| kQwBPMStripline | |
| kQwQPD | |
| kQwLinearArray | |
| kQwBCM | |
| kQwCombinedBCM | |
| kQwCombinedBPM | |
| kQwEnergyCalculator | |
| kQwHaloMonitor | |
| kQwBPMCavity | |
| kQwClock | |
| kBeamDevTypes | |
Definition at line 143 of file QwTypes.h.
| enum EQwDetectorPackage |
| Enumerator | |
|---|---|
| kPackageNull | |
| kPackage1 | |
| kPackage2 | |
| kNumPackages | |
| enum EQwDetectorType |
| enum EQwDirectionID |
| Enumerator | |
|---|---|
| kDirectionNull | |
| kDirectionX | |
| kDirectionY | |
| kDirectionU | |
| kDirectionV | |
| kDirectionR | |
| kDirectionPhi | |
| kDirectionLeft | |
| kDirectionRight | |
| kNumDirections | |
| enum EQwHelicity |
Helicity enumerator (don't use this as a signed int)
| Enumerator | |
|---|---|
| kHelicityUndefined | |
| kHelicityPositive | |
| kHelicityNegative | |
| enum EQwPMTInstrumentType |
| enum EQwRegionID |
| Enumerator | |
|---|---|
| kRegionIDNull | |
| kRegionID1 | |
| kRegionID2 | |
| kRegionID3 | |
| kRegionIDTrig | |
| kRegionIDCer | |
| kRegionIDScanner | |
| kNumRegions | |
| enum EQwWienMode |
Double Wien configuration.
| Enumerator | |
|---|---|
| kWienIndeterminate | |
| kWienForward | |
| kWienBackward | |
| kWienVertTrans | |
| kWienHorizTrans | |
Definition at line 308 of file QwTypes.h.
|
inline |
Definition at line 64 of file QwTypes.h.
References kDirectionLeft, kDirectionNull, kDirectionPhi, kDirectionR, kDirectionRight, kDirectionU, kDirectionV, kDirectionX, and kDirectionY.
|
inline |
Definition at line 225 of file QwTypes.h.
References kHelicityNegative, kHelicityPositive, and kHelicityUndefined.
|
inline |
Definition at line 95 of file QwTypes.h.
References kPackage1, kPackage2, and kPackageNull.
|
inline |
Definition at line 37 of file QwTypes.h.
References kRegionID1, kRegionID2, kRegionID3, kRegionIDCer, kRegionIDNull, kRegionIDScanner, and kRegionIDTrig.
|
inline |
Definition at line 119 of file QwTypes.h.
References kTypeCerenkov, kTypeDriftHDC, kTypeDriftVDC, kTypeNull, kTypeScanner, kTypeSciFiber, and kTypeTrigscint.
| UInt_t GetGlobalErrorFlag | ( | TString | evtype, |
| Int_t | evMode, | ||
| Double_t | stabilitycut ) |
Definition at line 132 of file QwTypes.cc.
References kEventCutMode3, kGlobalCut, kLocalCut, and kStabilityCut.
Referenced by QwBeamLine::LoadEventCuts_Line(), QwBeamMod::LoadEventCuts_Line(), and VQwDetectorArray::LoadEventCuts_Line().
Here is the caller graph for this function:| EQwBeamInstrumentType GetQwBeamInstrumentType | ( | TString | name | ) |
Definition at line 34 of file QwTypes.cc.
References kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwClock, kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwLinearArray, kQwQPD, and kQwUnknownDeviceType.
Referenced by QwBeamLine::LoadChannelMap(), QwBeamLine::LoadEventCuts_Line(), QwBeamLine::LoadGeometryDefinition(), QwBeamLine::LoadMockDataParameters(), QwBeamLine::PublishInternalValues(), QwBeamDetectorID::QwBeamDetectorID(), and QwBeamDetectorID::QwBeamDetectorID().
Here is the caller graph for this function:| TString GetQwBeamInstrumentTypeName | ( | EQwBeamInstrumentType | type | ) |
Definition at line 100 of file QwTypes.cc.
References kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwLinearArray, and kQwQPD.
Referenced by QwBeamLine::GetChannel(), QwBeamLine::GetElement(), QwBeamLine::LoadEventCuts_Line(), and QwBeamLine::PublishByRequest().
Here is the caller graph for this function:| EQwPMTInstrumentType GetQwPMTInstrumentType | ( | TString | name | ) |
Determine the EQwPMTInstrumentType value corresponding to a text name of the type, as used in the channel map files. The text comparison is not case sensitive.
| name | Text name of an instrument type, such as "IntegrationPMT" |
Definition at line 16 of file QwTypes.cc.
References kQwCombinedPMT, kQwIntegrationPMT, kQwScalerPMT, and kQwUnknownPMT.
Referenced by VQwDetectorArray::GetDetectorTypeID().
Here is the caller graph for this function:| TString GetQwPMTInstrumentTypeName | ( | EQwPMTInstrumentType | type | ) |
Get the text name of a EQwPMTInstrumentType, as it would be used in the channel map files.
| type | EQwPMTInstrumentType value for which the name should be returned, such as kQwPMTIntegrationPMT |
Definition at line 81 of file QwTypes.cc.
References kQwCombinedPMT, kQwIntegrationPMT, and kQwScalerPMT.
Referenced by VQwDetectorArray::LoadEventCuts_Line().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| EQwWienMode WienModeIndex | ( | TString | name | ) |
Definition at line 156 of file QwTypes.cc.
References kWienBackward, kWienForward, kWienHorizTrans, kWienIndeterminate, and kWienVertTrans.
| std::string WienModeName | ( | EQwWienMode | type | ) |
Definition at line 150 of file QwTypes.cc.
Referenced by QwEPICSEvent::ExtractEPICSValues(), and QwBlinder::SetWienState().
Here is the caller graph for this function:
|
static |
Definition at line 185 of file QwTypes.h.
Referenced by QwSubsystemArrayParity::ApplySingleEventCuts(), and QwSubsystemArrayParity::UpdateErrorFlag().
|
static |
Definition at line 168 of file QwTypes.h.
Referenced by QwEventRing::push(), QwBCM< T >::SetSingleEventCuts(), QwClock< T >::SetSingleEventCuts(), and QwEnergyCalculator::SetSingleEventCuts().
|
static |
Definition at line 180 of file QwTypes.h.
Referenced by QwMollerADC_Channel::CalculateRunningAverage(), and QwVQWK_Channel::CalculateRunningAverage().
|
static |
Definition at line 181 of file QwTypes.h.
Referenced by QwEventRing::push().
|
static |
Definition at line 173 of file QwTypes.h.
Referenced by QwBeamMod::ApplySingleEventCuts(), and QwBeamMod::LoadEventCuts_Line().
|
static |
Definition at line 172 of file QwTypes.h.
Referenced by QwBeamMod::ApplySingleEventCuts().
|
static |
Definition at line 170 of file QwTypes.h.
Referenced by QwBPMCavity::SetSingleEventCuts(), QwBPMStripline< T >::SetSingleEventCuts(), QwLinearDiodeArray::SetSingleEventCuts(), QwQPD::SetSingleEventCuts(), and VQwBPM::SetSingleEventCuts().
|
static |
Definition at line 179 of file QwTypes.h.
Referenced by VQwHardwareChannel::CheckForBurpFail().
|
static |
Definition at line 165 of file QwTypes.h.
Referenced by QwADC18_Channel::ApplySingleEventCuts(), QwMollerADC_Channel::ApplySingleEventCuts(), QwVQWK_Channel::ApplySingleEventCuts(), VQwScaler_Channel::ApplySingleEventCuts(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), QwVQWK_Channel::IncrementErrorCounters(), and VQwScaler_Channel::IncrementErrorCounters().
|
static |
Definition at line 166 of file QwTypes.h.
Referenced by QwADC18_Channel::ApplySingleEventCuts(), QwMollerADC_Channel::ApplySingleEventCuts(), QwVQWK_Channel::ApplySingleEventCuts(), VQwScaler_Channel::ApplySingleEventCuts(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), QwVQWK_Channel::IncrementErrorCounters(), and VQwScaler_Channel::IncrementErrorCounters().
|
static |
Definition at line 175 of file QwTypes.h.
Referenced by QwHelicityBase::CheckPatternNum(), QwHelicityDecoder::CheckPatternNum(), QwHelicityBase::IsContinuous(), QwHelicityBase::IsGoodHelicity(), and QwHelicity::ProcessEventInputRegisterMode().
|
static |
Definition at line 163 of file QwTypes.h.
Referenced by QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), and QwVQWK_Channel::IncrementErrorCounters().
|
static |
Definition at line 160 of file QwTypes.h.
Referenced by QwADC18_Channel::ApplyHWChecks(), QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), QwVQWK_Channel::IncrementErrorCounters(), QwADC18_Channel::ProcessEvent(), QwMollerADC_Channel::ProcessEvent(), and QwVQWK_Channel::ProcessEvent().
|
static |
Definition at line 162 of file QwTypes.h.
Referenced by QwADC18_Channel::ApplyHWChecks(), QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), and QwVQWK_Channel::IncrementErrorCounters().
|
static |
Definition at line 161 of file QwTypes.h.
Referenced by QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), and QwVQWK_Channel::IncrementErrorCounters().
|
static |
Definition at line 159 of file QwTypes.h.
Referenced by QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwMollerADC_Channel::IncrementErrorCounters(), and QwVQWK_Channel::IncrementErrorCounters().
|
static |
Definition at line 164 of file QwTypes.h.
Referenced by QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), VQwScaler_Channel::ApplyHWChecks(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), QwVQWK_Channel::IncrementErrorCounters(), and VQwScaler_Channel::IncrementErrorCounters().
|
static |
Definition at line 174 of file QwTypes.h.
Referenced by QwBeamMod::ApplySingleEventCuts(), QwSubsystemArrayParity::ApplySingleEventCuts(), QwHelicityBase::CheckPatternNum(), QwHelicityDecoder::CheckPatternNum(), GetGlobalErrorFlag(), QwHelicityBase::IsContinuous(), QwHelicityBase::IsGoodHelicity(), and QwHelicity::ProcessEventInputRegisterMode().
|
static |
Definition at line 182 of file QwTypes.h.
Referenced by QwBeamMod::ApplySingleEventCuts(), QwSubsystemArrayParity::ApplySingleEventCuts(), QwHelicityBase::CheckPatternNum(), QwHelicityDecoder::CheckPatternNum(), VQwDataElement::GetEventcutErrorFlag(), GetGlobalErrorFlag(), QwHelicityBase::IsContinuous(), QwHelicityBase::IsGoodHelicity(), QwHelicity::ProcessEventInputRegisterMode(), and VQwHardwareChannel::SetSingleEventCuts().
|
static |
Definition at line 198 of file QwTypes.h.
Referenced by QwBPMCavity::GetSubElementIndex(), QwBPMStripline< T >::GetSubElementIndex(), QwLinearDiodeArray::GetSubElementIndex(), QwQPD::GetSubElementIndex(), QwLinearDiodeArray::GetSubElementName(), QwBPMCavity::ParseChannelName(), QwDetectorArrayID::QwDetectorArrayID(), and QwBeamDetectorID::ReportInitErrors().
|
static |
Definition at line 183 of file QwTypes.h.
Referenced by GetGlobalErrorFlag().
|
static |
|
static |
Definition at line 23 of file QwTypes.h.
Referenced by VQwSubsystem::ClearAllBankRegistrations(), VQwSubsystem::RegisterMarkerWord(), VQwSubsystem::RegisterROCNumber(), and VQwSubsystem::RegisterSubbank().
|
static |
Bank ID will combine both bank and marker words.
Definition at line 22 of file QwTypes.h.
Referenced by VQwSubsystem::ClearAllBankRegistrations(), VQwSubsystem::RegisterMarkerWord(), VQwSubsystem::RegisterROCNumber(), and VQwSubsystem::RegisterSubbank().
|
static |
Definition at line 171 of file QwTypes.h.
Referenced by QwIntegrationPMT::SetSingleEventCuts().
|
static |
Definition at line 186 of file QwTypes.h.
Referenced by QwADC18_Channel::AccumulateRunningSum(), QwMollerADC_Channel::AccumulateRunningSum(), QwVQWK_Channel::AccumulateRunningSum(), VQwHardwareChannel::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), QwADC18_Channel::ApplySingleEventCuts(), QwMollerADC_Channel::ApplySingleEventCuts(), QwVQWK_Channel::ApplySingleEventCuts(), and QwEventRing::CheckBurpCut().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 184 of file QwTypes.h.
Referenced by QwMollerADC_Channel::CalculateRunningAverage(), QwVQWK_Channel::CalculateRunningAverage(), GetGlobalErrorFlag(), and VQwHardwareChannel::SetSingleEventCuts().