- DMC McStas simulation working
SKIPPED: psi/amorstat.c psi/nxamor.c psi/pimotor.c psi/polterwrite.c
This commit is contained in:
13
mcstashm.c
13
mcstashm.c
@ -114,14 +114,11 @@ static int McHMGetData(pHistDriver self, SConnection *pCon){
|
||||
}
|
||||
/*-----------------------------------------------------------------------*/
|
||||
static int McHMGetHistogram(pHistDriver self, SConnection *pCon,
|
||||
int bank, int start, int end, HistInt *pData){
|
||||
/*
|
||||
* normally this would update HM data from the actual histogram mmeory.
|
||||
* With the McStas simulation, the updated values for the hiistogram
|
||||
* mmeory data are pushed through SetHistogram. Thus this routine has
|
||||
* to do nothing.
|
||||
*/
|
||||
return 1;
|
||||
int bank, int start, int end, HistInt *pData){
|
||||
/*
|
||||
* make sure data gets transferred
|
||||
*/
|
||||
return McHMGetData(self,pCon);
|
||||
}
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static int McHMSetHistogram(pHistDriver self, SConnection *pCon,
|
||||
|
Reference in New Issue
Block a user