GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TXXXEvent.cxx
Go to the documentation of this file.
1 // $Id: TXXXEvent.cxx 3010 2021-02-18 10:53:20Z linev $
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 //***********************************************************
25 TXXXEvent::TXXXEvent(const char* name) :
26  TGo4EventElement(name)
27 {
28  TGo4Log::Info("TXXXEvent: Create instance %s", name);
29 }
30 //***********************************************************
32 {
33  TGo4Log::Info("TXXXEvent: Delete instance");
34 }
35 
36 //-----------------------------------------------------------
37 void TXXXEvent::Clear(Option_t *t)
38 {
39  // all members should be cleared.
40  memset((void*) &fCrate1[0],0, sizeof(fCrate1));
41  memset((void*) &fCrate2[0],0, sizeof(fCrate2));
42 }
void Clear(Option_t *t="")
Definition: TXXXEvent.cxx:37
Float_t fCrate1[8]
Definition: TXXXEvent.h:28
virtual ~TXXXEvent()
Definition: TXXXEvent.cxx:31
Float_t fCrate2[8]
Definition: TXXXEvent.h:29
static void Info(const char *text,...)
Definition: TGo4Log.cxx:287