ATLAS Offline Software
Loading...
Searching...
No Matches
TrkDriftCircleMath::Segment Class Reference

#include <Segment.h>

Collaboration diagram for TrkDriftCircleMath::Segment:

Public Member Functions

 Segment (const Line &l, const DCOnTrackVec &dcs, double chi2, unsigned int ndof, double dtheta, double dy0)
 Segment (const Line &l, const DCOnTrackVec &dcs)
 ~Segment ()=default
const Lineline () const
const DCOnTrackVecdcs () const
const CLVecclusters () const
const DCVecemptyTubes () const
Lineline ()
 non-const access to reduce memory usage when re-using segments
DCOnTrackVecdcs ()
CLVecclusters ()
DCVecemptyTubes ()
void set (double chi2, unsigned int ndof, double dtheta, double dy0)
 set methods to replace calling constructors
void setAndReset (double chi2, unsigned int ndof, double dtheta, double dy0)
double chi2 () const
unsigned int ndof () const
double dtheta () const
double dy0 () const
void dcs (const DCOnTrackVec &dcs)
void clusters (const CLVec &cls)
void emptyTubes (const DCVec &emptyTubes)
void deltas (unsigned int dts)
void hitsOutOfTime (unsigned int hitsOutOfTime)
void hitsOnTrack (unsigned int hitsOnTrack)
void closeHits (unsigned int closeHits)
void showerHits (unsigned int showerHits)
void crossedTubes (unsigned int crossedTubesMl1, unsigned int crossedTubesMl2)
void hitsPerMl (unsigned int hml1, unsigned int hml2)
void ambigue (unsigned int amb)
void clusterLayers (unsigned int ncl)
void setT0Shift (double t0Shift, double error)
bool hasT0Shift () const
void setCurvatureParameters (double deltaAlpha, double deltab)
bool hasCurvatureParameters () const
double t0Shift () const
double t0Error () const
double deltaAlpha () const
double deltab () const
unsigned int deltas () const
unsigned int hitsOutOfTime () const
unsigned int hitsOnTrack () const
unsigned int closeHits () const
unsigned int showerHits () const
unsigned int crossedTubes () const
unsigned int crossedTubesMl1 () const
unsigned int crossedTubesMl2 () const
unsigned int hitsMl1 () const
unsigned int hitsMl2 () const
unsigned int ambigue () const
unsigned int clusterLayers () const

Private Attributes

Line m_line
DCOnTrackVec m_dcs
CLVec m_clusters
DCVec m_emptyTubes
double m_chi2 {1.e9}
unsigned int m_ndof {0}
double m_dtheta {1.e9}
double m_dy0 {1.e9}
double m_t0Shift {-99999.}
double m_t0Error {-99999.}
double m_deltaAlpha {-99999.}
double m_deltab {-99999.}
unsigned int m_deltas {0}
unsigned int m_hitsOutOfTime {0}
unsigned int m_hitsOnTrack {0}
unsigned int m_closeHits {0}
unsigned int m_showerHits {0}
unsigned int m_crossedTubesMl1 {0}
unsigned int m_crossedTubesMl2 {0}
unsigned int m_hitsMl1 {0}
unsigned int m_hitsMl2 {0}
unsigned int m_ambigue {0}
unsigned int m_clusterLayers {0}

Detailed Description

Constructor & Destructor Documentation

◆ Segment() [1/2]

TrkDriftCircleMath::Segment::Segment ( const Line & l,
const DCOnTrackVec & dcs,
double chi2,
unsigned int ndof,
double dtheta,
double dy0 )
inline

Definition at line 20 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h.

20 :

◆ Segment() [2/2]

TrkDriftCircleMath::Segment::Segment ( const Line & l,
const DCOnTrackVec & dcs )
inline

◆ ~Segment()

TrkDriftCircleMath::Segment::~Segment ( )
default

Member Function Documentation

◆ ambigue() [1/2]

unsigned int TrkDriftCircleMath::Segment::ambigue ( ) const
inline

◆ ambigue() [2/2]

void TrkDriftCircleMath::Segment::ambigue ( unsigned int amb)
inline

◆ chi2()

double TrkDriftCircleMath::Segment::chi2 ( ) const
inline

◆ closeHits() [1/2]

unsigned int TrkDriftCircleMath::Segment::closeHits ( ) const
inline

◆ closeHits() [2/2]

void TrkDriftCircleMath::Segment::closeHits ( unsigned int closeHits)
inline

◆ clusterLayers() [1/2]

unsigned int TrkDriftCircleMath::Segment::clusterLayers ( ) const
inline

◆ clusterLayers() [2/2]

void TrkDriftCircleMath::Segment::clusterLayers ( unsigned int ncl)
inline

◆ clusters() [1/3]

◆ clusters() [2/3]

const CLVec & TrkDriftCircleMath::Segment::clusters ( ) const
inline

◆ clusters() [3/3]

void TrkDriftCircleMath::Segment::clusters ( const CLVec & cls)
inline

◆ crossedTubes() [1/2]

◆ crossedTubes() [2/2]

◆ crossedTubesMl1()

unsigned int TrkDriftCircleMath::Segment::crossedTubesMl1 ( ) const
inline

◆ crossedTubesMl2()

unsigned int TrkDriftCircleMath::Segment::crossedTubesMl2 ( ) const
inline

◆ dcs() [1/3]

DCOnTrackVec & TrkDriftCircleMath::Segment::dcs ( )
inline

◆ dcs() [2/3]

const DCOnTrackVec & TrkDriftCircleMath::Segment::dcs ( ) const
inline

◆ dcs() [3/3]

void TrkDriftCircleMath::Segment::dcs ( const DCOnTrackVec & dcs)
inline

◆ deltaAlpha()

double TrkDriftCircleMath::Segment::deltaAlpha ( ) const
inline

◆ deltab()

◆ deltas() [1/2]

unsigned int TrkDriftCircleMath::Segment::deltas ( ) const
inline

◆ deltas() [2/2]

void TrkDriftCircleMath::Segment::deltas ( unsigned int dts)
inline

◆ dtheta()

double TrkDriftCircleMath::Segment::dtheta ( ) const
inline

◆ dy0()

double TrkDriftCircleMath::Segment::dy0 ( ) const
inline

◆ emptyTubes() [1/3]

◆ emptyTubes() [2/3]

const DCVec & TrkDriftCircleMath::Segment::emptyTubes ( ) const
inline

◆ emptyTubes() [3/3]

void TrkDriftCircleMath::Segment::emptyTubes ( const DCVec & emptyTubes)
inline

◆ hasCurvatureParameters()

bool TrkDriftCircleMath::Segment::hasCurvatureParameters ( ) const
inline

◆ hasT0Shift()

bool TrkDriftCircleMath::Segment::hasT0Shift ( ) const
inline

◆ hitsMl1()

unsigned int TrkDriftCircleMath::Segment::hitsMl1 ( ) const
inline

◆ hitsMl2()

unsigned int TrkDriftCircleMath::Segment::hitsMl2 ( ) const
inline

◆ hitsOnTrack() [1/2]

unsigned int TrkDriftCircleMath::Segment::hitsOnTrack ( ) const
inline

◆ hitsOnTrack() [2/2]

void TrkDriftCircleMath::Segment::hitsOnTrack ( unsigned int hitsOnTrack)
inline

◆ hitsOutOfTime() [1/2]

unsigned int TrkDriftCircleMath::Segment::hitsOutOfTime ( ) const
inline

◆ hitsOutOfTime() [2/2]

void TrkDriftCircleMath::Segment::hitsOutOfTime ( unsigned int hitsOutOfTime)
inline

◆ hitsPerMl()

void TrkDriftCircleMath::Segment::hitsPerMl ( unsigned int hml1,
unsigned int hml2 )
inline

Definition at line 59 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h.

59 {
60 m_hitsMl1 = hml1;
61 m_hitsMl2 = hml2;
62 }

◆ line() [1/2]

Line & TrkDriftCircleMath::Segment::line ( )
inline

non-const access to reduce memory usage when re-using segments

Definition at line 33 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h.

33{ return m_line; }

◆ line() [2/2]

const Line & TrkDriftCircleMath::Segment::line ( ) const
inline

◆ ndof()

unsigned int TrkDriftCircleMath::Segment::ndof ( ) const
inline

◆ set()

void TrkDriftCircleMath::Segment::set ( double chi2,
unsigned int ndof,
double dtheta,
double dy0 )

set methods to replace calling constructors

Definition at line 41 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/src/Segment.cxx.

41 {
42 m_chi2 = chi2;
43 m_ndof = ndof;
45 m_dy0 = dy0;
46 m_t0Shift = -99999.;
47 m_deltaAlpha = -99999.;
48 m_deltab = -99999.;
49 m_deltas = 0;
51 m_hitsOnTrack = 0;
52 m_closeHits = 0;
53 m_showerHits = 0;
56 m_hitsMl1 = 0;
57 m_hitsMl2 = 0;
58 m_ambigue = 0;
60 }

◆ setAndReset()

void TrkDriftCircleMath::Segment::setAndReset ( double chi2,
unsigned int ndof,
double dtheta,
double dy0 )

Definition at line 62 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/src/Segment.cxx.

62 {
63 m_chi2 = chi2;
64 m_ndof = ndof;
66 m_dy0 = dy0;
67 m_t0Shift = -99999.;
68 m_deltaAlpha = -99999.;
69 m_deltab = -99999.;
70 m_deltas = 0;
72 m_hitsOnTrack = 0;
73 m_closeHits = 0;
74 m_showerHits = 0;
77 m_hitsMl1 = 0;
78 m_hitsMl2 = 0;
79 m_ambigue = 0;
81 m_dcs.clear();
82 m_clusters.clear();
83 m_emptyTubes.clear();
84 }

◆ setCurvatureParameters()

void TrkDriftCircleMath::Segment::setCurvatureParameters ( double deltaAlpha,
double deltab )
inline

◆ setT0Shift()

◆ showerHits() [1/2]

unsigned int TrkDriftCircleMath::Segment::showerHits ( ) const
inline

◆ showerHits() [2/2]

void TrkDriftCircleMath::Segment::showerHits ( unsigned int showerHits)
inline

◆ t0Error()

double TrkDriftCircleMath::Segment::t0Error ( ) const
inline

◆ t0Shift()

double TrkDriftCircleMath::Segment::t0Shift ( ) const
inline

Member Data Documentation

◆ m_ambigue

unsigned int TrkDriftCircleMath::Segment::m_ambigue {0}
private

◆ m_chi2

double TrkDriftCircleMath::Segment::m_chi2 {1.e9}
private

◆ m_closeHits

unsigned int TrkDriftCircleMath::Segment::m_closeHits {0}
private

◆ m_clusterLayers

unsigned int TrkDriftCircleMath::Segment::m_clusterLayers {0}
private

◆ m_clusters

CLVec TrkDriftCircleMath::Segment::m_clusters
private

◆ m_crossedTubesMl1

unsigned int TrkDriftCircleMath::Segment::m_crossedTubesMl1 {0}
private

◆ m_crossedTubesMl2

unsigned int TrkDriftCircleMath::Segment::m_crossedTubesMl2 {0}
private

◆ m_dcs

DCOnTrackVec TrkDriftCircleMath::Segment::m_dcs
private

◆ m_deltaAlpha

double TrkDriftCircleMath::Segment::m_deltaAlpha {-99999.}
private

◆ m_deltab

double TrkDriftCircleMath::Segment::m_deltab {-99999.}
private

◆ m_deltas

unsigned int TrkDriftCircleMath::Segment::m_deltas {0}
private

◆ m_dtheta

double TrkDriftCircleMath::Segment::m_dtheta {1.e9}
private

Definition at line 103 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h.

103{1.e9}; // needed in find5. Error in tube coordinate (pos? dir?)

◆ m_dy0

double TrkDriftCircleMath::Segment::m_dy0 {1.e9}
private

Definition at line 104 of file Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h.

104{1.e9}; // needed in find5. Error in strip coordinate (pos? dir?)

◆ m_emptyTubes

DCVec TrkDriftCircleMath::Segment::m_emptyTubes
private

◆ m_hitsMl1

unsigned int TrkDriftCircleMath::Segment::m_hitsMl1 {0}
private

◆ m_hitsMl2

unsigned int TrkDriftCircleMath::Segment::m_hitsMl2 {0}
private

◆ m_hitsOnTrack

unsigned int TrkDriftCircleMath::Segment::m_hitsOnTrack {0}
private

◆ m_hitsOutOfTime

unsigned int TrkDriftCircleMath::Segment::m_hitsOutOfTime {0}
private

◆ m_line

Line TrkDriftCircleMath::Segment::m_line
private

◆ m_ndof

unsigned int TrkDriftCircleMath::Segment::m_ndof {0}
private

◆ m_showerHits

unsigned int TrkDriftCircleMath::Segment::m_showerHits {0}
private

◆ m_t0Error

double TrkDriftCircleMath::Segment::m_t0Error {-99999.}
private

◆ m_t0Shift

double TrkDriftCircleMath::Segment::m_t0Shift {-99999.}
private

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