CbmRoot
Loading...
Searching...
No Matches
CbmTrackMerger.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2012 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese, Denis Bertini [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmTrackMerger header file -----
7// ----- Created 01/12/05 by V. Friese -----
8// -------------------------------------------------------------------------
9
10
19#ifndef CBMTRACKMERGER_H
20#define CBMTRACKMERGER_H 1
21
22
23#include "TObject.h"
24
25
26class TClonesArray;
27
28
29class CbmTrackMerger : public TObject {
30
31 public:
33 CbmTrackMerger() : TObject(), fVerbose(0){};
34
35
37 virtual ~CbmTrackMerger(){};
38
39
43 virtual void Init(){};
44
45
56 virtual Int_t DoMerge(TClonesArray* stsTracks, TClonesArray* trdTracks, TClonesArray* glbTracks) = 0;
57
58
62 void SetVerbose(Int_t verbose) { fVerbose = verbose; };
63
64
65 protected:
66 Int_t fVerbose; // Verbosity level
67
68
70};
71
72#endif
virtual Int_t DoMerge(TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks)=0
ClassDef(CbmTrackMerger, 1)
virtual ~CbmTrackMerger()
virtual void Init()
void SetVerbose(Int_t verbose)