Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
DbgRecoEvent.h
1/*
2 * DbgRecoEvent.h
3 *
4 * Created on: 28 maj 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HAL_EXAMPLES_ONTHEFLY_DBGRECOEVENT_H_
10#define HAL_EXAMPLES_ONTHEFLY_DBGRECOEVENT_H_
11
12#include "ExpEvent.h"
13#include "ExpTrack.h"
14
15#include <Rtypes.h>
16#include <RtypesCore.h>
17#include <TString.h>
18
19namespace HalDbg {
20 class RecoEvent : public Hal::ExpEvent {
21 public:
22 RecoEvent();
24 virtual void Update(Hal::EventInterface* interface);
25 virtual Bool_t ExistInTree() const;
26 virtual TString GetFormatName() const { return "DbgRecoEvent"; };
27 virtual ~RecoEvent() {};
28 ClassDef(RecoEvent, 1)
29 };
30
31 class RecoTrack : public Hal::ExpTrack {
32 Int_t fMatchIdx;
33
34 public:
35 RecoTrack() : fMatchIdx(-1) {};
36 Int_t GetMatch() const { return fMatchIdx; };
37 void SetMatch(Int_t idx) { fMatchIdx = idx; };
38 virtual ~RecoTrack() {};
39 ClassDef(RecoTrack, 1);
40 };
41
42} // namespace HalDbg
43#endif /* HAL_EXAMPLES_ONTHEFLY_DBGRECOEVENT_H_ */
virtual void Update(Hal::EventInterface *interface)
virtual TString GetFormatName() const
virtual Bool_t ExistInTree() const
Hal::EventInterface * CreateInterface() const