TDCBase

Custom Programming Library for TDC

Tdcbase is a library that allows custom programming for the TDC time-to-digital converter. It allows to configure the device, aquire timestamps, and calculate start stop histograms.

tdcbase.h declares functions for device control and timestamp acquisition.

tdcmultidev.h provides a method to handle multiple devices from one program.

tdcstartstop.h allows to generate start stop histograms in the PC.

tdchbt.h provides photon statistics with g(2) functions and fit to models. These functions are available only if the HBT option is activated.

tdchg2.h implements functions to evaluate triple coincidences to calculate "heralded g(2) functions". These functions are available only if the HBT option is activated.

tdclifetm.h provides functions for lifetime measurement. These functions are available only if the lifetime option is activated.

tdcdecl.h defines data types and return codes used by all functions.

A number of source code examples illustrates how to use the API.