GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TXXXEvent.cxx
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#include "TXXXEvent.h"
15
16#include "TGo4Log.h"
17
18//***********************************************************
21{
22 TGo4Log::Info("TXXXEvent: Create instance");
23}
24//***********************************************************
25TXXXEvent::TXXXEvent(const char *name) :
27{
28 TGo4Log::Info("TXXXEvent: Create instance %s", name);
29}
30//***********************************************************
32{
33 TGo4Log::Info("TXXXEvent: Delete instance");
34}
35
36//-----------------------------------------------------------
37void TXXXEvent::Clear(Option_t *)
38{
39 // all members should be cleared.
40 memset(fCrate1, 0, sizeof(fCrate1));
41 memset(fCrate2, 0, sizeof(fCrate2));
42}
static void Info(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 1.
Definition TGo4Log.cxx:294
Float_t fCrate2[8]
Definition TXXXEvent.h:29
Float_t fCrate1[8]
Definition TXXXEvent.h:28
void Clear(Option_t *opt="") override
Method called by the framework to clear the event element.
Definition TXXXEvent.cxx:37
virtual ~TXXXEvent()
Definition TXXXEvent.cxx:31