PandaRoot
PndEmcClusterRingSorter.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  * PndEmcClusterRingSorter.h
15  */
16 
17 #ifndef PNDEMCCLUSTERRINGSORTER_H_
18 #define PNDEMCCLUSTERRINGSORTER_H_
19 
20 #include <FairRingSorter.h>
21 
22 class PndEmcClusterRingSorter: public FairRingSorter {
23 public:
24  PndEmcClusterRingSorter(int size = 100, double width = 10):FairRingSorter(size, width){};
25  virtual ~PndEmcClusterRingSorter();
26 
27  virtual FairTimeStamp* CreateElement(FairTimeStamp* data);
28 
29  void SetClusterType(Int_t type=0) {fClusterType=type;};
30 
31 private:
32  Int_t fClusterType=0;
33 
34  ClassDef (PndEmcClusterRingSorter,1);
35 };
36 
37 #endif /* PNDEMCCLUSTERRINGSORTER_H_ */
void SetClusterType(Int_t type=0)
PndEmcClusterRingSorter(int size=100, double width=10)
virtual FairTimeStamp * CreateElement(FairTimeStamp *data)
virtual ~PndEmcClusterRingSorter()