PandaRoot
PndSdsHitInfo.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 PNDSSDHITINFO_H
22 #define PNDSSDHITINFO_H 1
23 
24 #include "TObject.h"
25 
26 class PndSdsHitInfo : public TObject {
27 
28  public:
30  PndSdsHitInfo();
31 
33  PndSdsHitInfo(Int_t fileNumber, Int_t eventNumber, Int_t trackID, Int_t pointID, Int_t nMerged, Bool_t isFake);
34 
36  virtual ~PndSdsHitInfo();
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(PndSdsHitInfo, 1);
92 };
93 
94 #endif
void SetNMerged(Int_t nMerged)
Definition: PndSdsHitInfo.h:47
Int_t GetTrackID() const
Definition: PndSdsHitInfo.h:41
Int_t GetFileNumber() const
Definition: PndSdsHitInfo.h:39
Int_t GetEventNumber() const
Definition: PndSdsHitInfo.h:40
Int_t GetNMerged() const
Definition: PndSdsHitInfo.h:43
Bool_t IsFake() const
Definition: PndSdsHitInfo.h:44
virtual ~PndSdsHitInfo()
Int_t GetPointID() const
Definition: PndSdsHitInfo.h:42