Esempio n. 1
0
void IDEASBeamline::setupExposedDetectors()
{
	addExposedDetector(i0IonChamberScaler_);
	addExposedDetector(sampleIonChamberScaler_);
	addExposedDetector(referenceIonChamberScaler_);

	addExposedDetector(ketek_);
	addExposedDetector(ketekRealTime_);

	if (ge13Element_)
	{
	addExposedDetector(ge13Element_);
	addExposedDetector(ge13ElementRealTime_);
	}
}
Esempio n. 2
0
void SXRMBBeamline::setupExposedDetectors()
{
	addExposedDetector(energyFeedbackDetector_);
	addExposedDetector(brukerDetector_);
	addExposedDetector(fourElementVortexDetector_);
}
Esempio n. 3
0
void SXRMBBeamline::switchEndstation(SXRMB::Endstation endstation)
{
	if (currentEndstation_ != endstation) {

		switch (currentEndstation_){

		case SXRMB::SolidState:

			removeExposedControl(solidStateSampleStageX_);
			removeExposedControl(solidStateSampleStageY_);
			removeExposedControl(solidStateSampleStageZ_);
			removeExposedControl(solidStateSampleStageR_);
			removeExposedControl(jjSlits_->horizontalGapControl());

			removeExposedDetector(beamlineI0Detector_);
			removeExposedDetector(teyDetector_);

			break;

		case SXRMB::AmbiantWithGasChamber:

			removeExposedControl(ambiantSampleHolderZ_);
			removeExposedControl(ambiantSampleHolderR_);
			removeExposedControl(jjSlits_->horizontalGapControl());

			removeExposedDetector(beamlineI0Detector_);
			removeExposedDetector(i0Detector_);
			removeExposedDetector(transmissionDetector_);

			break;

		case SXRMB::AmbiantWithoutGasChamber:

			removeExposedControl(ambiantSampleStageX_);
			removeExposedControl(ambiantSampleStageZ_);
			removeExposedControl(jjSlits_->horizontalGapControl());

			removeExposedDetector(beamlineI0Detector_);
			removeExposedDetector(i0Detector_);
			removeExposedDetector(transmissionDetector_);

			break;

		case SXRMB::Microprobe:

			removeExposedControl(microprobeSampleStageX_);
			removeExposedControl(microprobeSampleStageY_);
			removeExposedControl(microprobeSampleStageZ_);

			removeExposedDetector(i0Detector_);
			removeExposedDetector(teyDetector_);

			break;

		default:
			break;
		}

		switch (endstation){

		case SXRMB::SolidState:

			addExposedControl(solidStateSampleStageX_);
			addExposedControl(solidStateSampleStageY_);
			addExposedControl(solidStateSampleStageZ_);
			addExposedControl(solidStateSampleStageR_);
			addExposedControl(jjSlits_->horizontalGapControl());

			addExposedDetector(beamlineI0Detector_);
			addExposedDetector(teyDetector_);

			break;

		case SXRMB::AmbiantWithGasChamber:

			addExposedControl(ambiantSampleStageX_);
			addExposedControl(ambiantSampleHolderZ_);
			addExposedControl(ambiantSampleHolderR_);
			addExposedControl(jjSlits_->horizontalGapControl());

			addExposedDetector(beamlineI0Detector_);
			addExposedDetector(i0Detector_);
			addExposedDetector(transmissionDetector_);

			break;

		case SXRMB::AmbiantWithoutGasChamber:

			addExposedControl(ambiantSampleStageX_);
			addExposedControl(ambiantSampleStageZ_);
			addExposedControl(jjSlits_->horizontalGapControl());

			addExposedDetector(beamlineI0Detector_);
			addExposedDetector(i0Detector_);
			addExposedDetector(transmissionDetector_);

			break;

		case SXRMB::Microprobe:

			addExposedControl(microprobeSampleStageX_);
			addExposedControl(microprobeSampleStageY_);
			addExposedControl(microprobeSampleStageZ_);

			addExposedDetector(i0Detector_);
			addExposedDetector(teyDetector_);

			break;

		default:
			break;
		}

		SXRMB::Endstation fromEndstation = currentEndstation_;
		currentEndstation_ = endstation;
		emit endstationChanged(fromEndstation, currentEndstation_);

		endstationControl_->move(currentEndstation_);
	}
}
Esempio n. 4
0
void REIXSBeamline::setupExposedDetectors(){
	addExposedDetector(i0Detector_);
	addExposedDetector(teyDetector_);
	addExposedDetector(tfyDetector_);
	addExposedDetector(pfyDetector_);
}