CbmRoot
Loading...
Searching...
No Matches
HalCbmEvent.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2023 Warsaw University of Technology, Warsaw
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Daniel Wielanek [committer] */
4#ifndef NICACBMDSTEVENT_H_
5#define NICACBMDSTEVENT_H_
6
7#include "HalCbmTrack.h"
8
9#include <Rtypes.h>
10#include <RtypesCore.h>
11#include <TString.h>
12
13#include <Hal/ExpEvent.h>
14namespace Hal
15{
16 class Event;
17 class EventInterface;
18} // namespace Hal
20class HalCbmEvent : public Hal::ExpEvent {
21 protected:
22 HalCbmEvent(TString classname);
25
26 public:
28 HalCbmEvent(const HalCbmEvent& other);
29 virtual void Update(Hal::EventInterface* interface);
30 virtual Bool_t ExistInTree() const;
31 virtual Hal::EventInterface* CreateInterface() const;
32 virtual Hal::Track* GetNewTrack() const { return new HalCbmTrack(); };
33 virtual Hal::Event* GetNewEvent() const { return new HalCbmEvent(); };
34 virtual TString GetFormatName() const { return "HalCbmEvent"; };
35 virtual ~HalCbmEvent();
36 ClassDef(HalCbmEvent, 1)
37};
38#endif /* NICACBMDSTEVENT_H_ */
void UpdateDST(HalCbmEventInterface *ei)
virtual Hal::Event * GetNewEvent() const
Definition HalCbmEvent.h:33
virtual ~HalCbmEvent()
void UpdateAnaTree(HalCbmEventInterface *ei)
virtual Bool_t ExistInTree() const
virtual Hal::EventInterface * CreateInterface() const
virtual void Update(Hal::EventInterface *interface)
virtual TString GetFormatName() const
Definition HalCbmEvent.h:34
virtual Hal::Track * GetNewTrack() const
Definition HalCbmEvent.h:32