ROOT logo
#ifndef __TUsrEvtStart_h__
#define __TUsrEvtStart_h__

//_________________________________________________[C++ CLASS DEFINITION FILE]
//////////////////////////////////////////////////////////////////////////////
// Name:           TUsrEvtStart.h
// Purpose:        Class to describe a start event
// Description:
// Author:         R. Lutter
// Revision:       $Id: TUsrEvtStart.h,v 1.3 2007-08-08 11:15:59 Rudolf.Lutter Exp $       
// Date:           
// URL:            
// Keywords:       
//////////////////////////////////////////////////////////////////////////////

#include "TObject.h"
#include "TFile.h"

#include "TUsrEvent.h"

//______________________________________________________[C++ CLASS DEFINITION]
//////////////////////////////////////////////////////////////////////////////
// Name:           TUsrEvtStart
// Purpose:        Define an event for "Start Acquisition"
// Description:    Event assigned to trigger 14 (Start Acquisition)
// Keywords:
//////////////////////////////////////////////////////////////////////////////

class TUsrEvtStart : public TUsrEvent {

	public:
		TUsrEvtStart(); 				// ctor
		~TUsrEvtStart() {};				// default dtor

		Bool_t ExtractTimeStamp(const s_vehe *, MBSDataIO *);
		Bool_t CreateTree();
		Bool_t InitializeTree(TFile * RootFile);
		inline Int_t GetTime() const { return(fClockSecs); };

		inline void Help() { gSystem->Exec(Form("mrbHelp %s", this->ClassName())); };

	ClassDef(TUsrEvtStart, 1)		// [Analyze] Event type "START ACQUISITION"
};

#endif
 TUsrEvtStart.h:1
 TUsrEvtStart.h:2
 TUsrEvtStart.h:3
 TUsrEvtStart.h:4
 TUsrEvtStart.h:5
 TUsrEvtStart.h:6
 TUsrEvtStart.h:7
 TUsrEvtStart.h:8
 TUsrEvtStart.h:9
 TUsrEvtStart.h:10
 TUsrEvtStart.h:11
 TUsrEvtStart.h:12
 TUsrEvtStart.h:13
 TUsrEvtStart.h:14
 TUsrEvtStart.h:15
 TUsrEvtStart.h:16
 TUsrEvtStart.h:17
 TUsrEvtStart.h:18
 TUsrEvtStart.h:19
 TUsrEvtStart.h:20
 TUsrEvtStart.h:21
 TUsrEvtStart.h:22
 TUsrEvtStart.h:23
 TUsrEvtStart.h:24
 TUsrEvtStart.h:25
 TUsrEvtStart.h:26
 TUsrEvtStart.h:27
 TUsrEvtStart.h:28
 TUsrEvtStart.h:29
 TUsrEvtStart.h:30
 TUsrEvtStart.h:31
 TUsrEvtStart.h:32
 TUsrEvtStart.h:33
 TUsrEvtStart.h:34
 TUsrEvtStart.h:35
 TUsrEvtStart.h:36
 TUsrEvtStart.h:37
 TUsrEvtStart.h:38
 TUsrEvtStart.h:39
 TUsrEvtStart.h:40
 TUsrEvtStart.h:41
 TUsrEvtStart.h:42
 TUsrEvtStart.h:43
 TUsrEvtStart.h:44
 TUsrEvtStart.h:45