BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmFindPrimaryVertex.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmFindPrimaryVertex header file -----
3// ----- Created 28/11/05 by V. Friese -----
4// -------------------------------------------------------------------------
5
6/** CbmFindPrimaryVertex
7 *@author V.Friese <v.friese@gsi.de>
8 **
9 ** Task class for PV finding.
10 ** Input: TClonesArray of CbmStsTracks (later CbmGlobalTracks)
11 ** Output: CbmVertex
12 **
13 ** Uses as vertex finding algorithm classes derived from
14 ** CbmPrimaryVertexFinder.
15 **/
16
17#ifndef CBMFINDPRIMARYVERTEX_H
18#define CBMFINDPRIMARYVERTEX_H 1
19
20#include "FairTask.h"
21
22class TClonesArray;
24class CbmVertex;
25
27{
28
29 public:
30 /** Default constructor **/
32
33 /** Standard constructor
34 *@param pvFinder Pointer to concrete vertex finder
35 **/
37
38 /** Constructor with name and title
39 **
40 *@param name Name of task
41 *@param title Title of task
42 *@param pvFinder Pointer to vertex finder concrete object
43 **/
44 CbmFindPrimaryVertex(const char* name, const char* title, CbmPrimaryVertexFinder* pvFinder);
45
46 /** Destructor **/
47 virtual ~CbmFindPrimaryVertex();
48
49 /** Initialisation **/
50 virtual InitStatus Init();
51
52 /** Task execution **/
53 virtual void Exec(Option_t* opt);
54
55 /** Finish **/
56 virtual void Finish();
57
58 void SetTrackBranch(TString trBranch = "StsTrack") { fTrBranch = trBranch; } // AZ - set track branch name
59
60 private:
64 TString fTrBranch; // AZ - Track branch name
65
68
70};
71
72#endif
const char Option_t
#define ClassDef(name, id)
virtual void Exec(Option_t *opt)
Task execution.
CbmFindPrimaryVertex()
Default constructor.
virtual ~CbmFindPrimaryVertex()
Destructor.
virtual void Finish()
Finish.
CbmFindPrimaryVertex(const CbmFindPrimaryVertex &)=delete
virtual InitStatus Init()
Initialisation.
void SetTrackBranch(TString trBranch="StsTrack")
CbmPrimaryVertexFinder * fFinder
CbmFindPrimaryVertex & operator=(const CbmFindPrimaryVertex &)=delete
CbmVertex.h.
Definition CbmVertex.h:21