CbmRoot
CbmStsKFSecondaryVertexFinder.h
Go to the documentation of this file.
1 
10 #ifndef CBMSTSKFSECONDARYVERTEXFINDER_H
11 #define CBMSTSKFSECONDARYVERTEXFINDER_H
12 
14 #include "CbmKFTrack.h"
15 #include "CbmKFVertex.h"
16 
17 #include "CbmStsTrack.h"
18 
19 #include <vector>
20 
21 class CbmStsKFSecondaryVertexFinder : public TObject {
22 
23  std::vector<CbmStsTrack*> vStsTracks;
24  std::vector<CbmKFTrack> vKFTracks;
27 
28 public:
30  : vStsTracks(), vKFTracks(), VParent(), VGuess(), Finder() {
31  Clear();
32  };
34 
35  virtual void Clear(Option_t* opt = "");
36  void AddTrack(CbmStsTrack* Track);
37  void SetApproximation(CbmVertex* Guess = 0);
38  void SetMassConstraint(Double_t MotherMass = -1);
39  void SetTopoConstraint(CbmVertex* Parent = 0);
40  void Fit();
41  void GetVertex(CbmVertex& vtx);
42  //void GetFittedTrack( Int_t itrack, CbmStsTrack *Track );
43  //void GetFittedTrack( Int_t itrack, FairTrackParam *Param );
44  void GetMotherTrack(CbmStsTrack* MotherTrack);
45  void GetMass(Double_t* M, Double_t* Error);
46  CbmStsTrack* GetTrack(Int_t itrack);
47  Int_t GetNTracks();
48 
50 };
51 #endif /* !CBMSTSKFSECONDARYVERTEXFINDER_H */
CbmStsKFSecondaryVertexFinder::SetMassConstraint
void SetMassConstraint(Double_t MotherMass=-1)
Definition: CbmStsKFSecondaryVertexFinder.cxx:39
CbmStsKFSecondaryVertexFinder
Definition: CbmStsKFSecondaryVertexFinder.h:21
CbmStsKFSecondaryVertexFinder::GetVertex
void GetVertex(CbmVertex &vtx)
Definition: CbmStsKFSecondaryVertexFinder.cxx:61
CbmStsKFSecondaryVertexFinder::VParent
CbmKFVertex VParent
Definition: CbmStsKFSecondaryVertexFinder.h:25
CbmStsKFSecondaryVertexFinder::CbmStsKFSecondaryVertexFinder
CbmStsKFSecondaryVertexFinder()
Definition: CbmStsKFSecondaryVertexFinder.h:29
CbmStsKFSecondaryVertexFinder::~CbmStsKFSecondaryVertexFinder
~CbmStsKFSecondaryVertexFinder()
Definition: CbmStsKFSecondaryVertexFinder.h:33
CbmStsTrack.h
Data class for STS tracks.
CbmStsKFSecondaryVertexFinder::SetApproximation
void SetApproximation(CbmVertex *Guess=0)
Definition: CbmStsKFSecondaryVertexFinder.cxx:30
CbmStsKFSecondaryVertexFinder::GetMotherTrack
void GetMotherTrack(CbmStsTrack *MotherTrack)
Definition: CbmStsKFSecondaryVertexFinder.cxx:80
CbmKFSecondaryVertexFinder
Definition: CbmKFSecondaryVertexFinder.h:18
CbmStsKFSecondaryVertexFinder::AddTrack
void AddTrack(CbmStsTrack *Track)
Definition: CbmStsKFSecondaryVertexFinder.cxx:24
CbmVertex
Definition: CbmVertex.h:26
CbmStsKFSecondaryVertexFinder::SetTopoConstraint
void SetTopoConstraint(CbmVertex *Parent=0)
Definition: CbmStsKFSecondaryVertexFinder.cxx:43
CbmKFTrack.h
CbmStsKFSecondaryVertexFinder::GetMass
void GetMass(Double_t *M, Double_t *Error)
Definition: CbmStsKFSecondaryVertexFinder.cxx:97
CbmStsKFSecondaryVertexFinder::GetTrack
CbmStsTrack * GetTrack(Int_t itrack)
Definition: CbmStsKFSecondaryVertexFinder.cxx:101
CbmStsKFSecondaryVertexFinder::GetNTracks
Int_t GetNTracks()
Definition: CbmStsKFSecondaryVertexFinder.cxx:105
CbmStsKFSecondaryVertexFinder::ClassDef
ClassDef(CbmStsKFSecondaryVertexFinder, 1)
CbmStsKFSecondaryVertexFinder::VGuess
CbmKFVertex VGuess
Definition: CbmStsKFSecondaryVertexFinder.h:25
CbmKFSecondaryVertexFinder.h
CbmStsKFSecondaryVertexFinder::Fit
void Fit()
Definition: CbmStsKFSecondaryVertexFinder.cxx:52
CbmStsKFSecondaryVertexFinder::vStsTracks
std::vector< CbmStsTrack * > vStsTracks
Definition: CbmStsKFSecondaryVertexFinder.h:23
CbmStsKFSecondaryVertexFinder::vKFTracks
std::vector< CbmKFTrack > vKFTracks
Definition: CbmStsKFSecondaryVertexFinder.h:24
CbmStsTrack
Definition: CbmStsTrack.h:37
CbmStsKFSecondaryVertexFinder::Clear
virtual void Clear(Option_t *opt="")
CbmKFVertex.h
CbmStsKFSecondaryVertexFinder::Finder
CbmKFSecondaryVertexFinder Finder
Definition: CbmStsKFSecondaryVertexFinder.h:26
CbmKFVertex
Definition: CbmKFVertex.h:6