GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4HDF5StoreParameter.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
15
16#include "TGo4Status.h"
17#include "Go4EventServerTypes.h"
18
21 fiFlags(flags)
22{
23 SetTitle(name);
24}
25
27 TGo4EventStoreParameter("Default Go4 HDF5 Store", GO4EV_HDF5)
28{
29 SetTitle("Go4HDF5Store");
30}
31
35
36void TGo4HDF5StoreParameter::Print(Option_t *) const
37{
39 TGo4Status::PrintLine(" File flags: \t%d", fiFlags);
40}
41
43{
44 auto filepar = dynamic_cast<TGo4HDF5StoreParameter*>(rhs);
45 if (!filepar) return kFALSE;
46 if(!TGo4EventStoreParameter::UpdateFrom(rhs)) return kFALSE;
47 SetHDF5Flags(filepar->GetHDF5Flags());
48 return kTRUE;
49}
@ GO4EV_HDF5
Go4_H5_File_Flags
to decouple parameter from hdf5 library we use own definitions for file modes
Definition Go4HDF5.h:41
void Print(Option_t *opt="") const override
Bool_t UpdateFrom(TGo4Parameter *rhs) override
update contents of parameter class with external object.
Bool_t UpdateFrom(TGo4Parameter *rhs) override
update contents of parameter class with external object.
void SetHDF5Flags(Go4_H5_File_Flags flags)
Go4_H5_File_Flags fiFlags
Flags for HDF5 file mode.
void Print(Option_t *opt="") const override
basic method to printout object
static void PrintLine(const char *text,...)
Print single line of debug output with appropriate indent.