ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MuonCalib::MuonCalibRawHitCollection Class Reference

#include <MuonCalibRawHitCollection.h>

Collaboration diagram for MuonCalib::MuonCalibRawHitCollection:

Public Types

using MdtCalibRawHitPtr = std::shared_ptr< MuonCalibRawMdtHit >
 typedef of a set of MuonCalibRawMdtHit s More...
 
using MuonCalibRawMdtHitVec = std::vector< MdtCalibRawHitPtr >
 typedef of the smart pointer owning the CaliorationRawRpcHit More...
 
using RpcCalibRawHitPtr = std::shared_ptr< const MuonCalibRawRpcHit >
 typedef of a set of MuonCalibRawRpcHit s More...
 
using MuonCalibRawRpcHitVec = std::vector< RpcCalibRawHitPtr >
 
using TgcCalibRawHitPtr = std::shared_ptr< const MuonCalibRawTgcHit >
 typedef of a set of MuonCalibRawTgcHit s More...
 
using MuonCalibRawTgcHitVec = std::vector< TgcCalibRawHitPtr >
 
using TgcCoinRawPtr = std::shared_ptr< const MuonCalibRawTgcCoin >
 typedef of a set of MuonCalibRawTgcHit s More...
 
using MuonCalibRawTgcCoinVec = std::vector< TgcCoinRawPtr >
 
using CscCalibRawHitPtr = std::shared_ptr< const MuonCalibRawCscHit >
 typedef of a set of MuonCalibRawCscHit s More...
 
using MuonCalibRawCscHitVec = std::vector< CscCalibRawHitPtr >
 

Public Member Functions

 MuonCalibRawHitCollection ()=default
 
 ~MuonCalibRawHitCollection ()=default
 destructor More...
 
 MuonCalibRawHitCollection (const MuonCalibRawHitCollection &MuonCalibRawHitCollection)
 copy constructor More...
 
MuonCalibRawHitCollectionoperator= (const MuonCalibRawHitCollection &rhs)
 assignment operator More...
 
 MuonCalibRawHitCollection (MuonCalibRawMdtHitVec rawMdtHitVec, MuonCalibRawRpcHitVec rawRpcHitVec, MuonCalibRawTgcHitVec rawTgcHitVec, MuonCalibRawTgcCoinVec rawTgcCoinVec, MuonCalibRawCscHitVec rawCscHitVec)
 
const MuonCalibRawMdtHitVecMdtContainer () const
 Retrieve references to the container themselves. More...
 
MuonCalibRawMdtHitVecMdtContainer ()
 
const MuonCalibRawRpcHitVecRpcContainer () const
 
MuonCalibRawRpcHitVecRpcContainer ()
 
const MuonCalibRawTgcHitVecTgcContainer () const
 
MuonCalibRawTgcHitVecTgcContainer ()
 
const MuonCalibRawCscHitVecCscContainer () const
 
MuonCalibRawCscHitVecCscContainer ()
 
const MuonCalibRawTgcCoinVecTgcCoinContainer () const
 
MuonCalibRawTgcCoinVecTgcCoinContainer ()
 retrieve the number of MuonCalibRawMdtHits in the collection More...
 
int numberOfMuonCalibRawMdtHits () const
 retrieve the number of MuonCalibRawRpcHits in the collection More...
 
int numberOfMuonCalibRawRpcHits () const
 retrieve the number of MuonCalibRawTgcHits in the collection More...
 
int numberOfMuonCalibRawTgcHits () const
 retrieve the number of MuonCalibRawTgcHits in the collection More...
 
int numberOfMuonCalibRawTgcCoins () const
 retrieve the number of MuonCalibRawCscHits in the collection More...
 
int numberOfMuonCalibRawCscHits () const
 add a MuonCalibRawMdtHit to the collection More...
 
void addMuonCalibRawHit (MuonCalibRawMdtHit *rawHit)
 
void addMuonCalibRawHit (const MdtCalibRawHitPtr &rawHit)
 add a MuonCalibRawRpcHit to the collection More...
 
void addMuonCalibRawHit (MuonCalibRawRpcHit *rawHit)
 
void addMuonCalibRawHit (const RpcCalibRawHitPtr &rawHit)
 add a MuonCalibRawTgcHit to the collection More...
 
void addMuonCalibRawHit (MuonCalibRawTgcHit *rawHit)
 
void addMuonCalibRawHit (const TgcCalibRawHitPtr &rawHit)
 add a MuonCalibRawTgcCoin to the collection More...
 
void addMuonCalibRawHit (MuonCalibRawTgcCoin *rawHit)
 
void addMuonCalibRawHit (const TgcCoinRawPtr &rawHit)
 add a MuonCalibRawCscHit to the collection More...
 
void addMuonCalibRawHit (MuonCalibRawCscHit *rawHit)
 
void addMuonCalibRawHit (const CscCalibRawHitPtr &rawHit)
 

Private Member Functions

void copy (const MuonCalibRawHitCollection &other)
 

Private Attributes

MuonCalibRawMdtHitVec m_rawMdtHitVec
 set of MuonCalibRawMdtHit s More...
 
MuonCalibRawRpcHitVec m_rawRpcHitVec
 set of MuonCalibRawRpcHit s More...
 
MuonCalibRawTgcHitVec m_rawTgcHitVec
 set of MuonCalibRawTgcHit s More...
 
MuonCalibRawTgcCoinVec m_rawTgcCoinVec
 set of MuonCalibRawTgcCoin s More...
 
MuonCalibRawCscHitVec m_rawCscHitVec
 set of MuonCalibRawCscHit s More...
 

Detailed Description

A MuonCalibRawHitcollections is a container class within the Calibration EDM holding the MuonCalibXxxRawHits from the different technologies:

A MuonCalibXxxRawHit is constructed from PrepRawData hits, collected from stations which have a MuonCalibSegment. These raw hits are uncalibrated. In order to know whether the raw hit is NOT assigned to a MuonCalibSegment, check the occupancy variable. It yields the number of times that the raw hit is used on a MuonCalibSegment (one hit may be used multiple times on different segments). A raw hit not used on any segment yields an occupancy of -1.

Definition at line 42 of file MuonCalibRawHitCollection.h.

Member Typedef Documentation

◆ CscCalibRawHitPtr

typedef of a set of MuonCalibRawCscHit s

Definition at line 62 of file MuonCalibRawHitCollection.h.

◆ MdtCalibRawHitPtr

typedef of a set of MuonCalibRawMdtHit s

Definition at line 45 of file MuonCalibRawHitCollection.h.

◆ MuonCalibRawCscHitVec

Definition at line 64 of file MuonCalibRawHitCollection.h.

◆ MuonCalibRawMdtHitVec

typedef of the smart pointer owning the CaliorationRawRpcHit

Definition at line 47 of file MuonCalibRawHitCollection.h.

◆ MuonCalibRawRpcHitVec

Definition at line 52 of file MuonCalibRawHitCollection.h.

◆ MuonCalibRawTgcCoinVec

Definition at line 60 of file MuonCalibRawHitCollection.h.

◆ MuonCalibRawTgcHitVec

Definition at line 56 of file MuonCalibRawHitCollection.h.

◆ RpcCalibRawHitPtr

typedef of a set of MuonCalibRawRpcHit s

Definition at line 50 of file MuonCalibRawHitCollection.h.

◆ TgcCalibRawHitPtr

typedef of a set of MuonCalibRawTgcHit s

Definition at line 54 of file MuonCalibRawHitCollection.h.

◆ TgcCoinRawPtr

typedef of a set of MuonCalibRawTgcHit s

Definition at line 58 of file MuonCalibRawHitCollection.h.

Constructor & Destructor Documentation

◆ MuonCalibRawHitCollection() [1/3]

MuonCalib::MuonCalibRawHitCollection::MuonCalibRawHitCollection ( )
default

◆ ~MuonCalibRawHitCollection()

MuonCalib::MuonCalibRawHitCollection::~MuonCalibRawHitCollection ( )
default

destructor

◆ MuonCalibRawHitCollection() [2/3]

MuonCalib::MuonCalibRawHitCollection::MuonCalibRawHitCollection ( const MuonCalibRawHitCollection MuonCalibRawHitCollection)

copy constructor

Definition at line 55 of file MuonCalibRawHitCollection.cxx.

55 { copy(other); }

◆ MuonCalibRawHitCollection() [3/3]

MuonCalib::MuonCalibRawHitCollection::MuonCalibRawHitCollection ( MuonCalibRawMdtHitVec  rawMdtHitVec,
MuonCalibRawRpcHitVec  rawRpcHitVec,
MuonCalibRawTgcHitVec  rawTgcHitVec,
MuonCalibRawTgcCoinVec  rawTgcCoinVec,
MuonCalibRawCscHitVec  rawCscHitVec 
)

Definition at line 18 of file MuonCalibRawHitCollection.cxx.

20  :
21  m_rawMdtHitVec{std::move(rawMdtHitVec)},
22  m_rawRpcHitVec{std::move(rawRpcHitVec)},
23  m_rawTgcHitVec{std::move(rawTgcHitVec)},
24  m_rawTgcCoinVec{std::move(rawTgcCoinVec)},
25  m_rawCscHitVec{std::move(rawCscHitVec)} {}

Member Function Documentation

◆ addMuonCalibRawHit() [1/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( const CscCalibRawHitPtr rawHit)

Definition at line 94 of file MuonCalibRawHitCollection.cxx.

94  {
95  if (rawHit) { m_rawCscHitVec.emplace_back(rawHit); }
96  }

◆ addMuonCalibRawHit() [2/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( const MdtCalibRawHitPtr rawHit)

add a MuonCalibRawRpcHit to the collection

Definition at line 82 of file MuonCalibRawHitCollection.cxx.

82  {
83  if (rawHit) { m_rawMdtHitVec.emplace_back(rawHit); }
84  }

◆ addMuonCalibRawHit() [3/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( const RpcCalibRawHitPtr rawHit)

add a MuonCalibRawTgcHit to the collection

Definition at line 85 of file MuonCalibRawHitCollection.cxx.

85  {
86  if (rawHit) { m_rawRpcHitVec.emplace_back(rawHit); }
87  }

◆ addMuonCalibRawHit() [4/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( const TgcCalibRawHitPtr rawHit)

add a MuonCalibRawTgcCoin to the collection

Definition at line 88 of file MuonCalibRawHitCollection.cxx.

88  {
89  if (rawHit) { m_rawTgcHitVec.emplace_back(rawHit); }
90  }

◆ addMuonCalibRawHit() [5/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( const TgcCoinRawPtr rawHit)

add a MuonCalibRawCscHit to the collection

Definition at line 91 of file MuonCalibRawHitCollection.cxx.

91  {
92  if (rawHit) { m_rawTgcCoinVec.emplace_back(rawHit); }
93  }

◆ addMuonCalibRawHit() [6/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( MuonCalibRawCscHit rawHit)

Definition at line 79 of file MuonCalibRawHitCollection.cxx.

79  {
80  if (rawHit) { m_rawCscHitVec.emplace_back(rawHit); }
81  }

◆ addMuonCalibRawHit() [7/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( MuonCalibRawMdtHit rawHit)

Definition at line 67 of file MuonCalibRawHitCollection.cxx.

67  {
68  if (rawHit) { m_rawMdtHitVec.emplace_back(rawHit); }
69  }

◆ addMuonCalibRawHit() [8/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( MuonCalibRawRpcHit rawHit)

Definition at line 70 of file MuonCalibRawHitCollection.cxx.

70  {
71  if (rawHit) { m_rawRpcHitVec.emplace_back(rawHit); }
72  }

◆ addMuonCalibRawHit() [9/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( MuonCalibRawTgcCoin rawHit)

Definition at line 76 of file MuonCalibRawHitCollection.cxx.

76  {
77  if (rawHit) { m_rawTgcCoinVec.emplace_back(rawHit); }
78  }

◆ addMuonCalibRawHit() [10/10]

void MuonCalib::MuonCalibRawHitCollection::addMuonCalibRawHit ( MuonCalibRawTgcHit rawHit)

Definition at line 73 of file MuonCalibRawHitCollection.cxx.

73  {
74  if (rawHit) { m_rawTgcHitVec.emplace_back(rawHit); }
75  }

◆ copy()

void MuonCalib::MuonCalibRawHitCollection::copy ( const MuonCalibRawHitCollection other)
private

Definition at line 42 of file MuonCalibRawHitCollection.cxx.

42  {
43  m_rawMdtHitVec.clear();
44  m_rawRpcHitVec.clear();
45  m_rawTgcHitVec.clear();
46  m_rawTgcCoinVec.clear();
47  m_rawCscHitVec.clear();
48 
49  for (const MdtCalibRawHitPtr& mdt_it : other.m_rawMdtHitVec) { m_rawMdtHitVec.emplace_back(new MuonCalibRawMdtHit(*mdt_it)); }
50  for (const RpcCalibRawHitPtr& rpc_it : other.m_rawRpcHitVec) { m_rawRpcHitVec.emplace_back(rpc_it); }
51  for (const TgcCalibRawHitPtr& tgc_it : other.m_rawTgcHitVec) { m_rawTgcHitVec.emplace_back(tgc_it); }
52  for (const TgcCoinRawPtr& tgcCoin_it : other.m_rawTgcCoinVec) { m_rawTgcCoinVec.emplace_back(tgcCoin_it); }
53  for (const CscCalibRawHitPtr& csc_it : other.m_rawCscHitVec) { m_rawCscHitVec.emplace_back(csc_it); }
54  }

◆ CscContainer() [1/2]

MuonCalibRawHitCollection::MuonCalibRawCscHitVec & MuonCalib::MuonCalibRawHitCollection::CscContainer ( )

Definition at line 37 of file MuonCalibRawHitCollection.cxx.

37 { return m_rawCscHitVec; }

◆ CscContainer() [2/2]

const MuonCalibRawHitCollection::MuonCalibRawCscHitVec & MuonCalib::MuonCalibRawHitCollection::CscContainer ( ) const

Definition at line 36 of file MuonCalibRawHitCollection.cxx.

36 { return m_rawCscHitVec; }

◆ MdtContainer() [1/2]

MuonCalibRawHitCollection::MuonCalibRawMdtHitVec & MuonCalib::MuonCalibRawHitCollection::MdtContainer ( )

Definition at line 28 of file MuonCalibRawHitCollection.cxx.

28 { return m_rawMdtHitVec; }

◆ MdtContainer() [2/2]

const MuonCalibRawHitCollection::MuonCalibRawMdtHitVec & MuonCalib::MuonCalibRawHitCollection::MdtContainer ( ) const

Retrieve references to the container themselves.

Definition at line 27 of file MuonCalibRawHitCollection.cxx.

27 { return m_rawMdtHitVec; }

◆ numberOfMuonCalibRawCscHits()

int MuonCalib::MuonCalibRawHitCollection::numberOfMuonCalibRawCscHits ( ) const

add a MuonCalibRawMdtHit to the collection

Definition at line 65 of file MuonCalibRawHitCollection.cxx.

65 { return m_rawCscHitVec.size(); }

◆ numberOfMuonCalibRawMdtHits()

int MuonCalib::MuonCalibRawHitCollection::numberOfMuonCalibRawMdtHits ( ) const

retrieve the number of MuonCalibRawRpcHits in the collection

Definition at line 61 of file MuonCalibRawHitCollection.cxx.

61 { return m_rawMdtHitVec.size(); }

◆ numberOfMuonCalibRawRpcHits()

int MuonCalib::MuonCalibRawHitCollection::numberOfMuonCalibRawRpcHits ( ) const

retrieve the number of MuonCalibRawTgcHits in the collection

Definition at line 62 of file MuonCalibRawHitCollection.cxx.

62 { return m_rawRpcHitVec.size(); }

◆ numberOfMuonCalibRawTgcCoins()

int MuonCalib::MuonCalibRawHitCollection::numberOfMuonCalibRawTgcCoins ( ) const

retrieve the number of MuonCalibRawCscHits in the collection

Definition at line 64 of file MuonCalibRawHitCollection.cxx.

64 { return m_rawTgcCoinVec.size(); }

◆ numberOfMuonCalibRawTgcHits()

int MuonCalib::MuonCalibRawHitCollection::numberOfMuonCalibRawTgcHits ( ) const

retrieve the number of MuonCalibRawTgcHits in the collection

Definition at line 63 of file MuonCalibRawHitCollection.cxx.

63 { return m_rawTgcHitVec.size(); }

◆ operator=()

MuonCalibRawHitCollection & MuonCalib::MuonCalibRawHitCollection::operator= ( const MuonCalibRawHitCollection rhs)

assignment operator

constructor initializing all raw hit collections

Definition at line 57 of file MuonCalibRawHitCollection.cxx.

57  {
58  if (this != &other) { copy(other); }
59  return (*this);
60  }

◆ RpcContainer() [1/2]

MuonCalibRawHitCollection::MuonCalibRawRpcHitVec & MuonCalib::MuonCalibRawHitCollection::RpcContainer ( )

Definition at line 31 of file MuonCalibRawHitCollection.cxx.

31 { return m_rawRpcHitVec; }

◆ RpcContainer() [2/2]

const MuonCalibRawHitCollection::MuonCalibRawRpcHitVec & MuonCalib::MuonCalibRawHitCollection::RpcContainer ( ) const

Definition at line 30 of file MuonCalibRawHitCollection.cxx.

30 { return m_rawRpcHitVec; }

◆ TgcCoinContainer() [1/2]

MuonCalibRawHitCollection::MuonCalibRawTgcCoinVec & MuonCalib::MuonCalibRawHitCollection::TgcCoinContainer ( )

retrieve the number of MuonCalibRawMdtHits in the collection

Definition at line 40 of file MuonCalibRawHitCollection.cxx.

40 { return m_rawTgcCoinVec; }

◆ TgcCoinContainer() [2/2]

const MuonCalibRawHitCollection::MuonCalibRawTgcCoinVec & MuonCalib::MuonCalibRawHitCollection::TgcCoinContainer ( ) const

Definition at line 39 of file MuonCalibRawHitCollection.cxx.

39 { return m_rawTgcCoinVec; }

◆ TgcContainer() [1/2]

MuonCalibRawHitCollection::MuonCalibRawTgcHitVec & MuonCalib::MuonCalibRawHitCollection::TgcContainer ( )

Definition at line 34 of file MuonCalibRawHitCollection.cxx.

34 { return m_rawTgcHitVec; }

◆ TgcContainer() [2/2]

const MuonCalibRawHitCollection::MuonCalibRawTgcHitVec & MuonCalib::MuonCalibRawHitCollection::TgcContainer ( ) const

Definition at line 33 of file MuonCalibRawHitCollection.cxx.

33 { return m_rawTgcHitVec; }

Member Data Documentation

◆ m_rawCscHitVec

MuonCalibRawCscHitVec MuonCalib::MuonCalibRawHitCollection::m_rawCscHitVec
private

set of MuonCalibRawCscHit s

Definition at line 131 of file MuonCalibRawHitCollection.h.

◆ m_rawMdtHitVec

MuonCalibRawMdtHitVec MuonCalib::MuonCalibRawHitCollection::m_rawMdtHitVec
private

set of MuonCalibRawMdtHit s

Definition at line 127 of file MuonCalibRawHitCollection.h.

◆ m_rawRpcHitVec

MuonCalibRawRpcHitVec MuonCalib::MuonCalibRawHitCollection::m_rawRpcHitVec
private

set of MuonCalibRawRpcHit s

Definition at line 128 of file MuonCalibRawHitCollection.h.

◆ m_rawTgcCoinVec

MuonCalibRawTgcCoinVec MuonCalib::MuonCalibRawHitCollection::m_rawTgcCoinVec
private

set of MuonCalibRawTgcCoin s

Definition at line 130 of file MuonCalibRawHitCollection.h.

◆ m_rawTgcHitVec

MuonCalibRawTgcHitVec MuonCalib::MuonCalibRawHitCollection::m_rawTgcHitVec
private

set of MuonCalibRawTgcHit s

Definition at line 129 of file MuonCalibRawHitCollection.h.


The documentation for this class was generated from the following files:
MuonCalib::MuonCalibRawHitCollection::m_rawTgcHitVec
MuonCalibRawTgcHitVec m_rawTgcHitVec
set of MuonCalibRawTgcHit s
Definition: MuonCalibRawHitCollection.h:129
MuonCalib::MuonCalibRawHitCollection::MdtCalibRawHitPtr
std::shared_ptr< MuonCalibRawMdtHit > MdtCalibRawHitPtr
typedef of a set of MuonCalibRawMdtHit s
Definition: MuonCalibRawHitCollection.h:46
MuonCalib::MuonCalibRawHitCollection::CscCalibRawHitPtr
std::shared_ptr< const MuonCalibRawCscHit > CscCalibRawHitPtr
typedef of a set of MuonCalibRawCscHit s
Definition: MuonCalibRawHitCollection.h:63
MuonCalib::MuonCalibRawHitCollection::RpcCalibRawHitPtr
std::shared_ptr< const MuonCalibRawRpcHit > RpcCalibRawHitPtr
typedef of a set of MuonCalibRawRpcHit s
Definition: MuonCalibRawHitCollection.h:51
MuonCalib::MuonCalibRawHitCollection::m_rawMdtHitVec
MuonCalibRawMdtHitVec m_rawMdtHitVec
set of MuonCalibRawMdtHit s
Definition: MuonCalibRawHitCollection.h:127
MuonCalib::MuonCalibRawHitCollection::copy
void copy(const MuonCalibRawHitCollection &other)
Definition: MuonCalibRawHitCollection.cxx:42
MuonCalib::MuonCalibRawHitCollection::m_rawRpcHitVec
MuonCalibRawRpcHitVec m_rawRpcHitVec
set of MuonCalibRawRpcHit s
Definition: MuonCalibRawHitCollection.h:128
MuonCalib::MuonCalibRawHitCollection::m_rawTgcCoinVec
MuonCalibRawTgcCoinVec m_rawTgcCoinVec
set of MuonCalibRawTgcCoin s
Definition: MuonCalibRawHitCollection.h:130
MuonCalib::MuonCalibRawHitCollection::m_rawCscHitVec
MuonCalibRawCscHitVec m_rawCscHitVec
set of MuonCalibRawCscHit s
Definition: MuonCalibRawHitCollection.h:131
MuonCalib::MuonCalibRawHitCollection::TgcCoinRawPtr
std::shared_ptr< const MuonCalibRawTgcCoin > TgcCoinRawPtr
typedef of a set of MuonCalibRawTgcHit s
Definition: MuonCalibRawHitCollection.h:59
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonCalib::MuonCalibRawHitCollection::TgcCalibRawHitPtr
std::shared_ptr< const MuonCalibRawTgcHit > TgcCalibRawHitPtr
typedef of a set of MuonCalibRawTgcHit s
Definition: MuonCalibRawHitCollection.h:55