JAPAn
Just Another Parity Analyzer
|
Implementation of type conversion and utility functions. More...
Go to the source code of this file.
Functions | |
EQwPMTInstrumentType | GetQwPMTInstrumentType (TString name) |
EQwBeamInstrumentType | GetQwBeamInstrumentType (TString name) |
TString | GetQwPMTInstrumentTypeName (EQwPMTInstrumentType type) |
TString | GetQwBeamInstrumentTypeName (EQwBeamInstrumentType type) |
UInt_t | GetGlobalErrorFlag (TString evtype, Int_t evMode, Double_t stabilitycut) |
std::string | WienModeName (EQwWienMode type) |
EQwWienMode | WienModeIndex (TString name) |
Implementation of type conversion and utility functions.
Definition in file QwTypes.cc.
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().
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().
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().
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().
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().
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().