GET library
Main Page
Related Pages
Namespaces
Classes
Files
Examples
ReadEvent_Demonstrator.cxx
The demonstrator is a
GET
system with 2 CoBo modules and 8 AsAd boards.
//======================================================================
// Read TPC demonstrator event file
//======================================================================
// includes from GET library
#include "
GETActarDem.hh
"
// read events program
int
main (
int
argc,
char
**argv )
{
GSetVerboseLevel(6);
// create the system: the GETActarDem object is a GETSystem
// object with 2 CoBo / 8 AsAd
GETActarDem
system ( 512, 0.01 );
// open a test data file
string
data_file =
"../data/Demonstrator/run_0201.dat"
;
system.
OpenRunFile
( data_file );
// read single events until end of file (no processing of signal)
while
(system.
ReadEvent
(
false
) != -1) { }
// close the events file
system.
CloseRunFile
( );
return
(0);
}
Generated on Tue Dec 5 2017 19:37:31 for GET library by
1.8.5