ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Analysis::SMTrackInfo Class Reference

#include <SMTrackInfo.h>

Collaboration diagram for Analysis::SMTrackInfo:

Public Member Functions

 SMTrackInfo ()
 
 SMTrackInfo (const MuonContainer *coll, const Muon *mu, double d0val, double pTrel, const std::vector< double > &tagLikelihood)
 
 SMTrackInfo (const ElementLink< MuonContainer > &muonLink, double d0val, double pTrel, std::vector< double > &&tagLikelihood)
 
const Muonmuon () const
 
const ElementLink< MuonContainer > & muonLink () const
 
double d0Value () const
 
double pTrel () const
 
const std::vector< double > & tagLikelihood () const
 

Private Attributes

ElementLink< MuonContainerm_muon
 
double m_valD0wrtPV
 
double m_pTrel
 
std::vector< double > m_tagLikelihood
 vector to hold the taglikelihood (signal plus N background) More...
 

Detailed Description

Definition at line 17 of file SMTrackInfo.h.

Constructor & Destructor Documentation

◆ SMTrackInfo() [1/3]

Analysis::SMTrackInfo::SMTrackInfo ( )

Definition at line 11 of file SMTrackInfo.cxx.

13  m_valD0wrtPV(0),
14  m_pTrel(0)
15 {
16 }

◆ SMTrackInfo() [2/3]

Analysis::SMTrackInfo::SMTrackInfo ( const MuonContainer coll,
const Muon mu,
double  d0val,
double  pTrel,
const std::vector< double > &  tagLikelihood 
)

Definition at line 18 of file SMTrackInfo.cxx.

22  {
24  if( link.toContainedElement(*coll, const_cast<Muon*>(mu)) ) {
25  m_muon = link;
26  }
27  m_valD0wrtPV = d0val;
28  m_pTrel = pTrel;
30 }

◆ SMTrackInfo() [3/3]

Analysis::SMTrackInfo::SMTrackInfo ( const ElementLink< MuonContainer > &  muonLink,
double  d0val,
double  pTrel,
std::vector< double > &&  tagLikelihood 
)

Definition at line 32 of file SMTrackInfo.cxx.

36  : m_muon (muonLink),
37  m_valD0wrtPV (d0val),
38  m_pTrel (pTrel),
39  m_tagLikelihood (std::move (tagLikelihood))
40 {
41 }

Member Function Documentation

◆ d0Value()

double Analysis::SMTrackInfo::d0Value ( ) const
inline

Definition at line 31 of file SMTrackInfo.h.

31 { return m_valD0wrtPV; }

◆ muon()

const Muon * Analysis::SMTrackInfo::muon ( ) const

Definition at line 43 of file SMTrackInfo.cxx.

43  {
44  if( m_muon.isValid() ) {
45  return *(m_muon);
46  } else {
47  return 0;
48  }
49 }

◆ muonLink()

const ElementLink<MuonContainer>& Analysis::SMTrackInfo::muonLink ( ) const
inline

Definition at line 30 of file SMTrackInfo.h.

30 { return m_muon; }

◆ pTrel()

double Analysis::SMTrackInfo::pTrel ( ) const
inline

Definition at line 32 of file SMTrackInfo.h.

32 { return m_pTrel; }

◆ tagLikelihood()

const std::vector<double>& Analysis::SMTrackInfo::tagLikelihood ( ) const
inline

Definition at line 33 of file SMTrackInfo.h.

33 { return m_tagLikelihood; }

Member Data Documentation

◆ m_muon

ElementLink<MuonContainer> Analysis::SMTrackInfo::m_muon
private

Definition at line 35 of file SMTrackInfo.h.

◆ m_pTrel

double Analysis::SMTrackInfo::m_pTrel
private

Definition at line 37 of file SMTrackInfo.h.

◆ m_tagLikelihood

std::vector<double> Analysis::SMTrackInfo::m_tagLikelihood
private

vector to hold the taglikelihood (signal plus N background)

Definition at line 38 of file SMTrackInfo.h.

◆ m_valD0wrtPV

double Analysis::SMTrackInfo::m_valD0wrtPV
private

Definition at line 36 of file SMTrackInfo.h.


The documentation for this class was generated from the following files:
Analysis::SMTrackInfo::m_pTrel
double m_pTrel
Definition: SMTrackInfo.h:37
Analysis::SMTrackInfo::m_valD0wrtPV
double m_valD0wrtPV
Definition: SMTrackInfo.h:36
Analysis::SMTrackInfo::pTrel
double pTrel() const
Definition: SMTrackInfo.h:32
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Analysis::SMTrackInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition: SMTrackInfo.h:38
Analysis::SMTrackInfo::m_muon
ElementLink< MuonContainer > m_muon
Definition: SMTrackInfo.h:35
Analysis::SMTrackInfo::tagLikelihood
const std::vector< double > & tagLikelihood() const
Definition: SMTrackInfo.h:33
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
Analysis::SMTrackInfo::muonLink
const ElementLink< MuonContainer > & muonLink() const
Definition: SMTrackInfo.h:30