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

: The muon space point bucket represents a collection of points that will bre processed together in the pattern seeding. More...

#include <MuonSpacePointContainer.h>

Inheritance diagram for MuonR4::MuonSpacePointBucket:
Collaboration diagram for MuonR4::MuonSpacePointBucket:

Public Member Functions

 MuonSpacePointBucket ()=default
 Standard constructor. More...
 
void setCoveredRange (double min, double max)
 set the range in the precision plane covered by the bucket More...
 
double coveredMin () const
 lower interval value covered by the bucket More...
 
double coveredMax () const
 upper interval value covered by the bucket More...
 
const MuonGMR4::MuonChambermuonChamber () const
 returns th associated muonChamber More...
 
void setBucketId (unsigned int id)
 sets the Identifier of the MuonSpacePointBucket in context of the associated muonChamber More...
 
unsigned int bucketId () const
 Returns the Identifier in the context of the MuonChamber. More...
 
bool operator< (const MuonSpacePointBucket &other) const
 

Public Attributes

elements
 STL member. More...
 

Private Attributes

unsigned int m_bucketId {0}
 
double m_min {-20. *Gaudi::Units::m}
 
double m_max {20. * Gaudi::Units::m}
 

Detailed Description

: The muon space point bucket represents a collection of points that will bre processed together in the pattern seeding.

Buckets represent a a collection of hits that are close in a layer & sector of the muon spectrometer The area covered may varied across the different regions of the spectrometers & may also partially overlap with other buckets close-by.

Definition at line 21 of file MuonSpacePointContainer.h.

Constructor & Destructor Documentation

◆ MuonSpacePointBucket()

MuonR4::MuonSpacePointBucket::MuonSpacePointBucket ( )
default

Standard constructor.

Member Function Documentation

◆ bucketId()

unsigned int MuonR4::MuonSpacePointBucket::bucketId ( ) const
inline

Returns the Identifier in the context of the MuonChamber.

Definition at line 46 of file MuonSpacePointContainer.h.

46 { return m_bucketId; }

◆ coveredMax()

double MuonR4::MuonSpacePointBucket::coveredMax ( ) const
inline

upper interval value covered by the bucket

Definition at line 34 of file MuonSpacePointContainer.h.

34 { return m_max; }

◆ coveredMin()

double MuonR4::MuonSpacePointBucket::coveredMin ( ) const
inline

lower interval value covered by the bucket

Definition at line 32 of file MuonSpacePointContainer.h.

32 { return m_min; }

◆ muonChamber()

const MuonGMR4::MuonChamber* MuonR4::MuonSpacePointBucket::muonChamber ( ) const
inline

returns th associated muonChamber

Definition at line 36 of file MuonSpacePointContainer.h.

36  {
37  return empty() ? nullptr : front()->muonChamber();
38  }

◆ operator<()

bool MuonR4::MuonSpacePointBucket::operator< ( const MuonSpacePointBucket other) const
inline

Definition at line 47 of file MuonSpacePointContainer.h.

47  {
49  static const ChamberSorter sorter{};
50  int chambCompare = -sorter(muonChamber(), other.muonChamber()) +
51  sorter(other.muonChamber(), muonChamber());
52  if (chambCompare) return chambCompare < 0;
53  return bucketId() < other.bucketId();
54  }

◆ setBucketId()

void MuonR4::MuonSpacePointBucket::setBucketId ( unsigned int  id)
inline

sets the Identifier of the MuonSpacePointBucket in context of the associated muonChamber

Definition at line 42 of file MuonSpacePointContainer.h.

42  {
43  m_bucketId = id;
44  }

◆ setCoveredRange()

void MuonR4::MuonSpacePointBucket::setCoveredRange ( double  min,
double  max 
)
inline

set the range in the precision plane covered by the bucket

Definition at line 27 of file MuonSpacePointContainer.h.

27  {
28  m_min = min;
29  m_max = max;
30  }

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.

◆ m_bucketId

unsigned int MuonR4::MuonSpacePointBucket::m_bucketId {0}
private

Definition at line 56 of file MuonSpacePointContainer.h.

◆ m_max

double MuonR4::MuonSpacePointBucket::m_max {20. * Gaudi::Units::m}
private

Definition at line 58 of file MuonSpacePointContainer.h.

◆ m_min

double MuonR4::MuonSpacePointBucket::m_min {-20. *Gaudi::Units::m}
private

Definition at line 57 of file MuonSpacePointContainer.h.


The documentation for this class was generated from the following file:
MuonR4::MuonSpacePointBucket::m_bucketId
unsigned int m_bucketId
Definition: MuonSpacePointContainer.h:56
max
#define max(a, b)
Definition: cfImp.cxx:41
postInclude.sorter
sorter
Definition: postInclude.SortInput.py:23
empty
bool empty(TH1 *h)
Definition: computils.cxx:294
MuonR4::MuonSpacePointBucket::muonChamber
const MuonGMR4::MuonChamber * muonChamber() const
returns th associated muonChamber
Definition: MuonSpacePointContainer.h:36
min
#define min(a, b)
Definition: cfImp.cxx:40
MuonR4::MuonSpacePointBucket::bucketId
unsigned int bucketId() const
Returns the Identifier in the context of the MuonChamber.
Definition: MuonSpacePointContainer.h:46
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
MuonR4::MuonSpacePointBucket::m_max
double m_max
Definition: MuonSpacePointContainer.h:58
MuonR4::MuonSpacePointBucket::m_min
double m_min
Definition: MuonSpacePointContainer.h:57
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonGMR4::MuonDetectorManager::ChamberSorter
Helper struct to ensur that the sorting of the MuonChambers remains constants across the jobs.
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:100