/* * acrootManager.h * * Created on: Mar 24, 2014 * Author: yqiang * * Modified on: * Nov 19, 2014: added beam current and gain, yqiang * */ #ifndef ACROOTMANAGER_H_ #define ACROOTMANAGER_H_ #include #include void StartRootDAQ(const char* dir, const char* prefix, const char* suffix, long nLim); void CloseRootFile(); void WriteRootFile(const char* channelName, struct timespec* timeStamp, float* buffPtr, int nElm, float* beamCurrent, short* gain); int GetBufferSize(); const char* GetFileName(); long GetFileSize(); #endif /* ACROOTMANAGER_H_ */