ATLAS Offline Software
Static Public Member Functions | List of all members
Muon::MuonStationIndexHelpers Class Reference

#include <MuonStationIndexHelpers.h>

Collaboration diagram for Muon::MuonStationIndexHelpers:

Static Public Member Functions

static std::vector< MuonStationIndex::TechnologyIndextechnologiesInStation (MuonStationIndex::StIndex stIndex)
 get techonolgies in More...
 
static bool isSmall (int sector)
 returns whether a sector is small More...
 

Detailed Description

Definition at line 13 of file MuonStationIndexHelpers.h.

Member Function Documentation

◆ isSmall()

bool Muon::MuonStationIndexHelpers::isSmall ( int  sector)
static

returns whether a sector is small

Definition at line 26 of file MuonStationIndexHelpers.cxx.

26 { return sector % 2 == 0; }

◆ technologiesInStation()

std::vector< MuonStationIndex::TechnologyIndex > Muon::MuonStationIndexHelpers::technologiesInStation ( MuonStationIndex::StIndex  stIndex)
static

get techonolgies in

Definition at line 9 of file MuonStationIndexHelpers.cxx.

9  {
10  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_empty = {};
11  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_barrelInner = {MuonStationIndex::MDT};
12  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_barrelMiddleOuter = {MuonStationIndex::MDT, MuonStationIndex::RPC};
13  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_barrelExtended = {MuonStationIndex::MDT};
14  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_endcapInner = {
16  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_endcapMiddle = {MuonStationIndex::MDT, MuonStationIndex::TGC};
17  static const std::vector<MuonStationIndex::TechnologyIndex> mmm_endcapOuterExtended = {MuonStationIndex::MDT};
18  static const std::vector<std::vector<MuonStationIndex::TechnologyIndex> > mmm_all_technologies = {
19  mmm_barrelInner, mmm_barrelMiddleOuter, mmm_barrelMiddleOuter, mmm_barrelExtended,
20  mmm_endcapInner, mmm_endcapMiddle, mmm_endcapOuterExtended, mmm_endcapOuterExtended};
21 
22  if (stIndex == MuonStationIndex::StUnknown || stIndex >= MuonStationIndex::StIndexMax) return mmm_empty;
23  return mmm_all_technologies[stIndex];
24  }

The documentation for this class was generated from the following files:
Muon::MuonStationIndex::StUnknown
@ StUnknown
Definition: MuonStationIndex.h:24
Muon::MuonStationIndex::MM
@ MM
Definition: MuonStationIndex.h:56
Muon::MuonStationIndex::STGC
@ STGC
Definition: MuonStationIndex.h:56
Muon::MuonStationIndex::CSCI
@ CSCI
Definition: MuonStationIndex.h:56
Muon::MuonStationIndex::StIndexMax
@ StIndexMax
Definition: MuonStationIndex.h:27
Muon::MuonStationIndex::MDT
@ MDT
Definition: MuonStationIndex.h:56
Muon::MuonStationIndex::TGC
@ TGC
Definition: MuonStationIndex.h:56
Muon::MuonStationIndex::RPC
@ RPC
Definition: MuonStationIndex.h:56