CbmRoot
|
#include <CbmL1MCTrack.h>
Public Member Functions | |
CbmL1MCTrack ()=default | |
CbmL1MCTrack (int _ID) | |
CbmL1MCTrack (double mass, double q, TVector3 vr, TLorentzVector vp, int ID, int mother_ID, int pdg, unsigned int procID) | |
bool | IsPrimary () const |
bool | IsReconstructable () const |
bool | IsAdditional () const |
int | NStations () const |
int | NHitContStations () const |
int | NMCStations () const |
int | NMCContStations () const |
void | Init () |
void | AddRecoTrack (CbmL1Track *rTr) |
void | AddRecoTrackIndex (int iT) |
cacore::Vector< CbmL1Track * > & | GetRecoTracks () |
int | GetNClones () const |
bool | IsReconstructed () const |
void | AddTouchTrack (CbmL1Track *tTr) |
void | AddTouchTrackIndex (int iT) |
bool | IsDisturbed () const |
void | SetIsReconstructable (bool v) |
const auto & | GetRecoTrackIndexes () const |
const auto & | GetTouchTrackIndexes () const |
double | pt () |
std::string | ToString (int verbose=10, bool header=false) const |
String representation of the contents. | |
Public Attributes | |
double | mass = 0. |
double | q = 0. |
double | p = 0. |
double | x = 0. |
double | y = 0. |
double | z = 0. |
double | px = 0. |
double | py = 0. |
double | pz = 0. |
double | time = 0. |
int | ID = -1 |
int | iFile = -1 |
int | iEvent = -1 |
int | mother_ID = -1 |
int | chainID = -1 |
int | pdg = -1 |
unsigned int | process_ID = (unsigned int) -1 |
bool | isSignal {0} |
cacore::Vector< int > | Points {"CbmL1MCTrack::Points"} |
cacore::Vector< int > | Hits {"CbmL1MCTrack::Hits"} |
Private Member Functions | |
void | CalculateMCCont () |
void | CountHitStations () |
void | CalculateMaxNStaMC () |
void | CalculateIsReconstructable () |
Private Attributes | |
int | nMCContStations = 0 |
int | nHitContStations = 0 |
int | maxNStaMC = 0 |
int | maxNSensorMC = 0 |
int | maxNStaHits = 0 |
int | nStations = 0 |
int | nMCStations = 0 |
bool | isReconstructable = false |
bool | isAdditional = false |
cacore::Vector< CbmL1Track * > | rTracks {"CbmL1MCTrack::rTracks"} |
cacore::Vector< CbmL1Track * > | tTracks {"CbmL1MCTrack::tTracks"} |
cacore::Vector< int > | rTrackIndexes = {"CbmL1MCTrack::rTrackIndexes"} |
cacore::Vector< int > | tTrackIndexes = {"CbmL1MCTrack::tTrackIndexes"} |
Friends | |
class | CbmL1 |
Definition at line 39 of file CbmL1MCTrack.h.
|
default |
|
inline |
Definition at line 43 of file CbmL1MCTrack.h.
CbmL1MCTrack::CbmL1MCTrack | ( | double | mass, |
double | q, | ||
TVector3 | vr, | ||
TLorentzVector | vp, | ||
int | ID, | ||
int | mother_ID, | ||
int | pdg, | ||
unsigned int | procID ) |
Definition at line 36 of file CbmL1MCTrack.cxx.
|
inline |
Definition at line 59 of file CbmL1MCTrack.h.
References cbm::algo::ca::Vector< T >::push_back_no_warning(), and rTracks.
|
inline |
Definition at line 60 of file CbmL1MCTrack.h.
References cbm::algo::ca::Vector< T >::push_back_no_warning(), and rTrackIndexes.
|
inline |
Definition at line 65 of file CbmL1MCTrack.h.
References cbm::algo::ca::Vector< T >::push_back_no_warning(), and tTracks.
|
inline |
Definition at line 66 of file CbmL1MCTrack.h.
References cbm::algo::ca::Vector< T >::push_back_no_warning(), and tTrackIndexes.
|
private |
Definition at line 180 of file CbmL1MCTrack.cxx.
References CbmL1::fPerformance, CbmL1::GetMCData(), CbmL1::Instance(), isAdditional, isReconstructable, maxNStaMC, CbmL1Constants::MinNStations, CbmL1Constants::MinRecoMom, nHitContStations, nMCContStations, nMCStations, nStations, p, and Points.
Referenced by Init().
|
private |
Definition at line 145 of file CbmL1MCTrack.cxx.
References CbmL1::GetMCData(), cbm::ca::tools::MCData::GetPoint(), CbmL1::Instance(), maxNSensorMC, maxNStaMC, nMCStations, and Points.
Referenced by Init().
|
private |
Definition at line 88 of file CbmL1MCTrack.cxx.
References CbmL1::GetMCData(), cbm::ca::tools::MCData::GetPoint(), CbmL1::Instance(), nMCContStations, and Points.
Referenced by Init().
|
private |
Definition at line 111 of file CbmL1MCTrack.cxx.
References CbmL1::fpAlgo, CbmL1::fvHitDebugInfo, cbm::algo::ca::Framework::GetParameters(), Hits, CbmL1::Instance(), CbmL1HitDebugInfo::iStation, maxNStaHits, nHitContStations, and nStations.
Referenced by Init().
|
inline |
Definition at line 62 of file CbmL1MCTrack.h.
References rTracks.
|
inline |
Definition at line 70 of file CbmL1MCTrack.h.
References rTrackIndexes.
|
inline |
Definition at line 61 of file CbmL1MCTrack.h.
References rTracks.
|
inline |
Definition at line 71 of file CbmL1MCTrack.h.
References tTrackIndexes.
void CbmL1MCTrack::Init | ( | ) |
Definition at line 70 of file CbmL1MCTrack.cxx.
References CalculateIsReconstructable(), CalculateMaxNStaMC(), CalculateMCCont(), CountHitStations(), CbmL1::GetMCData(), Hits, CbmL1::Instance(), Points, and cbm::algo::ca::Vector< T >::push_back_no_warning().
|
inline |
Definition at line 51 of file CbmL1MCTrack.h.
References isAdditional.
|
inline |
Definition at line 67 of file CbmL1MCTrack.h.
References tTracks.
|
inline |
Definition at line 49 of file CbmL1MCTrack.h.
References mother_ID.
|
inline |
Definition at line 50 of file CbmL1MCTrack.h.
References isReconstructable.
Referenced by ToString().
|
inline |
|
inline |
Definition at line 53 of file CbmL1MCTrack.h.
References nHitContStations.
|
inline |
Definition at line 55 of file CbmL1MCTrack.h.
References nMCContStations.
|
inline |
Definition at line 54 of file CbmL1MCTrack.h.
References nMCStations.
|
inline |
Definition at line 52 of file CbmL1MCTrack.h.
References nStations.
|
inline |
Definition at line 75 of file CbmL1MCTrack.h.
|
inline |
Definition at line 69 of file CbmL1MCTrack.h.
References isReconstructable, and v.
std::string CbmL1MCTrack::ToString | ( | int | verbose = 10, |
bool | header = false ) const |
String representation of the contents.
Definition at line 209 of file CbmL1MCTrack.cxx.
References Hits, ID, IsReconstructable(), IsReconstructed(), mother_ID, p, pdg, Points, rTracks, time, tTracks, and z.
|
friend |
Definition at line 73 of file CbmL1MCTrack.h.
int CbmL1MCTrack::chainID = -1 |
Definition at line 101 of file CbmL1MCTrack.h.
cacore::Vector<int> CbmL1MCTrack::Hits {"CbmL1MCTrack::Hits"} |
Definition at line 106 of file CbmL1MCTrack.h.
Referenced by CountHitStations(), Init(), and ToString().
int CbmL1MCTrack::ID = -1 |
Definition at line 97 of file CbmL1MCTrack.h.
Referenced by ToString().
int CbmL1MCTrack::iEvent = -1 |
Definition at line 99 of file CbmL1MCTrack.h.
int CbmL1MCTrack::iFile = -1 |
Definition at line 98 of file CbmL1MCTrack.h.
|
private |
Definition at line 119 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), and IsAdditional().
|
private |
Definition at line 118 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), IsReconstructable(), and SetIsReconstructable().
bool CbmL1MCTrack::isSignal {0} |
Definition at line 104 of file CbmL1MCTrack.h.
double CbmL1MCTrack::mass = 0. |
Definition at line 87 of file CbmL1MCTrack.h.
|
private |
Definition at line 112 of file CbmL1MCTrack.h.
Referenced by CalculateMaxNStaMC().
|
private |
Definition at line 113 of file CbmL1MCTrack.h.
Referenced by CountHitStations().
|
private |
Definition at line 111 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), and CalculateMaxNStaMC().
int CbmL1MCTrack::mother_ID = -1 |
Definition at line 100 of file CbmL1MCTrack.h.
Referenced by IsPrimary(), and ToString().
|
private |
Definition at line 110 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), CountHitStations(), and NHitContStations().
|
private |
Definition at line 109 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), CalculateMCCont(), and NMCContStations().
|
private |
Definition at line 116 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), CalculateMaxNStaMC(), and NMCStations().
|
private |
Definition at line 115 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), CountHitStations(), and NStations().
double CbmL1MCTrack::p = 0. |
Definition at line 89 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), and ToString().
int CbmL1MCTrack::pdg = -1 |
Definition at line 102 of file CbmL1MCTrack.h.
Referenced by ToString().
cacore::Vector<int> CbmL1MCTrack::Points {"CbmL1MCTrack::Points"} |
Definition at line 105 of file CbmL1MCTrack.h.
Referenced by CalculateIsReconstructable(), CalculateMaxNStaMC(), CalculateMCCont(), Init(), and ToString().
unsigned int CbmL1MCTrack::process_ID = (unsigned int) -1 |
Definition at line 103 of file CbmL1MCTrack.h.
double CbmL1MCTrack::px = 0. |
Definition at line 93 of file CbmL1MCTrack.h.
Referenced by pt().
double CbmL1MCTrack::py = 0. |
Definition at line 94 of file CbmL1MCTrack.h.
Referenced by pt().
double CbmL1MCTrack::pz = 0. |
Definition at line 95 of file CbmL1MCTrack.h.
double CbmL1MCTrack::q = 0. |
Definition at line 88 of file CbmL1MCTrack.h.
|
private |
Definition at line 128 of file CbmL1MCTrack.h.
Referenced by AddRecoTrackIndex(), and GetRecoTrackIndexes().
|
private |
Definition at line 122 of file CbmL1MCTrack.h.
Referenced by AddRecoTrack(), GetNClones(), GetRecoTracks(), IsReconstructed(), and ToString().
double CbmL1MCTrack::time = 0. |
Definition at line 96 of file CbmL1MCTrack.h.
Referenced by ToString().
|
private |
Definition at line 129 of file CbmL1MCTrack.h.
Referenced by AddTouchTrackIndex(), and GetTouchTrackIndexes().
|
private |
Definition at line 123 of file CbmL1MCTrack.h.
Referenced by AddTouchTrack(), IsDisturbed(), and ToString().
double CbmL1MCTrack::x = 0. |
Definition at line 90 of file CbmL1MCTrack.h.
double CbmL1MCTrack::y = 0. |
Definition at line 91 of file CbmL1MCTrack.h.
double CbmL1MCTrack::z = 0. |
Definition at line 92 of file CbmL1MCTrack.h.
Referenced by ToString().