]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/icepack/iceconvert/twr_event.h
Adding a commented line demsostrating how to switch off
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / twr_event.h
CommitLineData
0cfe76b5 1#ifndef TWR_EVENT_H
2#define TWR_EVENT_H
3
4// Copyright(c) 2003, IceCube Experiment at the South Pole, All rights reserved.
5// See cxx source for full Copyright notice.
6
7// $Id$
8
9/////////////////////////////////////////////////////////////////////////
10// This header file originates from the file event.h
11// of Wolfgang Wagner's TWR raw data reader.
12// The types u_int32_t etc... have been replaced by the ROOT portable
13// types UInt_t etc... to obtain identical performance on all ROOT
14// supported platforms from within the Ralice/IcePack framework.
15// In addition the low level C "read()" invokations have been replaced
16// by the standard C/C++ "fread()" invokations to even more enhance
17// portability. As a result several header files have become obsolete
18// and as such are not included anymore.
19//
20// NvE 07-dec-2006 Utrecht University
21/////////////////////////////////////////////////////////////////////////
22
23#include "twr_gps.h"
24
25typedef struct
26{
27 UShort_t value[2500];
28} waveform_t;
29
30typedef struct
31{
32 UInt_t timestamp;
33 UInt_t n_wfm;
34} twr_t;
35
36typedef struct
37{
38 UInt_t eventcounter;
39 UInt_t which_trigger;
40 GPS_t gps;
41 waveform_t wfm[N_OF_CHANNELS];
42 short wfm_filled[N_OF_CHANNELS];
43 UInt_t twr_id_of_om[N_OF_CHANNELS];
44 twr_t twr[ (MAX_N_CRATES+1) * MAX_N_TWR_PER_CRATE];
45} event_t;
46
47#endif