ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrackletSegment Class Reference

New segment class for single ML segments. More...

#include <TrackletSegment.h>

Collaboration diagram for TrackletSegment:

Public Member Functions

 TrackletSegment ()
 
 TrackletSegment (int ch, int cheta, int chphi, float chmid, float alpha, float dalpha, const Amg::Vector3D &gpos, float rErr, float zErr, const std::vector< const Muon::MdtPrepData * > &mdts, int pattern)
 
 ~TrackletSegment ()
 
void clearMdt ()
 
void isCombined (bool iscomb)
 
int mdtChamber () const
 
int mdtChEta () const
 
int mdtChPhi () const
 
float alpha () const
 
float alphaError () const
 
float zError () const
 
float rError () const
 
float getChMidPoint () const
 
bool isCombined () const
 
const Amg::Vector3DglobalPosition () const
 
const std::vector< const Muon::MdtPrepData * > & mdtHitsOnTrack () const
 
int getHitPattern () const
 

Private Attributes

int m_chamber
 
int m_cham_eta
 
int m_cham_phi
 
float m_alpha
 
float m_dalpha
 
float m_rErr
 
float m_zErr
 
Amg::Vector3D m_globalPosition
 
float m_chmid
 
std::vector< const Muon::MdtPrepData * > m_mdts
 
int m_pattern
 
bool m_isCombined
 

Detailed Description

New segment class for single ML segments.

Definition at line 17 of file TrackletSegment.h.

Constructor & Destructor Documentation

◆ TrackletSegment() [1/2]

TrackletSegment::TrackletSegment ( )

Definition at line 9 of file TrackletSegment.cxx.

9  {
10  m_chamber = 999;
11  m_cham_eta = 999;
12  m_cham_phi = 999;
13  m_alpha = -999;
14  m_dalpha = -999;
15  m_rErr = -999;
16  m_zErr = -999;
17  m_chmid = 0;
18  m_mdts.clear();
19  m_pattern = 0;
20  m_isCombined = false;
21 }

◆ TrackletSegment() [2/2]

TrackletSegment::TrackletSegment ( int  ch,
int  cheta,
int  chphi,
float  chmid,
float  alpha,
float  dalpha,
const Amg::Vector3D gpos,
float  rErr,
float  zErr,
const std::vector< const Muon::MdtPrepData * > &  mdts,
int  pattern 
)

Definition at line 23 of file TrackletSegment.cxx.

25  : m_chamber (ch),
26  m_cham_eta (cheta),
27  m_cham_phi (chphi),
28  m_alpha (alpha),
29  m_dalpha (dalpha),
30  m_rErr (rErr),
31  m_zErr (zErr),
32  m_globalPosition (gpos),
33  m_chmid (chmid),
34  m_mdts (mdts),
36  m_isCombined (false)
37 {
38 }

◆ ~TrackletSegment()

TrackletSegment::~TrackletSegment ( )
default

Member Function Documentation

◆ alpha()

float TrackletSegment::alpha ( ) const

Definition at line 54 of file TrackletSegment.cxx.

54 { return m_alpha; }

◆ alphaError()

float TrackletSegment::alphaError ( ) const

Definition at line 55 of file TrackletSegment.cxx.

55 { return m_dalpha; }

◆ clearMdt()

void TrackletSegment::clearMdt ( )

Definition at line 43 of file TrackletSegment.cxx.

43  {
44  m_mdts.clear();
45 }

◆ getChMidPoint()

float TrackletSegment::getChMidPoint ( ) const

Definition at line 58 of file TrackletSegment.cxx.

58 { return m_chmid; }

◆ getHitPattern()

int TrackletSegment::getHitPattern ( ) const

Definition at line 62 of file TrackletSegment.cxx.

62 { return m_pattern; }

◆ globalPosition()

const Amg::Vector3D & TrackletSegment::globalPosition ( ) const

Definition at line 60 of file TrackletSegment.cxx.

60 { return m_globalPosition; }

◆ isCombined() [1/2]

bool TrackletSegment::isCombined ( ) const

Definition at line 59 of file TrackletSegment.cxx.

59 { return m_isCombined; }

◆ isCombined() [2/2]

void TrackletSegment::isCombined ( bool  iscomb)

Definition at line 46 of file TrackletSegment.cxx.

46  {
47  m_isCombined = iscomb;
48 }

◆ mdtChamber()

int TrackletSegment::mdtChamber ( ) const

Definition at line 51 of file TrackletSegment.cxx.

51 { return m_chamber; }

◆ mdtChEta()

int TrackletSegment::mdtChEta ( ) const

Definition at line 52 of file TrackletSegment.cxx.

52 { return m_cham_eta; }

◆ mdtChPhi()

int TrackletSegment::mdtChPhi ( ) const

Definition at line 53 of file TrackletSegment.cxx.

53 { return m_cham_phi; }

◆ mdtHitsOnTrack()

const std::vector< const Muon::MdtPrepData * > & TrackletSegment::mdtHitsOnTrack ( ) const

Definition at line 61 of file TrackletSegment.cxx.

61 { return m_mdts; }

◆ rError()

float TrackletSegment::rError ( ) const

Definition at line 57 of file TrackletSegment.cxx.

57 { return m_rErr; }

◆ zError()

float TrackletSegment::zError ( ) const

Definition at line 56 of file TrackletSegment.cxx.

56 { return m_zErr; }

Member Data Documentation

◆ m_alpha

float TrackletSegment::m_alpha
private

Definition at line 21 of file TrackletSegment.h.

◆ m_cham_eta

int TrackletSegment::m_cham_eta
private

Definition at line 19 of file TrackletSegment.h.

◆ m_cham_phi

int TrackletSegment::m_cham_phi
private

Definition at line 20 of file TrackletSegment.h.

◆ m_chamber

int TrackletSegment::m_chamber
private

Definition at line 18 of file TrackletSegment.h.

◆ m_chmid

float TrackletSegment::m_chmid
private

Definition at line 24 of file TrackletSegment.h.

◆ m_dalpha

float TrackletSegment::m_dalpha
private

Definition at line 21 of file TrackletSegment.h.

◆ m_globalPosition

Amg::Vector3D TrackletSegment::m_globalPosition
private

Definition at line 23 of file TrackletSegment.h.

◆ m_isCombined

bool TrackletSegment::m_isCombined
private

Definition at line 27 of file TrackletSegment.h.

◆ m_mdts

std::vector<const Muon::MdtPrepData*> TrackletSegment::m_mdts
private

Definition at line 25 of file TrackletSegment.h.

◆ m_pattern

int TrackletSegment::m_pattern
private

Definition at line 26 of file TrackletSegment.h.

◆ m_rErr

float TrackletSegment::m_rErr
private

Definition at line 22 of file TrackletSegment.h.

◆ m_zErr

float TrackletSegment::m_zErr
private

Definition at line 22 of file TrackletSegment.h.


The documentation for this class was generated from the following files:
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
TrackletSegment::m_zErr
float m_zErr
Definition: TrackletSegment.h:22
TrackletSegment::m_cham_phi
int m_cham_phi
Definition: TrackletSegment.h:20
TrackletSegment::m_dalpha
float m_dalpha
Definition: TrackletSegment.h:21
TrackletSegment::m_pattern
int m_pattern
Definition: TrackletSegment.h:26
TrackletSegment::m_cham_eta
int m_cham_eta
Definition: TrackletSegment.h:19
TrackletSegment::m_mdts
std::vector< const Muon::MdtPrepData * > m_mdts
Definition: TrackletSegment.h:25
TrackletSegment::m_isCombined
bool m_isCombined
Definition: TrackletSegment.h:27
TrackletSegment::m_globalPosition
Amg::Vector3D m_globalPosition
Definition: TrackletSegment.h:23
TrackletSegment::m_rErr
float m_rErr
Definition: TrackletSegment.h:22
TrackletSegment::m_chamber
int m_chamber
Definition: TrackletSegment.h:18
TrackletSegment::m_alpha
float m_alpha
Definition: TrackletSegment.h:21
TrackletSegment::alpha
float alpha() const
Definition: TrackletSegment.cxx:54
TrackletSegment::m_chmid
float m_chmid
Definition: TrackletSegment.h:24