PandaRoot
PndEmcPSACombinator.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 
13 //-----------------------------------------------------------
14 // Description:
15 // Abstract class of combinator that to combine multi-PSA outputs
16 // Guang Zhao
17 //-----------------------------------------------------------
18 
19 #ifndef PndEmcPSACombinator_h
20 #define PndEmcPSACombinator_h
21 
22 #include "TObject.h"
23 #include <vector>
24 
25 class PndEmcAbsPSA;
26 
28 public:
30  virtual ~PndEmcPSACombinator() {}
31  virtual Int_t Combine(const std::vector<PndEmcAbsPSA*>& psa_list, const std::vector<Int_t>& nhit_list,
32  std::vector<Double_t>& energy_list, std::vector<Double_t>& time_list) = 0;
33 
34  ClassDef(PndEmcPSACombinator, 1)
35 
36 };
37 
38 #endif
virtual Int_t Combine(const std::vector< PndEmcAbsPSA *> &psa_list, const std::vector< Int_t > &nhit_list, std::vector< Double_t > &energy_list, std::vector< Double_t > &time_list)=0
Baseclass for pulseshapeanalysis ( featureextraction )
Definition: PndEmcAbsPSA.h:33