CbmRoot
Loading...
Searching...
No Matches
CbmFindPrimaryVertexEvents.h
Go to the documentation of this file.
1/* Copyright (C) 2014-2017 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
11#ifndef CBMFINDPRIMARYVERTEXEVENTS_H
12#define CBMFINDPRIMARYVERTEXEVENTS_H 1
13
14
15#include "FairTask.h"
16#include "TStopwatch.h"
17
18class TClonesArray;
20class CbmVertex;
21
22
33class CbmFindPrimaryVertexEvents : public FairTask {
34
35 public:
38
39
44
45 // Prevent auto copy constructor and assignment operator
48
55 CbmFindPrimaryVertexEvents(const char* name, const char* title, CbmPrimaryVertexFinder* pvFinder);
56
57
60
61
63 virtual InitStatus Init();
64
65
67 virtual void Exec(Option_t* opt);
68
69
71 virtual void Finish();
72
73
74 private:
75 TStopwatch fTimer;
77 TClonesArray* fEvents;
78 TClonesArray* fTracks;
80
81 Int_t fNofEvents;
82 Double_t fTimeTot;
83
84
86};
87
88#endif
CbmPrimaryVertexFinder * fFinder
Concrete finder instance.
CbmFindPrimaryVertexEvents(const CbmFindPrimaryVertexEvents &)=delete
TClonesArray * fTracks
event array
CbmFindPrimaryVertexEvents & operator=(const CbmFindPrimaryVertexEvents &)=delete
Double_t fTimeTot
Total execution time [s].
Int_t fNofEvents
Total number of events processed.
ClassDef(CbmFindPrimaryVertexEvents, 1)