50 Bool_t ldebug = kFALSE;
58 std::cout<<
"\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
70 Bool_t ldebug = kFALSE;
78 std::cout<<
"\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
80 std::cout<<
" is rotated by angle = "<<rotation_angle<<std::endl;
93 if(pos.Contains(
"X"))
fGains[0] = value;
94 if(pos.Contains(
"Y"))
fGains[1] = value;
180 if(prefix==
"diff_"||prefix==
"yield_"|| prefix==
"asym_")
227 Bool_t localDebug = kFALSE;
229 if( localDebug )
QwMessage<<
"Creating BPM of type: "<<type<<
" with name: "<<
230 name<<
". Subsystem Name: " <<subsystemname<<
"\n";
233 if( type ==
"VQWK") {
235 }
else if ( type ==
"SIS3801" ) {
237 }
else if ( type ==
"SCALER" || type ==
"SIS3801D24" ) {
240 QwWarning <<
"BPM of type="<<type<<
" is UNSUPPORTED!!\n";
247 Bool_t localDebug = kFALSE;
253 if( type ==
"VQWK") {
255 }
else if ( type ==
"SIS3801" ) {
257 }
else if ( type ==
"SCALER" || type ==
"SIS3801D24" ) {
260 QwWarning <<
"BPM of type="<<type<<
" is UNSUPPORTED!!\n";
271 Bool_t localDebug = kFALSE;
273 if( localDebug )
QwMessage<<
"Creating CombinedBPM of type: "<<type<<
" with name: "<<
274 name<<
". Subsystem Name: " <<subsystemname<<
"\n";
277 if( type ==
"VQWK") {
279 }
else if (type ==
"SIS3801" ) {
281 }
else if ( type ==
"SCALER" || type ==
"SIS3801D24" ) {
284 QwWarning <<
"BPM of type="<<type<<
" is UNSUPPORTED!!\n";
291 Bool_t localDebug = kFALSE;
297 if( type ==
"VQWK") {
299 }
else if ( type ==
"SIS3801" ) {
301 }
else if ( type ==
"SCALER" || type ==
"SIS3801D24" ) {
304 QwWarning <<
"BPM of type="<<type<<
" is UNSUPPORTED!!\n";
#define QwMessage
Predefined log drain for regular messages.
Double_t fQwStriplineCalibration
Double_t fRelativeGains[2]
void SetRootSaveStatus(TString &prefix)
void SetSingleEventCuts(Double_t min, Double_t max)
Set the upper and lower limits (fULimit and fLLimit) for this channel.
virtual VQwHardwareChannel * GetSubelementByName(TString ch_name)=0
void SetSingleEventCuts(TString, Double_t, Double_t)
void GetSurveyOffsets(Double_t Xoffset, Double_t Yoffset, Double_t Zoffset)
Double_t fPositionCenter[3]
static const TString kAxisLabel[2]
TString GetModuleType() const
Return the type of the beam instrument.
A logfile class, based on an identical class in the Hermes analyzer.
void SetRotation(Double_t)
static const TString axis[3]
void SetElementName(const TString &name)
Set the name of this element.
void InitializeChannel(TString name)
static std::ostream & endl(std::ostream &)
End of the line.
virtual const TString & GetElementName() const
Get the name of this element.
static VQwBPM * CreateCombo(TString subsystemname, TString type, TString name)
A fast way of creating a BPM stripline of specified type.
static const UInt_t kBPMErrorFlag
void SetGains(TString pos, Double_t value)
static VQwBPM * CreateStripline(TString subsystemname, TString type, TString name)
A fast way of creating a BPM stripline of specified type.
#define QwWarning
Predefined log drain for warnings.
virtual VQwBPM & operator=(const VQwBPM &value)=0
void GetElectronicFactors(Double_t BSENfactor, Double_t AlphaX, Double_t AlphaY)