PandaRoot
PndHypHitInfo.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
21 #ifndef PNDHYPHITINFO_H
22 #define PNDHYPHITINFO_H 1
23 
24 #include "TObject.h"
25 
26 class PndHypHitInfo : public TObject {
27 
28  public:
30  PndHypHitInfo();
31 
33  PndHypHitInfo(Int_t fileNumber, Int_t eventNumber, Int_t trackID, Int_t pointID, Int_t nMerged, Bool_t isFake);
34 
36  virtual ~PndHypHitInfo();
37 
39  Int_t GetFileNumber() const { return fFileNumber; };
40  Int_t GetEventNumber() const { return fEventNumber; };
41  Int_t GetTrackID() const { return fTrackID; };
42  Int_t GetPointID() const { return fPointID; };
43  Int_t GetNMerged() const { return fNMerged; };
44  Bool_t IsFake() const { return fIsFake; };
45 
47  void SetNMerged(Int_t nMerged) { fNMerged = nMerged; };
48 
50  void Clear();
51 
52  private:
59  Int_t fFileNumber;
60 
67  Int_t fEventNumber;
68 
73  Int_t fTrackID;
74 
79  Int_t fPointID;
80 
86  Int_t fNMerged;
87 
89  Bool_t fIsFake;
90 
91  ClassDef(PndHypHitInfo, 1);
92 };
93 
94 #endif
Int_t GetEventNumber() const
Definition: PndHypHitInfo.h:40
void SetNMerged(Int_t nMerged)
Definition: PndHypHitInfo.h:47
Int_t GetPointID() const
Definition: PndHypHitInfo.h:42
Bool_t IsFake() const
Definition: PndHypHitInfo.h:44
Int_t GetTrackID() const
Definition: PndHypHitInfo.h:41
virtual ~PndHypHitInfo()
Int_t GetFileNumber() const
Definition: PndHypHitInfo.h:39
Int_t GetNMerged() const
Definition: PndHypHitInfo.h:43