PandaRoot
PndOtSignalOverlap.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 
14 // PndOtSignalOverlap header file
15 //
16 // Copied from PndFtsSingalOverlap
17 //
18 // authors: Radoslaw Karabowicz, GSI, 2024
20 
21 #ifndef PNDOTSIGNALOVERLAP_H
22 #define PNDOTSIGNALOVERLAP_H 1
23 
24 // from ROOT
25 #include <TObject.h>
26 
27 class TClonesArray;
28 
29 class PndOtSignalOverlap : public TObject {
30 
31  public:
34 
35  PndOtSignalOverlap(TClonesArray *OriginalHitArray);
36  PndOtSignalOverlap(Int_t verbose, TClonesArray *OriginalHitArray);
37 
40 
41  Bool_t OverlapSimultaneousSignals(TClonesArray *OverlapHitArray);
42  Bool_t WriteToOutputHit(Int_t hitid);
43 
44  private:
45  TClonesArray *fOriginalHitArray;
46  TClonesArray *fOverlapHitArray;
47  Int_t fVerbose;
48  ClassDef(PndOtSignalOverlap, 1);
49 };
50 
51 #endif
Bool_t OverlapSimultaneousSignals(TClonesArray *OverlapHitArray)
Bool_t WriteToOutputHit(Int_t hitid)