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

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

#include <SpacePointContainer.h>

Inheritance diagram for MuonR4::SpacePointBucket:
Collaboration diagram for MuonR4::SpacePointBucket:

Public Member Functions

 SpacePointBucket ()=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::MuonChamberchamber () 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 SpacePointBucket &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 20 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

Constructor & Destructor Documentation

◆ SpacePointBucket()

MuonR4::SpacePointBucket::SpacePointBucket ( )
default

Standard constructor.

Member Function Documentation

◆ bucketId()

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

Returns the Identifier in the context of the MuonChamber.

Definition at line 45 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

45 { return m_bucketId; }

◆ chamber()

const MuonGMR4::MuonChamber* MuonR4::SpacePointBucket::chamber ( ) const
inline

returns th associated muonChamber

Definition at line 35 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

35  {
36  return empty() ? nullptr : front()->chamber();
37  }

◆ coveredMax()

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

upper interval value covered by the bucket

Definition at line 33 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

33 { return m_max; }

◆ coveredMin()

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

lower interval value covered by the bucket

Definition at line 31 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

31 { return m_min; }

◆ operator<()

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

Definition at line 46 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

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

◆ setBucketId()

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

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

Definition at line 41 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

41  {
42  m_bucketId = id;
43  }

◆ setCoveredRange()

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

set the range in the precision plane covered by the bucket

Definition at line 26 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.

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

Member Data Documentation

◆ elements

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

STL member.

◆ m_bucketId

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

◆ m_max

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

◆ m_min

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

The documentation for this class was generated from the following file:
max
#define max(a, b)
Definition: cfImp.cxx:41
MuonR4::SpacePointBucket::bucketId
unsigned int bucketId() const
Returns the Identifier in the context of the MuonChamber.
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:45
postInclude.sorter
sorter
Definition: postInclude.SortInput.py:23
empty
bool empty(TH1 *h)
Definition: computils.cxx:294
MuonR4::SpacePointBucket::m_bucketId
unsigned int m_bucketId
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:55
MuonR4::SpacePointBucket::m_max
double m_max
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:57
min
#define min(a, b)
Definition: cfImp.cxx:40
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonR4::SpacePointBucket::m_min
double m_min
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:56
MuonR4::SpacePointBucket::chamber
const MuonGMR4::MuonChamber * chamber() const
returns th associated muonChamber
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:35
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