FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairTutPropTrack.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
9
#ifndef FAIRTUTPROPTRACK_H_
10
#define FAIRTUTPROPTRACK_H_
11
12
#include "TObject.h"
13
#include "
FairTrackParP.h
"
14
#include "TObject.h"
15
#include "TRef.h"
16
17
class
FairTutPropTrack
:
public
TObject
18
{
19
public
:
20
FairTutPropTrack
();
21
FairTutPropTrack
(
int
pdgcode,
22
const
FairTrackParP
&first,
23
const
std::vector<std::pair<int, int>> &hitsvector,
24
int
trueMCTrackIndex);
25
26
void
Print
();
27
28
FairTrackParP
GetParamFirst
() {
return
fTrackParamFirst; }
29
int
GetNofHits
() {
return
fHitsIndices.size(); }
30
std::pair<int, int>
GetHitIndex
(
int
i) {
return
fHitsIndices[i]; }
31
int
GetMCTrackIndex
() {
return
fMCTrackIndex; }
32
33
private
:
34
int
fPdgCode;
35
FairTrackParP
fTrackParamFirst;
36
std::vector<std::pair<int, int>> fHitsIndices;
37
38
int
fMCTrackIndex;
39
40
public
:
41
ClassDef(
FairTutPropTrack
, 1)
42
};
43
44
#endif
/* FAIRTUTPROPTRACK_H_ */
FairTrackParP
Definition:
FairTrackParP.h:30
FairTutPropTrack
Definition:
FairTutPropTrack.h:17
FairTutPropTrack::GetParamFirst
FairTrackParP GetParamFirst()
Definition:
FairTutPropTrack.h:28
FairTutPropTrack::GetNofHits
int GetNofHits()
Definition:
FairTutPropTrack.h:29
FairTutPropTrack::GetMCTrackIndex
int GetMCTrackIndex()
Definition:
FairTutPropTrack.h:31
FairTutPropTrack::Print
void Print()
Definition:
FairTutPropTrack.cxx:35
FairTutPropTrack::GetHitIndex
std::pair< int, int > GetHitIndex(int i)
Definition:
FairTutPropTrack.h:30
FairTutPropTrack::FairTutPropTrack
FairTutPropTrack()
Definition:
FairTutPropTrack.cxx:16
FairTrackParP.h
FairRoot
examples
advanced
propagator
src
FairTutPropTrack.h
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5