Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::TwoTrack Class Reference

#include <TwoTrack.h>

Inheritance diagram for Hal::TwoTrack:
Hal::V0Candidate Hal::V0CandidateHelix

Public Types

enum  PairType {
  kSignal , kBackground , kMixed , kRotated ,
  kHemishpere , kOther
}
 

Public Member Functions

void FastBuild (Track *track1, Track *track2)
 
void SwapTracks ()
 
void AddFirstTrack (Track *track)
 
void AddSecondTrack (Track *track)
 
void SetPairType (PairType type)
 
PairType GetPairType () const
 
TrackGetTrack1 () const
 
TrackGetTrack2 () const
 
HiddenInfoGetHiddenInfo () const
 
void SetSame (Bool_t same)
 
void SetHiddenInfo (HiddenInfo *info)
 
Bool_t AreSame () const
 

Detailed Description

class for storing pair of tracks

Definition at line 21 of file TwoTrack.h.

Member Enumeration Documentation

◆ PairType

enum Hal::TwoTrack::PairType

Definition at line 23 of file TwoTrack.h.

Constructor & Destructor Documentation

◆ TwoTrack()

Hal::TwoTrack::TwoTrack ( )

Definition at line 12 of file TwoTrack.cxx.

◆ ~TwoTrack()

Hal::TwoTrack::~TwoTrack ( )
virtual

Definition at line 14 of file TwoTrack.cxx.

Member Function Documentation

◆ AddFirstTrack()

void Hal::TwoTrack::AddFirstTrack ( Track * track)
inline

add first track

Parameters
trackfirst track

Definition at line 55 of file TwoTrack.h.

◆ AddSecondTrack()

void Hal::TwoTrack::AddSecondTrack ( Track * track)
inline

add second track

Parameters
tracksecond track

Definition at line 60 of file TwoTrack.h.

◆ AreSame()

Bool_t Hal::TwoTrack::AreSame ( ) const
inline
Returns
true if both particles are the same type

Definition at line 100 of file TwoTrack.h.

◆ FastBuild()

void Hal::TwoTrack::FastBuild ( Track * track1,
Track * track2 )
inline

build pair from tracks

Parameters
track1first track
track2second track

Definition at line 39 of file TwoTrack.h.

◆ GetHiddenInfo()

HiddenInfo * Hal::TwoTrack::GetHiddenInfo ( ) const
inline
Returns
hidden info for pair (if available)

Definition at line 85 of file TwoTrack.h.

◆ GetPairType()

PairType Hal::TwoTrack::GetPairType ( ) const
inline
Returns
pair type

Definition at line 70 of file TwoTrack.h.

◆ GetTrack1()

Track * Hal::TwoTrack::GetTrack1 ( ) const
inline
Returns
pointer to first track (in "fake" format)

Definition at line 75 of file TwoTrack.h.

◆ GetTrack2()

Track * Hal::TwoTrack::GetTrack2 ( ) const
inline
Returns
pointer to second track (in "fake" format)

Definition at line 80 of file TwoTrack.h.

◆ SetHiddenInfo()

void Hal::TwoTrack::SetHiddenInfo ( HiddenInfo * info)
inline

set pair hidden info

Parameters
info

Definition at line 95 of file TwoTrack.h.

◆ SetPairType()

void Hal::TwoTrack::SetPairType ( PairType type)
inline

set pair type

Parameters
type

Definition at line 65 of file TwoTrack.h.

◆ SetSame()

void Hal::TwoTrack::SetSame ( Bool_t same)
inline

same if particles have the same type

Parameters
same

Definition at line 90 of file TwoTrack.h.

◆ SwapTracks()

void Hal::TwoTrack::SwapTracks ( )
inline

swap tracks in pair

Definition at line 46 of file TwoTrack.h.


The documentation for this class was generated from the following files: