mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
changes made for compression- works only for moench with 1 thread
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@720 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
f08d4828d9
commit
b7bc8fd8e5
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#ifdef MYROOT1
|
#ifdef MYROOT1
|
||||||
#include <TTree.h>
|
#include <TTree.h>
|
||||||
|
#include <TFile.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -246,6 +247,12 @@ private:
|
|||||||
*/
|
*/
|
||||||
int setupWriter();
|
int setupWriter();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates new tree and file for compression
|
||||||
|
*\returns OK for succces or FAIL for failure
|
||||||
|
*/
|
||||||
|
int createCompressionFile();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new file
|
* Creates new file
|
||||||
*\returns OK for succces or FAIL for failure
|
*\returns OK for succces or FAIL for failure
|
||||||
@ -447,8 +454,7 @@ private:
|
|||||||
/** total frame count the listening thread has listened to */
|
/** total frame count the listening thread has listened to */
|
||||||
int totalListeningFrameCount;
|
int totalListeningFrameCount;
|
||||||
|
|
||||||
/** 0 if receiver is idle, 1 otherwise */
|
|
||||||
int running;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -483,11 +489,6 @@ private:
|
|||||||
|
|
||||||
int iFrame;
|
int iFrame;
|
||||||
|
|
||||||
#ifdef MYROOT1
|
|
||||||
/** Tree where the hits are stored */
|
|
||||||
TTree *myTree;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
callback arguments are
|
callback arguments are
|
||||||
filepath
|
filepath
|
||||||
@ -533,12 +534,24 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
#ifdef MYROOT1
|
||||||
|
/** Tree where the hits are stored */
|
||||||
|
static TTree *myTree;
|
||||||
|
|
||||||
|
/** File where the tree is saved */
|
||||||
|
static TFile *myFile;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/** File Descriptor */
|
/** File Descriptor */
|
||||||
static FILE *sfilefd;
|
static FILE *sfilefd;
|
||||||
|
|
||||||
/** if the receiver threads are running*/
|
/** if the receiver threads are running*/
|
||||||
static int receiver_threads_running;
|
static int receiver_threads_running;
|
||||||
|
|
||||||
|
/** 0 if receiver is idle, 1 otherwise */
|
||||||
|
static int running;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
callback arguments are
|
callback arguments are
|
||||||
|
Loading…
x
Reference in New Issue
Block a user