1#ifndef ROOT_AcqSerialPlateChanger
2#define ROOT_AcqSerialPlateChanger
26#define MAX_NUMBER_OF_PLATES 100
29#define VPOS_DOWN_TO_STAGE 2
30#define VPOS_ABOVE_STAGE 3
87void LoadBrick(
int Brick,
int Nemulsions=57,
int SrcBank=1,
int DestBank=2,
bool Separators=
true,
bool FirstIsSeparator=
true);
100 int LoadPlate(
int id0,
int id1,
int id2=0,
int id3=0);
TBank Bank[5]
Definition: AcqPlateChanger.cxx:15
#define MAX_NUMBER_OF_PLATES
Definition: AcqSerialPlateChanger.h:26
MFTYPE32 long position
Definition: Milproto.h:644
Definition: AcqSerialPlateChanger.h:59
AcqSerialPlateChanger()
Definition: AcqSerialPlateChanger.cxx:30
int ArmVacuumControl(bool VacOn, int timeout)
Definition: AcqSerialPlateChanger.cxx:209
bool StageError
Definition: AcqSerialPlateChanger.h:105
bool Ready
Definition: AcqSerialPlateChanger.h:104
int UnloadPlate(bool TurnPowerOff=true)
Definition: AcqSerialPlateChanger.cxx:856
int PowerOFF(int timeout=100)
Definition: AcqSerialPlateChanger.cxx:173
int PositionTimeout
Definition: AcqSerialPlateChanger.h:110
int SourceBank
Definition: AcqSerialPlateChanger.h:108
float XLoadPosition
Definition: AcqSerialPlateChanger.h:119
bool LiftCorners
Definition: AcqSerialPlateChanger.h:113
void AddToBank(int bnk, TPlateS *plate)
Definition: AcqSerialPlateChanger.cxx:733
int Park(int idst)
Definition: AcqSerialPlateChanger.cxx:911
AcqCOM * port
Definition: AcqSerialPlateChanger.h:63
float YLoadPosition
Definition: AcqSerialPlateChanger.h:120
virtual ~AcqSerialPlateChanger()
Definition: AcqSerialPlateChanger.cxx:79
int ComPort
Definition: AcqSerialPlateChanger.h:92
void LoadBrick(int Brick, int Nemulsions=57, int SrcBank=1, int DestBank=2, bool Separators=true, bool FirstIsSeparator=true)
Definition: AcqSerialPlateChanger.cxx:463
int LoadPlate(IdentifierS id)
Definition: AcqSerialPlateChanger.cxx:783
int MoveEmulsion(int isrc, int idst)
Definition: AcqSerialPlateChanger.cxx:591
float ZLoadPosition
Definition: AcqSerialPlateChanger.h:121
int Initialize(AcqStage1 *Stage=NULL)
Definition: AcqSerialPlateChanger.cxx:105
int ComBaud
Definition: AcqSerialPlateChanger.h:93
int ReadStatusFile()
Definition: AcqSerialPlateChanger.cxx:382
int GetLoadedId(int *id0=NULL, int *id1=NULL, int *id2=NULL, int *id3=NULL)
Definition: AcqSerialPlateChanger.cxx:576
int GoOnHAxis(int position, int timeout)
Definition: AcqSerialPlateChanger.cxx:278
int PowerON(int timeout=100)
Definition: AcqSerialPlateChanger.cxx:138
int SeparationAttempts
Definition: AcqSerialPlateChanger.h:116
int NumberOfAttempt
Definition: AcqSerialPlateChanger.h:115
float StZ
Definition: AcqSerialPlateChanger.h:62
void ResetBanks()
Definition: AcqSerialPlateChanger.cxx:557
int FindEmulsion(IdentifierS id, int Bank)
Definition: AcqSerialPlateChanger.cxx:896
float StY
Definition: AcqSerialPlateChanger.h:62
int DestinationBank
Definition: AcqSerialPlateChanger.h:109
bool Debug
Definition: AcqSerialPlateChanger.h:126
int VacuumTimeout
Definition: AcqSerialPlateChanger.h:111
int NumberOfBanks
Definition: AcqSerialPlateChanger.h:112
char VacRegister
Definition: AcqSerialPlateChanger.h:64
int TableVacuumControl(bool VacOn, int timeout, bool BlowOn=false)
Definition: AcqSerialPlateChanger.cxx:243
void UpdateStatusFile()
Definition: AcqSerialPlateChanger.cxx:346
virtual void Print()
Definition: AcqSerialPlateChanger.cxx:55
TPlateS * TakeFromBank(int bnk)
Definition: AcqSerialPlateChanger.cxx:750
void OnReset()
Definition: AcqSerialPlateChanger.cxx:85
AcqStage1 * ST
Definition: AcqSerialPlateChanger.h:123
bool InitDone
Definition: AcqSerialPlateChanger.h:103
void UnloadBrick()
Definition: AcqSerialPlateChanger.cxx:445
float StX
Definition: AcqSerialPlateChanger.h:62
int GoOnVAxis(int position, int timeout)
Definition: AcqSerialPlateChanger.cxx:313
Definition: AcqStage1.h:134
Int_t plate
Definition: merge_Energy_SytematicSources_Electron.C:1
#define NULL
Definition: nidaqmx.h:84
Definition: AcqSerialPlateChanger.h:33
int Part[4]
Definition: AcqSerialPlateChanger.h:34
Definition: AcqSerialPlateChanger.h:49
int NEmulsions
Definition: AcqSerialPlateChanger.h:51
TPlateS * Plates[MAX_NUMBER_OF_PLATES *2]
Definition: AcqSerialPlateChanger.h:53
int Number
Definition: AcqSerialPlateChanger.h:50
int NSeparators
Definition: AcqSerialPlateChanger.h:52
Definition: AcqSerialPlateChanger.h:40
bool IsSeparator
Definition: AcqSerialPlateChanger.h:44
int InBank
Definition: AcqSerialPlateChanger.h:43
int SeqNumber
Definition: AcqSerialPlateChanger.h:42
IdentifierS id
Definition: AcqSerialPlateChanger.h:41