Subversion Repositories f9daq

Rev

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

Rev 167 Rev 172
Line 46... Line 46...
46
void remove_from_last(char *inname, char search, char *outname);
46
void remove_from_last(char *inname, char search, char *outname);
47
void remove_before_last(char *inname, char search, char *outname);
47
void remove_before_last(char *inname, char search, char *outname);
48
void layoutMainWindow(int *w, int *h);
48
void layoutMainWindow(int *w, int *h);
49
void SeqNumber(int innum, int maxnum, char *outstr);
49
void SeqNumber(int innum, int maxnum, char *outstr);
50
void TimeEstimate(clock_t stopw0, time_t time0, float progress, char *retEstim, int offset);
50
void TimeEstimate(clock_t stopw0, time_t time0, float progress, char *retEstim, int offset);
-
 
51
void TimeEstimateNew(int nr, clock_t stopw0, time_t time0, int rX, int rY, int rZ, int xWait, int yWait, int zWait, char *retEstim);
51
void NormateSet(int file, int nrpoint, double *min, double *max, double *setCount, double *setAcc);
52
void NormateSet(int file, int nrpoint, double *min, double *max, double *setCount, double *setAcc);
52
double PointEstimate(int nrp, double *points);
53
double PointEstimate(int nrp, double *points);
53
// Separate functions -----------------------------------------
54
// Separate functions -----------------------------------------
54
 
55
 
55
 
56
 
Line 127... Line 128...
127
   // Layout setup
128
   // Layout setup
128
   void LayoutRead(int nrframes, int *w, int *h);
129
   void LayoutRead(int nrframes, int *w, int *h);
129
   void LayoutSave();
130
   void LayoutSave();
130
   void LayoutSet();
131
   void LayoutSet();
131
   void ToolTipSet();
132
   void ToolTipSet();
-
 
133
   void ToolTipSetSurfaceScan();
-
 
134
   void ToolTipSetRelativePDE();
-
 
135
   void ToolTipSetTempAnalysis();
132
 
136
 
133
   // Subframes where we display everything
137
   // Subframes where we display everything
134
   TGCompositeFrame *measLayout[measwin];
138
   TGCompositeFrame *measLayout[measwin];
135
   TGCompositeFrame *analysisLayout[analysiswin];
139
   TGCompositeFrame *analysisLayout[analysiswin];
136
 
140
 
Line 297... Line 301...
297
   TRootEmbeddedCanvas *tempAnalysisCanvas;
301
   TRootEmbeddedCanvas *tempAnalysisCanvas;
298
   TSubStructure *runningAver;
302
   TSubStructure *runningAver;
299
   TSubStructure *runningOff;
303
   TSubStructure *runningOff;
300
   TSubStructure *secondAxis;
304
   TSubStructure *secondAxis;
301
   TSubStructure *exportExitAnalysis;
305
   TSubStructure *exportExitAnalysis;
-
 
306
 
-
 
307
   TSubStructure *xCrop;
-
 
308
   TSubStructure *yCrop;
-
 
309
   TSubStructure *interpolSize;
-
 
310
   TSubStructure *updateCrop;
302
   
311
   
303
   // Action connections for temporary analysis edit window (new tab)
312
   // Action connections for temporary analysis edit window (new tab)
304
   void ApplyRunningAver();
313
   void ApplyRunningAver();
-
 
314
   void UpdateIntegrateSurface(int val);
305
   void CloseTempAnalysisTab(int tabval);
315
   void CloseTempAnalysisTab(int tabval);
306
   void ExportTempAnalysisPlot();
316
   void ExportTempAnalysisPlot();
307
 
317
 
308
   // Additional functions
318
   // Additional functions
309
   void DisplayHistogram(char *histfile, int histtype, int opt);
319
   void DisplayHistogram(char *histfile, int histtype, int opt);
310
   void HeaderEditTab(TGTab *mainTab, bool create, int *tabid);
320
   void HeaderEditTab(TGTab *mainTab, bool create, int *tabid);
311
   void TempAnalysisTab(TGTab *mainTab, bool create, int *tabid, int analtype);
321
   void TempAnalysisTab(TGTab *mainTab, bool create, int *tabid, int analtype);
312
   void RunMeas(void *ptr, int runCase, int &scanon);
322
   void RunMeas(void *ptr, int runCase, int &scanon);
313
   int MyTimer();
323
   int MyTimer();
314
 
324
 
-
 
325
   // Open directory (separate for saving measurement and for opening histograms)
315
   // Open directory
326
   char *currentMeasDir;
316
   char *currentOpenDir;
327
   char *currentAnalDir;
317
 
328
 
318
// ROOT file variable structure -------------------------------
329
// ROOT file variable structure -------------------------------
319
   struct EventHeader {
330
   struct EventHeader {
320
     int nrch;
331
     int nrch;
321
     int timestamp;
332
     int timestamp;