Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ComplexTrack.h
1
/*
2
* TrackCombined.h
3
*
4
* Created on: 04-05-2022
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#ifndef HALCOMPLEXTRACK_H_
10
#define HALCOMPLEXTRACK_H_
11
12
#include "Track.h"
13
18
namespace
Hal
{
19
class
ComplexTrack
:
public
Track
{
20
Int_t fMatchID;
21
Track
* fRealTrack;
22
Track
* fImgTrack;
23
24
public
:
25
ComplexTrack
();
26
ComplexTrack
(
const
ComplexTrack
& other);
27
ComplexTrack
& operator=(
const
ComplexTrack
& other);
28
void
SetMatchID(Int_t match) { fMatchID = match; };
29
void
SetRealTrack(
Track
* tr) { fRealTrack = tr; };
30
void
SetImgTrack(
Track
* tr) { fImgTrack = tr; };
31
Int_t GetMatchID()
const
{
return
fMatchID; };
32
virtual
void
Clear
(Option_t* opt =
""
);
33
virtual
Float_t
GetFieldVal
(Int_t fieldID)
const
;
34
virtual
void
CopyData
(
Track
* other);
35
virtual
void
CopyAllData
(
Track
* other);
36
virtual
void
ResetTrack
(Int_t thisId = -1,
Event
* event =
nullptr
);
37
virtual
TString
GetFieldName
(Int_t fieldID)
const
;
38
Track
* GetRealTrack()
const
{
return
fRealTrack; };
39
Track
* GetImgTrack()
const
{
return
fImgTrack; };
40
virtual
~ComplexTrack
();
41
ClassDef(
ComplexTrack
, 1)
42
};
43
}
// namespace Hal
44
#endif
/* HALCOMPLEXTRACK_H_ */
Hal::ComplexTrack
Definition
ComplexTrack.h:19
Hal::ComplexTrack::ResetTrack
virtual void ResetTrack(Int_t thisId=-1, Event *event=nullptr)
Definition
ComplexTrack.cxx:115
Hal::ComplexTrack::CopyData
virtual void CopyData(Track *other)
Definition
ComplexTrack.cxx:20
Hal::ComplexTrack::GetFieldName
virtual TString GetFieldName(Int_t fieldID) const
Definition
ComplexTrack.cxx:72
Hal::ComplexTrack::GetFieldVal
virtual Float_t GetFieldVal(Int_t fieldID) const
Definition
ComplexTrack.cxx:38
Hal::ComplexTrack::Clear
virtual void Clear(Option_t *opt="")
Definition
ComplexTrack.cxx:109
Hal::ComplexTrack::CopyAllData
virtual void CopyAllData(Track *other)
Definition
ComplexTrack.cxx:122
Hal::Event
Definition
Event.h:50
Hal::Track
Definition
Track.h:29
Hal
Definition
EventAnaChain.cxx:28
data
dataformat
compound
ComplexTrack.h
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0