GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TYYYRawEvent.h
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#ifndef TYYYRawEvent_H
15#define TYYYRawEvent_H
16
17#include "TGo4EventElement.h"
18
24
25 public:
26
28
29 TYYYRawEvent(const char *name);
30
31 virtual ~TYYYRawEvent();
32
37 void Clear(Option_t *opt = "") override;
38
40 void ReAllocate(Int_t newsize);
41
42 void PrintEvent() override;
43
44 Int_t GetColumns() const { return fiColumns; }
45
46 /* Number of columns read from the file (used values for this event) */
47 Int_t fiColumns{0};
48
49 Double_t *fdData{nullptr}; //[fiColumns]
50
51 Int_t fiAllocated{0};
52
53 ClassDefOverride(TYYYRawEvent,1)
54};
55
56#endif
Example for user defined raw event class.
void PrintEvent() override
Method prints content of the event.
Double_t * fdData
void Clear(Option_t *opt="") override
Method called by the event owner (analysis step) to clear the event element.
virtual ~TYYYRawEvent()
Int_t GetColumns() const
Int_t fiAllocated
void ReAllocate(Int_t newsize)
Expand data field if necessary.