CbmRoot
Loading...
Searching...
No Matches
CbmPrimaryVertexFinder.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2016 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese, Denis Bertini [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmPrimaryVertexFinder header file -----
7// ----- Created 28/11/05 by V. Friese -----
8// -------------------------------------------------------------------------
9
10
21#ifndef CBMPRIMARYVERTEXFINDER_H
22#define CBMPRIMARYVERTEXFINDER_H 1
23
24
25#include "TObject.h"
26
27
28class TClonesArray;
29class CbmEvent;
30class CbmVertex;
31
32
33class CbmPrimaryVertexFinder : public TObject {
34
35 public:
38
39
42
43
47 virtual void Init(){};
48
49
58 virtual Int_t FindPrimaryVertex(TClonesArray* tracks, CbmVertex* vertex) = 0;
59
60
67 virtual Int_t FindEventVertex(CbmEvent* event, TClonesArray* tracks) = 0;
68
69
71};
72
73#endif
TClonesArray * tracks
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
ClassDef(CbmPrimaryVertexFinder, 1)
virtual Int_t FindEventVertex(CbmEvent *event, TClonesArray *tracks)=0
virtual Int_t FindPrimaryVertex(TClonesArray *tracks, CbmVertex *vertex)=0