Subversion Repositories f9daq

Rev

Rev 234 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 234 Rev 261
Line 103... Line 103...
103
 
103
 
104
 
104
 
105
 
105
 
106
double  _VI_FUNC  H1D_GetBinContent(int h1d,int atx) {
106
double  _VI_FUNC  H1D_GetBinContent(int h1d,int atx) {
107
 
107
 
108
  int idx;
108
 
109
  if (!h1[h1d]) return 0;
109
  if (!h1[h1d]) return 0;
110
  if (h1[h1d]->nx <= atx)  return 0;
110
  if (h1[h1d]->nx <= atx)  return 0;
111
  if (atx<0)  return 0;
111
  if (atx<0)  return 0;
112
  if (atx*sizeof(double) < h1[h1d]->size ) return h1[h1d]->data[atx];
112
  if (atx*sizeof(double) < h1[h1d]->size ) return h1[h1d]->data[atx];
113
 
113