TDCBase
tdchg2.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Project: TDC Control Library
4  *
5  * Filename: tdchg2.h
6  *
7  * Purpose: Heralded G(2) Functions
8  *
9  * Author: NHands GmbH & Co KG
10  */
11 /*****************************************************************************/
27 /*****************************************************************************/
28 /* $Id: tdchg2.h,v 1.2 2020/09/03 20:23:08 trurl Exp $ */
29 
30 #ifndef __TDCHG2_H
31 #define __TDCHG2_H
32 
33 #include "tdcdecl.h"
34 
35 
50 
51 
64  Int32 binCount );
65 
66 
76  Int32 * binCount );
77 
78 
90  Int32 channel1,
91  Int32 channel2 );
92 
93 
104  Int32 * channel1,
105  Int32 * channel2 );
106 
107 
114 
115 
127 TDC_API int TDC_CC TDC_calcHg2G2( double * buffer,
128  Int32 * bufSize,
129  Bln32 reset );
130 
131 
143  Bln32 reset );
144 
145 
159  Int32 * bufSize,
160  Bln32 reset );
161 
162 
180  Int64 * evtCoinc,
181  Int64 * bufSsi,
182  Int64 * bufS2i,
183  Int32 * bufSize );
184 
185 
186 #endif
Technical declarations for the DLL interface and basic type defs.
__int32 Bln32
integer used as boolean
Definition: tdcdecl.h:57
__int32 Int32
32 bit integer for MSVC
Definition: tdcdecl.h:54
#define TDC_CC
Calling convention
Definition: tdcdecl.h:34
__int64 Int64
64 bit integer for MSVC
Definition: tdcdecl.h:55
#define TDC_API
External DLL interface.
Definition: tdcdecl.h:38
TDC_API int TDC_CC TDC_setHg2Input(Int32 idler, Int32 channel1, Int32 channel2)
Set TDC Channels for Input.
TDC_API int TDC_CC TDC_getHg2Input(Int32 *idler, Int32 *channel1, Int32 *channel2)
Get TDC Channels for Input.
TDC_API int TDC_CC TDC_calcHg2Tcp(Int64 **buffers, Bln32 reset)
2D triple coincidence count
TDC_API int TDC_CC TDC_getHg2Raw(Int64 *evtIdler, Int64 *evtCoinc, Int64 *bufSsi, Int64 *bufS2i, Int32 *bufSize)
Raw counts.
TDC_API int TDC_CC TDC_resetHg2Correlations()
Reset Correlation Functions.
TDC_API int TDC_CC TDC_calcHg2Tcp1D(Int64 *buffer, Int32 *bufSize, Bln32 reset)
2D triple coincidence count - alternative interface
TDC_API int TDC_CC TDC_setHg2Params(Int32 binWidth, Int32 binCount)
Set Correlation Function Parameters.
TDC_API int TDC_CC TDC_calcHg2G2(double *buffer, Int32 *bufSize, Bln32 reset)
Calculate g(2) Function.
TDC_API int TDC_CC TDC_enableHg2(Bln32 enable)
Enable HG2 Calculations.
TDC_API int TDC_CC TDC_getHg2Params(Int32 *binWidth, Int32 *binCount)
Get Correlation Function Parameters.