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

#include <MuonFixedId.h>

Collaboration diagram for MuonCalib::MuonFixedId:

Public Member Functions

 MuonFixedId ()
 default constructor More...
 
 MuonFixedId (unsigned int id)
 explicit constructor from an integer which corresponds to a MuonFixedId More...
 
unsigned int getIdInt () const
 
void clear ()
 clear the identifier (=set to invalid) More...
 
bool isValid () const
 check validity of the identifier. More...
 
bool is_mdt () const
 
bool is_tgc () const
 
bool is_csc () const
 
bool is_rpc () const
 
void set_mdt ()
 set identifier to MDT technology type More...
 
void set_tgc ()
 set identifier to TGC technology type More...
 
void set_csc ()
 set identifier to CSC technology type More...
 
void set_rpc ()
 set identifier to RPC technology type More...
 
bool operator== (const MuonFixedId &rhs) const
 comparison operator More...
 
bool operator!= (const MuonFixedId &rhs) const
 comparison operator More...
 
bool operator< (const MuonFixedId &rhs) const
 comparison operator More...
 
std::ostream & dump (std::ostream &os) const
 dump all the information corresponding to the identifier More...
 
bool setTechnologyIndex (unsigned int idx)
 set technology index in the fixed identifier More...
 
bool setStationNameIndex (unsigned int idx)
 set station name index in the fixed identifier More...
 
bool setStationEtaIndex (unsigned int idx)
 set station eta index in the fixed identifier More...
 
bool setStationPhiIndex (unsigned int idx)
 set station phi index in the fixed identifier More...
 
bool setTechnology (int num)
 set technology to num in the fixed identifier More...
 
bool setStationName (int num)
 set station name to num in the fixed identifier More...
 
bool setStationEta (int num)
 set station eta to num in the fixed identifier More...
 
bool setStationPhi (int num)
 set station phi to num in the fixed identifier More...
 
int technologyIndex () const
 
int stationNameIndex () const
 
int etaIndex () const
 
int phiIndex () const
 
int technology () const
 
std::string technologyString () const
 
int stationName () const
 
std::string stationNameString () const
 
int eta () const
 
int phi () const
 
bool setMdtTubeIndex (unsigned int idx)
 Mdt specific: set index idx for tube. More...
 
bool setMdtTubeLayerIndex (unsigned int idx)
 Mdt specific: set index idx for layer. More...
 
bool setMdtMultilayerIndex (unsigned int idx)
 Mdt specific: set index idx for multilayer. More...
 
bool setMdtTube (int num)
 Mdt specific: set tube to num. More...
 
bool setMdtTubeLayer (int num)
 Mdt specific: set layer to num. More...
 
bool setMdtMultilayer (int num)
 Mdt specific: set multilayer to num. More...
 
int mdtTubeIndex () const
 Mdt specific: More...
 
int mdtTubeLayerIndex () const
 Mdt specific: More...
 
int mdtMultilayerIndex () const
 Mdt specific: More...
 
int mdtTube () const
 Mdt specific: More...
 
int mdtTubeLayer () const
 Mdt specific: More...
 
int mdtMultilayer () const
 Mdt specific: More...
 
int mdtMezzanine () const
 Mdt specific: compute the mezzanine number. More...
 
MuonFixedId mdtChamberId () const
 Mdt specific: convert channel ID into MDT Chamber ID. More...
 
MuonFixedId mdtMultilayerId () const
 Mdt specific: convert channel ID into MDT Multilayer ID. More...
 
bool setCscChamberLayerIndex (unsigned int idx)
 Csc specific: set chamber layer index to idx. More...
 
bool setCscWireLayerIndex (unsigned int idx)
 Csc specific: set wire layer index to idx. More...
 
bool setCscMeasuresPhiIndex (unsigned int idx)
 Csc specific: set measures_phi index to idx. More...
 
bool setCscStripIndex (unsigned int idx)
 Csc specific: set strip index to idx. More...
 
bool setCscChamberLayer (int num)
 Csc specific: set chamber layer to num. More...
 
bool setCscWireLayer (int num)
 Csc specific: set wire layer to num. More...
 
bool setCscMeasuresPhi (int num)
 Csc specific: set measures_phi to num. More...
 
bool setCscStrip (int num)
 Csc specific: set strip to num. More...
 
int cscChamberLayerIndex () const
 Csc specific: More...
 
int cscWireLayerIndex () const
 Csc specific: More...
 
int cscMeasuresPhiIndex () const
 Csc specific: More...
 
int cscStripIndex () const
 Csc specific: More...
 
int cscChamberLayer () const
 Csc specific: More...
 
int cscWireLayer () const
 Csc specific: More...
 
int cscMeasuresPhi () const
 Csc specific: More...
 
int cscStrip () const
 Csc specific: More...
 
bool setRpcDoubletRIndex (unsigned int idx)
 Rpc specific: set index for doublet_R to idx. More...
 
bool setRpcDoubletZIndex (unsigned int idx)
 Rpc specific: set index for doublet_Z to idx. More...
 
bool setRpcDoubletPhiIndex (unsigned int idx)
 Rpc specific: set index for doublet_Phi to idx. More...
 
bool setRpcGasGapIndex (unsigned int idx)
 Rpc specific: set index for gas_gap to idx. More...
 
bool setRpcMeasuresPhiIndex (unsigned int idx)
 Rpc specific: set index for measures_phi to idx. More...
 
bool setRpcStripIndex (unsigned int idx)
 Rpc specific: set index for strip to idx. More...
 
bool setRpcDoubletR (int num)
 Rpc specific: set doublet_R to num. More...
 
bool setRpcDoubletZ (int num)
 Rpc specific: set doublet_Z to num. More...
 
bool setRpcDoubletPhi (int num)
 Rpc specific: set doublet_Phi to num. More...
 
bool setRpcGasGap (int num)
 Rpc specific: set gas_gap to num. More...
 
bool setRpcMeasuresPhi (int num)
 Rpc specific: set measures_phi to num. More...
 
bool setRpcStrip (int num)
 Rpc specific: set strip to num. More...
 
int rpcDoubletRIndex () const
 Rpc specific: More...
 
int rpcDoubletZIndex () const
 Rpc specific: More...
 
int rpcDoubletPhiIndex () const
 Rpc specific: More...
 
int rpcGasGapIndex () const
 Rpc specific: More...
 
int rpcMeasuresPhiIndex () const
 Rpc specific: More...
 
int rpcStripIndex () const
 Rpc specific: More...
 
int rpcDoubletR () const
 Rpc specific: More...
 
int rpcDoubletZ () const
 Rpc specific: More...
 
int rpcDoubletPhi () const
 Rpc specific: More...
 
int rpcGasGap () const
 Rpc specific: More...
 
int rpcMeasuresPhi () const
 Rpc specific: More...
 
int rpcStrip () const
 Rpc specific: More...
 
bool setTgcGasGapIndex (unsigned int idx)
 Tgc specific: set index for gas_gap to idx. More...
 
bool setTgcIsStripIndex (unsigned int idx)
 Tgc specific: set index for is_strip to idx. More...
 
bool setTgcChannelIndex (unsigned int idx)
 Tgc specific: set index for channel to idx. More...
 
bool setTgcGasGap (int num)
 Tgc specific: set gas_gap to num. More...
 
bool setTgcIsStrip (int num)
 Tgc specific: set is_strip to num. More...
 
bool setTgcChannel (int num)
 Tgc specific: set channel to num. More...
 
int tgcGasGapIndex () const
 Tgc specific: More...
 
int tgcIsStripIndex () const
 Tgc specific: More...
 
int tgcChannelIndex () const
 Tgc specific: More...
 
int tgcGasGap () const
 Tgc specific: More...
 
int tgcIsStrip () const
 Tgc specific: More...
 
int tgcChannel () const
 Tgc specific: More...
 

Static Public Member Functions

static int technologyMin ()
 
static int stationNameMin ()
 
static int etaMin ()
 
static int phiMin ()
 
static int technologyMax ()
 
static int stationNameMax ()
 
static int etaMax ()
 
static int phiMax ()
 
static int stationStringToFixedStationNumber (const std::string &station)
 
static std::string stationNumberToFixedStationString (const int station)
 
static int mdtTubeMin ()
 Mdt specific: More...
 
static int mdtTubeLayerMin ()
 Mdt specific: More...
 
static int mdtMultilayerMin ()
 Mdt specific: More...
 
static int mdtTubeMax ()
 Mdt specific: More...
 
static int mdtTubeLayerMax ()
 Mdt specific: More...
 
static int mdtMultilayerMax ()
 Mdt specific: More...
 
static int cscChamberLayerMin ()
 Csc specific: More...
 
static int cscWireLayerMin ()
 Csc specific: More...
 
static int cscMeasuresPhiMin ()
 Csc specific: More...
 
static int cscStripMin ()
 Csc specific: More...
 
static int cscChamberLayerMax ()
 Csc specific: More...
 
static int cscWireLayerMax ()
 Csc specific: More...
 
static int cscMeasuresPhiMax ()
 Csc specific: More...
 
static int cscStripMax ()
 Csc specific: More...
 

Static Public Attributes

static const int technologyMDT = 0
 constants for technology numbers More...
 
static const int technologyCSC = 1
 
static const int technologyTGC = 2
 
static const int technologyRPC = 3
 

Private Attributes

unsigned int m_data
 

Static Private Attributes

static const unsigned int kInvalidData = 0xFFFFFFFF
 
static const unsigned int kTechnologyMask = 3
 
static const unsigned int kTechnologyShift = 30
 
static const unsigned int kTechnologyMin = 0
 
static const int kNumberOfTechnologies = 4
 
static const char kTechnologyStrings [kNumberOfTechnologies][4]
 
static const unsigned int kStationNameMask = 63
 
static const unsigned int kStationNameShift = 24
 
static const unsigned int kStationNameMin = 1
 
static const unsigned int kStationEtaMask = 31
 
static const unsigned int kStationEtaShift = 19
 
static const int kStationEtaMin = -8
 
static const unsigned int kStationPhiMask = 63
 
static const unsigned int kStationPhiShift = 13
 
static const unsigned int kStationPhiMin = 1
 
static const int kNumberOfStationNames = 35
 
static const char kStationNameStrings [kNumberOfStationNames][4]
 
static const unsigned int kStationShift = kStationPhiShift
 
static const unsigned int kStationMask
 
static const unsigned int kMdtMultilayerMask = 1
 
static const unsigned int kMdtMultilayerShift = 9
 
static const unsigned int kMdtMultilayerMin = 1
 
static const unsigned int kMdtTubeLayerMask = 3
 
static const unsigned int kMdtTubeLayerShift = 7
 
static const unsigned int kMdtTubeLayerMin = 1
 
static const unsigned int kMdtTubeMask = 127
 
static const unsigned int kMdtTubeShift = 0
 
static const unsigned int kMdtTubeMin = 1
 
static const unsigned int kCscChamberLayerMask = 1
 
static const unsigned int kCscChamberLayerShift = 11
 
static const unsigned int kCscChamberLayerMin = 1
 
static const unsigned int kCscWireLayerMask = 3
 
static const unsigned int kCscWireLayerShift = 9
 
static const unsigned int kCscWireLayerMin = 1
 
static const unsigned int kCscMeasuresPhiMask = 1
 
static const unsigned int kCscMeasuresPhiShift = 8
 
static const unsigned int kCscMeasuresPhiMin = 0
 
static const unsigned int kCscStripMask = 255
 
static const unsigned int kCscStripShift = 0
 
static const unsigned int kCscStripMin = 1
 
static const unsigned int kRpcDoubletRMask = 1
 
static const unsigned int kRpcDoubletRShift = 12
 
static const unsigned int kRpcDoubletRMin = 1
 
static const unsigned int kRpcDoubletZMask = 3
 
static const unsigned int kRpcDoubletZShift = 10
 
static const unsigned int kRpcDoubletZMin = 1
 
static const unsigned int kRpcDoubletPhiMask = 1
 
static const unsigned int kRpcDoubletPhiShift = 9
 
static const unsigned int kRpcDoubletPhiMin = 1
 
static const unsigned int kRpcGasGapMask = 1
 
static const unsigned int kRpcGasGapShift = 8
 
static const unsigned int kRpcGasGapMin = 1
 
static const unsigned int kRpcMeasuresPhiMask = 1
 
static const unsigned int kRpcMeasuresPhiShift = 7
 
static const unsigned int kRpcMeasuresPhiMin = 0
 
static const unsigned int kRpcStripMask = 127
 
static const unsigned int kRpcStripShift = 0
 
static const unsigned int kRpcStripMin = 1
 
static const unsigned int kTgcGasGapMask = 3
 
static const unsigned int kTgcGasGapShift = 9
 
static const unsigned int kTgcGasGapMin = 1
 
static const unsigned int kTgcIsStripMask = 1
 
static const unsigned int kTgcIsStripShift = 8
 
static const unsigned int kTgcIsStripMin = 0
 
static const unsigned int kTgcChannelMask = 255
 
static const unsigned int kTgcChannelShift = 0
 
static const unsigned int kTgcChannelMin = 1
 

Detailed Description

Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration framework. Fixed identifiers are encoded words which contain some muon generic fields (for the technology, the station, eta and phi) and some technology specific fields for Mdt, Csc, Rpc and Tgc. To each field XXX correspond an offset (a private static constant XXXShift) a minimum and a maximum storable value (derived from private static constantsXXXMin and XXXMask) Encoding or decoding of a value num in a given field proceeds via encoding or decoding and index, which is defined as num-XXXMin.

Definition at line 50 of file MuonFixedId.h.

Constructor & Destructor Documentation

◆ MuonFixedId() [1/2]

MuonCalib::MuonFixedId::MuonFixedId ( )
inline

default constructor

Definition at line 536 of file MuonFixedId.h.

537  : m_data(kInvalidData){
538  }

◆ MuonFixedId() [2/2]

MuonCalib::MuonFixedId::MuonFixedId ( unsigned int  id)
inlineexplicit

explicit constructor from an integer which corresponds to a MuonFixedId

Definition at line 540 of file MuonFixedId.h.

540  : m_data(id){
541 }

Member Function Documentation

◆ clear()

void MuonCalib::MuonFixedId::clear ( )
inline

clear the identifier (=set to invalid)

Definition at line 551 of file MuonFixedId.h.

551  {
553 }

◆ cscChamberLayer()

int MuonCalib::MuonFixedId::cscChamberLayer ( ) const
inline

Csc specific:

Returns
chamber layer

Definition at line 894 of file MuonFixedId.h.

894  {
896 }

◆ cscChamberLayerIndex()

int MuonCalib::MuonFixedId::cscChamberLayerIndex ( ) const
inline

Csc specific:

Returns
chamber layer index

Definition at line 890 of file MuonFixedId.h.

890  {
892 }

◆ cscChamberLayerMax()

int MuonCalib::MuonFixedId::cscChamberLayerMax ( )
inlinestatic

Csc specific:

Returns
the maximum index used to store the chamber layer

Definition at line 969 of file MuonFixedId.h.

969  {
971 }

◆ cscChamberLayerMin()

int MuonCalib::MuonFixedId::cscChamberLayerMin ( )
inlinestatic

Csc specific:

Returns
the minimum index used to store the chamber layer

Definition at line 965 of file MuonFixedId.h.

965  {
966  return kCscChamberLayerMin;
967 }

◆ cscMeasuresPhi()

int MuonCalib::MuonFixedId::cscMeasuresPhi ( ) const
inline

Csc specific:

Returns
measures_phi

Definition at line 939 of file MuonFixedId.h.

939  {
941 }

◆ cscMeasuresPhiIndex()

int MuonCalib::MuonFixedId::cscMeasuresPhiIndex ( ) const
inline

Csc specific:

Returns
measures_phi index

Definition at line 935 of file MuonFixedId.h.

935  {
937 }

◆ cscMeasuresPhiMax()

int MuonCalib::MuonFixedId::cscMeasuresPhiMax ( )
inlinestatic

Csc specific:

Returns
the maximum index used to store measures_phi

Definition at line 985 of file MuonFixedId.h.

985  {
987 }

◆ cscMeasuresPhiMin()

int MuonCalib::MuonFixedId::cscMeasuresPhiMin ( )
inlinestatic

Csc specific:

Returns
the minimum index used to store measures_phi

Definition at line 981 of file MuonFixedId.h.

981  {
982  return kCscMeasuresPhiMin;
983 }

◆ cscStrip()

int MuonCalib::MuonFixedId::cscStrip ( ) const
inline

Csc specific:

Returns
strip

Definition at line 961 of file MuonFixedId.h.

961  {
962  return cscStripIndex() + kCscStripMin;
963 }

◆ cscStripIndex()

int MuonCalib::MuonFixedId::cscStripIndex ( ) const
inline

Csc specific:

Returns
strip index

Definition at line 957 of file MuonFixedId.h.

957  {
958  return (m_data >> kCscStripShift) & kCscStripMask;
959 }

◆ cscStripMax()

int MuonCalib::MuonFixedId::cscStripMax ( )
inlinestatic

Csc specific:

Returns
the maximum index used to store the strip number

Definition at line 993 of file MuonFixedId.h.

993  {
994  return kCscStripMin + kCscStripMask;
995 }

◆ cscStripMin()

int MuonCalib::MuonFixedId::cscStripMin ( )
inlinestatic

Csc specific:

Returns
the minimum index used to store the strip number

Definition at line 989 of file MuonFixedId.h.

989  {
990  return kCscStripMin;
991 }

◆ cscWireLayer()

int MuonCalib::MuonFixedId::cscWireLayer ( ) const
inline

Csc specific:

Returns
wire layer

Definition at line 917 of file MuonFixedId.h.

917  {
919 }

◆ cscWireLayerIndex()

int MuonCalib::MuonFixedId::cscWireLayerIndex ( ) const
inline

Csc specific:

Returns
wire layer index

Definition at line 913 of file MuonFixedId.h.

913  {
915 }

◆ cscWireLayerMax()

int MuonCalib::MuonFixedId::cscWireLayerMax ( )
inlinestatic

Csc specific:

Returns
the maximum index used to store the wire layer

Definition at line 977 of file MuonFixedId.h.

977  {
979 }

◆ cscWireLayerMin()

int MuonCalib::MuonFixedId::cscWireLayerMin ( )
inlinestatic

Csc specific:

Returns
the minimum index used to store the wire layer

Definition at line 973 of file MuonFixedId.h.

973  {
974  return kCscWireLayerMin;
975 }

◆ dump()

std::ostream & MuonCalib::MuonFixedId::dump ( std::ostream &  os) const

dump all the information corresponding to the identifier

Definition at line 9 of file MuonFixedId.cxx.

9  {
10  os << technology() << ": stnEta " << eta() << ", stnPhi " << phi() << " "
11  << technologyString() << ": " << stationNameString() ;
12  if( is_mdt() ){
13  os << ", mdtMultiLayer " << mdtMultilayer() << ", mdtTubeLayer "
14  << mdtTubeLayer() << ", mdtTube " << mdtTube() ;
15  } else if( is_rpc() ) {
16  os << ", rpcDoubletR " << rpcDoubletR() << ", rpcDoubletZ "
17  << rpcDoubletZ() << ", rpcDoubletPhi " << rpcDoubletPhi() << ", rpcGasGap " << rpcGasGap() << ", rpcMeasuresPhi "
18  << rpcMeasuresPhi() << ", rpcStrip " << rpcStrip() ;
19  } else if( is_tgc() ) {
20  os << ", tgcGasGap " << tgcGasGap() << ", tgcIsStrip "
21  << tgcIsStrip() << ", tgcChannel " << tgcChannel() ;
22  } else if( is_csc() ) {
23  os << ", cscChamberLayer " << cscChamberLayer() << ", cscWireLayer "
24  << cscWireLayer() << ", cscMeasuresPhi " << cscMeasuresPhi() << ", cscStrip " << cscStrip() ;
25  } else
26  os << "Invalid MuonFixedId" ;
27 
28  return os;
29 }

◆ eta()

int MuonCalib::MuonFixedId::eta ( ) const
inline
Returns
station eta

Definition at line 681 of file MuonFixedId.h.

681  {
682  return etaIndex() + kStationEtaMin;
683 }

◆ etaIndex()

int MuonCalib::MuonFixedId::etaIndex ( ) const
inline
Returns
station eta index

Definition at line 677 of file MuonFixedId.h.

677  {
679 }

◆ etaMax()

int MuonCalib::MuonFixedId::etaMax ( )
inlinestatic
Returns
the maximum index used to store station eta

Definition at line 732 of file MuonFixedId.h.

732  {
734 }

◆ etaMin()

int MuonCalib::MuonFixedId::etaMin ( )
inlinestatic
Returns
the minimum index used to store station eta

Definition at line 716 of file MuonFixedId.h.

716  {
717  return kStationEtaMin;
718 }

◆ getIdInt()

unsigned int MuonCalib::MuonFixedId::getIdInt ( ) const
inline
Returns
the fixed identifier in integer form

Definition at line 543 of file MuonFixedId.h.

543  {
544  return m_data;
545 }

◆ is_csc()

bool MuonCalib::MuonFixedId::is_csc ( ) const
inline
Returns
true if the identifier corresponds to CSC technology

Definition at line 567 of file MuonFixedId.h.

567  {
568  return isValid() && technology() == technologyCSC;
569 }

◆ is_mdt()

bool MuonCalib::MuonFixedId::is_mdt ( ) const
inline
Returns
true if the identifier corresponds to MDT technology

Definition at line 559 of file MuonFixedId.h.

559  {
560  return isValid() && technology() == technologyMDT;
561 }

◆ is_rpc()

bool MuonCalib::MuonFixedId::is_rpc ( ) const
inline
Returns
true if the identifier corresponds to RPC technology

Definition at line 571 of file MuonFixedId.h.

571  {
572  return isValid() && technology() == technologyRPC;
573 }

◆ is_tgc()

bool MuonCalib::MuonFixedId::is_tgc ( ) const
inline
Returns
true if the identifier corresponds to TGC technology

Definition at line 563 of file MuonFixedId.h.

563  {
564  return isValid() && technology() == technologyTGC;
565 }

◆ isValid()

bool MuonCalib::MuonFixedId::isValid ( ) const
inline

check validity of the identifier.

Returns
false if invalid

Definition at line 555 of file MuonFixedId.h.

555  {
556  return m_data != kInvalidData;
557 }

◆ mdtChamberId()

MuonFixedId MuonCalib::MuonFixedId::mdtChamberId ( ) const
inline

Mdt specific: convert channel ID into MDT Chamber ID.

Definition at line 863 of file MuonFixedId.h.

863  {
864  // mdt chamber id = muon station id
865  return MuonFixedId( m_data & (kStationMask << kStationShift) );
866 }

◆ mdtMezzanine()

int MuonCalib::MuonFixedId::mdtMezzanine ( ) const
inline

Mdt specific: compute the mezzanine number.

Returns
mezzanine number

Definition at line 779 of file MuonFixedId.h.

779  {
780  int Ichamber = stationName() ;
781  int Ieta = eta() ;
782  int Iphi = phi() ;
783  int Iml = mdtMultilayer() ;
784  int Itube = mdtTube() ;
785  if (Ieta < 0 ) Ieta = -Ieta*10 ;
786  int ImezzTubes = 8 ;
787  if (Ichamber==1 || Ichamber==2 || Ichamber==8 || Ichamber==13 || Ichamber==7 || Ichamber==15 || Ichamber==24) ImezzTubes=6;
788 //exception BIS eta=8 is a 3-layer chamber
789  if(Ichamber==2 && std::abs(Ieta)==8) ImezzTubes=8;
790  int Imezz = ((Itube-1)/ImezzTubes)*2+(Iml-1) ;
791  Imezz = 9*100000000 + Ichamber*1000000 + Ieta*10000 + Iphi*100 + Imezz ;
792  return Imezz ;
793 }

◆ mdtMultilayer()

int MuonCalib::MuonFixedId::mdtMultilayer ( ) const
inline

Mdt specific:

Returns
multilayer number

Definition at line 835 of file MuonFixedId.h.

835  {
837 }

◆ mdtMultilayerId()

MuonFixedId MuonCalib::MuonFixedId::mdtMultilayerId ( ) const
inline

Mdt specific: convert channel ID into MDT Multilayer ID.

Definition at line 868 of file MuonFixedId.h.

868  {
869  // mdt multilayer id = muon station id + multilayer field
871 }

◆ mdtMultilayerIndex()

int MuonCalib::MuonFixedId::mdtMultilayerIndex ( ) const
inline

Mdt specific:

Returns
multilayer index

Definition at line 831 of file MuonFixedId.h.

831  {
833 }

◆ mdtMultilayerMax()

int MuonCalib::MuonFixedId::mdtMultilayerMax ( )
inlinestatic

Mdt specific:

Returns
the maximum index used to store the multilayer number

Definition at line 859 of file MuonFixedId.h.

859  {
861 }

◆ mdtMultilayerMin()

int MuonCalib::MuonFixedId::mdtMultilayerMin ( )
inlinestatic

Mdt specific:

Returns
the minimum index used to store the multilayer number

Definition at line 855 of file MuonFixedId.h.

855  {
856  return kMdtMultilayerMin;
857 }

◆ mdtTube()

int MuonCalib::MuonFixedId::mdtTube ( ) const
inline

Mdt specific:

Returns
tube number

Definition at line 775 of file MuonFixedId.h.

775  {
776  return mdtTubeIndex() + kMdtTubeMin;
777 }

◆ mdtTubeIndex()

int MuonCalib::MuonFixedId::mdtTubeIndex ( ) const
inline

Mdt specific:

Returns
tube index

Definition at line 771 of file MuonFixedId.h.

771  {
772  return (m_data >> kMdtTubeShift) & kMdtTubeMask;
773 }

◆ mdtTubeLayer()

int MuonCalib::MuonFixedId::mdtTubeLayer ( ) const
inline

Mdt specific:

Returns
layer number

Definition at line 813 of file MuonFixedId.h.

813  {
815 }

◆ mdtTubeLayerIndex()

int MuonCalib::MuonFixedId::mdtTubeLayerIndex ( ) const
inline

Mdt specific:

Returns
layer index

Definition at line 809 of file MuonFixedId.h.

809  {
811 }

◆ mdtTubeLayerMax()

int MuonCalib::MuonFixedId::mdtTubeLayerMax ( )
inlinestatic

Mdt specific:

Returns
the maximum index used to store the layer number

Definition at line 851 of file MuonFixedId.h.

851  {
853 }

◆ mdtTubeLayerMin()

int MuonCalib::MuonFixedId::mdtTubeLayerMin ( )
inlinestatic

Mdt specific:

Returns
the minimum index used to store the layer number

Definition at line 847 of file MuonFixedId.h.

847  {
848  return kMdtTubeLayerMin;
849 }

◆ mdtTubeMax()

int MuonCalib::MuonFixedId::mdtTubeMax ( )
inlinestatic

Mdt specific:

Returns
the maximum index used to store the tube number

Definition at line 843 of file MuonFixedId.h.

843  {
844  return kMdtTubeMin + kMdtTubeMask;
845 }

◆ mdtTubeMin()

int MuonCalib::MuonFixedId::mdtTubeMin ( )
inlinestatic

Mdt specific:

Returns
the minimum index used to store the tube number

Definition at line 839 of file MuonFixedId.h.

839  {
840  return kMdtTubeMin;
841 }

◆ operator!=()

bool MuonCalib::MuonFixedId::operator!= ( const MuonFixedId rhs) const
inline

comparison operator

Definition at line 595 of file MuonFixedId.h.

595  {
596  return m_data != rhs.m_data;
597 }

◆ operator<()

bool MuonCalib::MuonFixedId::operator< ( const MuonFixedId rhs) const
inline

comparison operator

Definition at line 599 of file MuonFixedId.h.

599  {
600  return m_data < rhs.m_data;
601 }

◆ operator==()

bool MuonCalib::MuonFixedId::operator== ( const MuonFixedId rhs) const
inline

comparison operator

Definition at line 591 of file MuonFixedId.h.

591  {
592  return m_data == rhs.m_data;
593 }

◆ phi()

int MuonCalib::MuonFixedId::phi ( ) const
inline
Returns
station phi

Definition at line 704 of file MuonFixedId.h.

704  {
705  return phiIndex() + kStationPhiMin;
706 }

◆ phiIndex()

int MuonCalib::MuonFixedId::phiIndex ( ) const
inline
Returns
station phi index

Definition at line 700 of file MuonFixedId.h.

700  {
702 }

◆ phiMax()

int MuonCalib::MuonFixedId::phiMax ( )
inlinestatic
Returns
the maximum index used to store station phi

Definition at line 736 of file MuonFixedId.h.

736  {
738 }

◆ phiMin()

int MuonCalib::MuonFixedId::phiMin ( )
inlinestatic
Returns
the minimum index used to store station phi

Definition at line 720 of file MuonFixedId.h.

720  {
721  return kStationPhiMin;
722 }

◆ rpcDoubletPhi()

int MuonCalib::MuonFixedId::rpcDoubletPhi ( ) const
inline

Rpc specific:

Returns
doublet_Phi

Definition at line 1060 of file MuonFixedId.h.

1060  {
1062 }

◆ rpcDoubletPhiIndex()

int MuonCalib::MuonFixedId::rpcDoubletPhiIndex ( ) const
inline

Rpc specific:

Returns
doublet_Phi index

Definition at line 1056 of file MuonFixedId.h.

1056  {
1058 }

◆ rpcDoubletR()

int MuonCalib::MuonFixedId::rpcDoubletR ( ) const
inline

Rpc specific:

Returns
doublet_R

Definition at line 1016 of file MuonFixedId.h.

1016  {
1017  return rpcDoubletRIndex() + kRpcDoubletRMin;
1018 }

◆ rpcDoubletRIndex()

int MuonCalib::MuonFixedId::rpcDoubletRIndex ( ) const
inline

Rpc specific:

Returns
doublet_R index

Definition at line 1012 of file MuonFixedId.h.

1012  {
1014 }

◆ rpcDoubletZ()

int MuonCalib::MuonFixedId::rpcDoubletZ ( ) const
inline

Rpc specific:

Returns
doublet_Z

Definition at line 1038 of file MuonFixedId.h.

1038  {
1039  return rpcDoubletZIndex() + kRpcDoubletZMin;
1040 }

◆ rpcDoubletZIndex()

int MuonCalib::MuonFixedId::rpcDoubletZIndex ( ) const
inline

Rpc specific:

Returns
doublet_Z index

Definition at line 1034 of file MuonFixedId.h.

1034  {
1036 }

◆ rpcGasGap()

int MuonCalib::MuonFixedId::rpcGasGap ( ) const
inline

Rpc specific:

Returns
gas_gap

Definition at line 1082 of file MuonFixedId.h.

1082  {
1083  return rpcGasGapIndex() + kRpcGasGapMin;
1084 }

◆ rpcGasGapIndex()

int MuonCalib::MuonFixedId::rpcGasGapIndex ( ) const
inline

Rpc specific:

Returns
gas_gap index

Definition at line 1078 of file MuonFixedId.h.

1078  {
1079  return (m_data >> kRpcGasGapShift) & kRpcGasGapMask;
1080 }

◆ rpcMeasuresPhi()

int MuonCalib::MuonFixedId::rpcMeasuresPhi ( ) const
inline

Rpc specific:

Returns
measures_phi

Definition at line 1104 of file MuonFixedId.h.

1104  {
1106 }

◆ rpcMeasuresPhiIndex()

int MuonCalib::MuonFixedId::rpcMeasuresPhiIndex ( ) const
inline

Rpc specific:

Returns
measures_phi index

Definition at line 1100 of file MuonFixedId.h.

1100  {
1102 }

◆ rpcStrip()

int MuonCalib::MuonFixedId::rpcStrip ( ) const
inline

Rpc specific:

Returns
strip

Definition at line 1126 of file MuonFixedId.h.

1126  {
1127  return rpcStripIndex() + kRpcStripMin;
1128 }

◆ rpcStripIndex()

int MuonCalib::MuonFixedId::rpcStripIndex ( ) const
inline

Rpc specific:

Returns
strip index

Definition at line 1122 of file MuonFixedId.h.

1122  {
1123  return (m_data >> kRpcStripShift) & kRpcStripMask;
1124 }

◆ set_csc()

void MuonCalib::MuonFixedId::set_csc ( )
inline

set identifier to CSC technology type

Definition at line 579 of file MuonFixedId.h.

579  {
581 }

◆ set_mdt()

void MuonCalib::MuonFixedId::set_mdt ( )
inline

set identifier to MDT technology type

Definition at line 575 of file MuonFixedId.h.

575  {
577 }

◆ set_rpc()

void MuonCalib::MuonFixedId::set_rpc ( )
inline

set identifier to RPC technology type

Definition at line 587 of file MuonFixedId.h.

587  {
589 }

◆ set_tgc()

void MuonCalib::MuonFixedId::set_tgc ( )
inline

set identifier to TGC technology type

Definition at line 583 of file MuonFixedId.h.

583  {
585 }

◆ setCscChamberLayer()

bool MuonCalib::MuonFixedId::setCscChamberLayer ( int  num)
inline

Csc specific: set chamber layer to num.

Returns
false if out of range

Definition at line 886 of file MuonFixedId.h.

886  {
888 }

◆ setCscChamberLayerIndex()

bool MuonCalib::MuonFixedId::setCscChamberLayerIndex ( unsigned int  idx)
inline

Csc specific: set chamber layer index to idx.

Returns
false if out of range

Definition at line 876 of file MuonFixedId.h.

876  {
877  if ( idx > kCscChamberLayerMask ) {
878  clear();
879  return false;
880  }
883  return true;
884 }

◆ setCscMeasuresPhi()

bool MuonCalib::MuonFixedId::setCscMeasuresPhi ( int  num)
inline

Csc specific: set measures_phi to num.

Returns
false if out of range

Definition at line 931 of file MuonFixedId.h.

931  {
933 }

◆ setCscMeasuresPhiIndex()

bool MuonCalib::MuonFixedId::setCscMeasuresPhiIndex ( unsigned int  idx)
inline

Csc specific: set measures_phi index to idx.

Returns
false if out of range

Definition at line 921 of file MuonFixedId.h.

921  {
922  if ( idx > kCscMeasuresPhiMask ) {
923  clear();
924  return false;
925  }
928  return true;
929 }

◆ setCscStrip()

bool MuonCalib::MuonFixedId::setCscStrip ( int  num)
inline

Csc specific: set strip to num.

Returns
false if out of range

Definition at line 953 of file MuonFixedId.h.

953  {
954  return setCscStripIndex( num - kCscStripMin );
955 }

◆ setCscStripIndex()

bool MuonCalib::MuonFixedId::setCscStripIndex ( unsigned int  idx)
inline

Csc specific: set strip index to idx.

Returns
false if out of range

Definition at line 943 of file MuonFixedId.h.

943  {
944  if ( idx > kCscStripMask ) {
945  clear();
946  return false;
947  }
950  return true;
951 }

◆ setCscWireLayer()

bool MuonCalib::MuonFixedId::setCscWireLayer ( int  num)
inline

Csc specific: set wire layer to num.

Returns
false if out of range

Definition at line 909 of file MuonFixedId.h.

909  {
911 }

◆ setCscWireLayerIndex()

bool MuonCalib::MuonFixedId::setCscWireLayerIndex ( unsigned int  idx)
inline

Csc specific: set wire layer index to idx.

Returns
false if out of range

Definition at line 899 of file MuonFixedId.h.

899  {
900  if ( idx > kCscWireLayerMask ) {
901  clear();
902  return false;
903  }
906  return true;
907 }

◆ setMdtMultilayer()

bool MuonCalib::MuonFixedId::setMdtMultilayer ( int  num)
inline

Mdt specific: set multilayer to num.

Returns
false if out of range

Definition at line 827 of file MuonFixedId.h.

827  {
829 }

◆ setMdtMultilayerIndex()

bool MuonCalib::MuonFixedId::setMdtMultilayerIndex ( unsigned int  idx)
inline

Mdt specific: set index idx for multilayer.

Returns
false if out of range

Definition at line 817 of file MuonFixedId.h.

817  {
818  if ( idx > kMdtMultilayerMask ) {
819  clear();
820  return false;
821  }
824  return true;
825 }

◆ setMdtTube()

bool MuonCalib::MuonFixedId::setMdtTube ( int  num)
inline

Mdt specific: set tube to num.

Returns
false if out of range

Definition at line 767 of file MuonFixedId.h.

767  {
768  return setMdtTubeIndex( num - kMdtTubeMin );
769 }

◆ setMdtTubeIndex()

bool MuonCalib::MuonFixedId::setMdtTubeIndex ( unsigned int  idx)
inline

Mdt specific: set index idx for tube.

Returns
false if out of range

Definition at line 757 of file MuonFixedId.h.

757  {
758  if ( idx > kMdtTubeMask ) {
759  clear();
760  return false;
761  }
764  return true;
765 }

◆ setMdtTubeLayer()

bool MuonCalib::MuonFixedId::setMdtTubeLayer ( int  num)
inline

Mdt specific: set layer to num.

Returns
false if out of range

Definition at line 805 of file MuonFixedId.h.

805  {
807 }

◆ setMdtTubeLayerIndex()

bool MuonCalib::MuonFixedId::setMdtTubeLayerIndex ( unsigned int  idx)
inline

Mdt specific: set index idx for layer.

Returns
false if out of range

Definition at line 795 of file MuonFixedId.h.

795  {
796  if ( idx > kMdtTubeLayerMask ) {
797  clear();
798  return false;
799  }
802  return true;
803 }

◆ setRpcDoubletPhi()

bool MuonCalib::MuonFixedId::setRpcDoubletPhi ( int  num)
inline

Rpc specific: set doublet_Phi to num.

Returns
false if out of range

Definition at line 1052 of file MuonFixedId.h.

1052  {
1054 }

◆ setRpcDoubletPhiIndex()

bool MuonCalib::MuonFixedId::setRpcDoubletPhiIndex ( unsigned int  idx)
inline

Rpc specific: set index for doublet_Phi to idx.

Returns
false if out of range

Definition at line 1042 of file MuonFixedId.h.

1042  {
1043  if ( idx > kRpcDoubletPhiMask ) {
1044  clear();
1045  return false;
1046  }
1049  return true;
1050 }

◆ setRpcDoubletR()

bool MuonCalib::MuonFixedId::setRpcDoubletR ( int  num)
inline

Rpc specific: set doublet_R to num.

Returns
false if out of range

Definition at line 1008 of file MuonFixedId.h.

1008  {
1010 }

◆ setRpcDoubletRIndex()

bool MuonCalib::MuonFixedId::setRpcDoubletRIndex ( unsigned int  idx)
inline

Rpc specific: set index for doublet_R to idx.

Returns
false if out of range

Definition at line 998 of file MuonFixedId.h.

998  {
999  if ( idx > kRpcDoubletRMask ) {
1000  clear();
1001  return false;
1002  }
1005  return true;
1006 }

◆ setRpcDoubletZ()

bool MuonCalib::MuonFixedId::setRpcDoubletZ ( int  num)
inline

Rpc specific: set doublet_Z to num.

Returns
false if out of range

Definition at line 1030 of file MuonFixedId.h.

1030  {
1032 }

◆ setRpcDoubletZIndex()

bool MuonCalib::MuonFixedId::setRpcDoubletZIndex ( unsigned int  idx)
inline

Rpc specific: set index for doublet_Z to idx.

Returns
false if out of range

Definition at line 1020 of file MuonFixedId.h.

1020  {
1021  if ( idx > kRpcDoubletZMask ) {
1022  clear();
1023  return false;
1024  }
1027  return true;
1028 }

◆ setRpcGasGap()

bool MuonCalib::MuonFixedId::setRpcGasGap ( int  num)
inline

Rpc specific: set gas_gap to num.

Returns
false if out of range

Definition at line 1074 of file MuonFixedId.h.

1074  {
1075  return setRpcGasGapIndex( num - kRpcGasGapMin );
1076 }

◆ setRpcGasGapIndex()

bool MuonCalib::MuonFixedId::setRpcGasGapIndex ( unsigned int  idx)
inline

Rpc specific: set index for gas_gap to idx.

Returns
false if out of range

Definition at line 1064 of file MuonFixedId.h.

1064  {
1065  if ( idx > kRpcGasGapMask ) {
1066  clear();
1067  return false;
1068  }
1071  return true;
1072 }

◆ setRpcMeasuresPhi()

bool MuonCalib::MuonFixedId::setRpcMeasuresPhi ( int  num)
inline

Rpc specific: set measures_phi to num.

Returns
false if out of range

Definition at line 1096 of file MuonFixedId.h.

1096  {
1098 }

◆ setRpcMeasuresPhiIndex()

bool MuonCalib::MuonFixedId::setRpcMeasuresPhiIndex ( unsigned int  idx)
inline

Rpc specific: set index for measures_phi to idx.

Returns
false if out of range

Definition at line 1086 of file MuonFixedId.h.

1086  {
1087  if ( idx > kRpcMeasuresPhiMask ) {
1088  clear();
1089  return false;
1090  }
1093  return true;
1094 }

◆ setRpcStrip()

bool MuonCalib::MuonFixedId::setRpcStrip ( int  num)
inline

Rpc specific: set strip to num.

Returns
false if out of range

Definition at line 1118 of file MuonFixedId.h.

1118  {
1119  return setRpcStripIndex( num - kRpcStripMin );
1120 }

◆ setRpcStripIndex()

bool MuonCalib::MuonFixedId::setRpcStripIndex ( unsigned int  idx)
inline

Rpc specific: set index for strip to idx.

Returns
false if out of range

Definition at line 1108 of file MuonFixedId.h.

1108  {
1109  if ( idx > kRpcStripMask ) {
1110  clear();
1111  return false;
1112  }
1113  m_data &= ~( kRpcStripMask << kRpcStripShift );
1115  return true;
1116 }

◆ setStationEta()

bool MuonCalib::MuonFixedId::setStationEta ( int  num)
inline

set station eta to num in the fixed identifier

Returns
false if out of range

Definition at line 673 of file MuonFixedId.h.

673  {
675 }

◆ setStationEtaIndex()

bool MuonCalib::MuonFixedId::setStationEtaIndex ( unsigned int  idx)
inline

set station eta index in the fixed identifier

Returns
false if out of range

Definition at line 663 of file MuonFixedId.h.

663  {
664  if ( idx > kStationEtaMask ) {
665  clear();
666  return false;
667  }
670  return true;
671 }

◆ setStationName()

bool MuonCalib::MuonFixedId::setStationName ( int  num)
inline

set station name to num in the fixed identifier

Returns
false if out of range

Definition at line 643 of file MuonFixedId.h.

643  {
645 }

◆ setStationNameIndex()

bool MuonCalib::MuonFixedId::setStationNameIndex ( unsigned int  idx)
inline

set station name index in the fixed identifier

Returns
false if out of range

Definition at line 633 of file MuonFixedId.h.

633  {
634  if ( idx > kStationNameMask ) {
635  clear();
636  return false;
637  }
640  return true;
641 }

◆ setStationPhi()

bool MuonCalib::MuonFixedId::setStationPhi ( int  num)
inline

set station phi to num in the fixed identifier

Returns
false if out of range

Definition at line 696 of file MuonFixedId.h.

696  {
698 }

◆ setStationPhiIndex()

bool MuonCalib::MuonFixedId::setStationPhiIndex ( unsigned int  idx)
inline

set station phi index in the fixed identifier

Returns
false if out of range

Definition at line 686 of file MuonFixedId.h.

686  {
687  if ( idx > kStationPhiMask ) {
688  clear();
689  return false;
690  }
693  return true;
694 }

◆ setTechnology()

bool MuonCalib::MuonFixedId::setTechnology ( int  num)
inline

set technology to num in the fixed identifier

Returns
false if out of range

Definition at line 613 of file MuonFixedId.h.

613  {
615 }

◆ setTechnologyIndex()

bool MuonCalib::MuonFixedId::setTechnologyIndex ( unsigned int  idx)
inline

set technology index in the fixed identifier

Returns
false if out of range

Definition at line 603 of file MuonFixedId.h.

603  {
604  if ( idx > kTechnologyMask ) {
605  clear();
606  return false;
607  }
610  return true;
611 }

◆ setTgcChannel()

bool MuonCalib::MuonFixedId::setTgcChannel ( int  num)
inline

Tgc specific: set channel to num.

Returns
false if out of range

Definition at line 1187 of file MuonFixedId.h.

1187  {
1189 }

◆ setTgcChannelIndex()

bool MuonCalib::MuonFixedId::setTgcChannelIndex ( unsigned int  idx)
inline

Tgc specific: set index for channel to idx.

Returns
false if out of range

Definition at line 1177 of file MuonFixedId.h.

1177  {
1178  if ( idx > kTgcChannelMask ) {
1179  clear();
1180  return false;
1181  }
1184  return true;
1185 }

◆ setTgcGasGap()

bool MuonCalib::MuonFixedId::setTgcGasGap ( int  num)
inline

Tgc specific: set gas_gap to num.

Returns
false if out of range

Definition at line 1142 of file MuonFixedId.h.

1142  {
1143  return setTgcGasGapIndex( num - kTgcGasGapMin );
1144 }

◆ setTgcGasGapIndex()

bool MuonCalib::MuonFixedId::setTgcGasGapIndex ( unsigned int  idx)
inline

Tgc specific: set index for gas_gap to idx.

Returns
false if out of range

Definition at line 1132 of file MuonFixedId.h.

1132  {
1133  if ( idx > kTgcGasGapMask ) {
1134  clear();
1135  return false;
1136  }
1139  return true;
1140 }

◆ setTgcIsStrip()

bool MuonCalib::MuonFixedId::setTgcIsStrip ( int  num)
inline

Tgc specific: set is_strip to num.

Returns
false if out of range

Definition at line 1164 of file MuonFixedId.h.

1164  {
1166 }

◆ setTgcIsStripIndex()

bool MuonCalib::MuonFixedId::setTgcIsStripIndex ( unsigned int  idx)
inline

Tgc specific: set index for is_strip to idx.

Returns
false if out of range

Definition at line 1154 of file MuonFixedId.h.

1154  {
1155  if ( idx > kTgcIsStripMask ) {
1156  clear();
1157  return false;
1158  }
1161  return true;
1162 }

◆ stationName()

int MuonCalib::MuonFixedId::stationName ( ) const
inline
Returns
station name

Definition at line 651 of file MuonFixedId.h.

651  {
653 }

◆ stationNameIndex()

int MuonCalib::MuonFixedId::stationNameIndex ( ) const
inline
Returns
station name index

Definition at line 647 of file MuonFixedId.h.

647  {
649 }

◆ stationNameMax()

int MuonCalib::MuonFixedId::stationNameMax ( )
inlinestatic
Returns
the maximum index used to store station name

Definition at line 728 of file MuonFixedId.h.

728  {
730 }

◆ stationNameMin()

int MuonCalib::MuonFixedId::stationNameMin ( )
inlinestatic
Returns
the minimum index used to store station name

Definition at line 712 of file MuonFixedId.h.

712  {
713  return kStationNameMin;
714 }

◆ stationNameString()

std::string MuonCalib::MuonFixedId::stationNameString ( ) const
inline
Returns
station name string

Definition at line 655 of file MuonFixedId.h.

655  {
656  int index = stationNameIndex();
657  if ( index >= 0 && index < kNumberOfStationNames ) {
658  return kStationNameStrings[index];
659  }
660  return "XXX";
661 }

◆ stationNumberToFixedStationString()

std::string MuonCalib::MuonFixedId::stationNumberToFixedStationString ( const int  station)
inlinestatic
Returns
the station name string given the fixed station number
Parameters
[in]stationthe station integer number

Definition at line 747 of file MuonFixedId.h.

747  {
748  int index = station - kStationNameMin;
749  if ( index >= 0 && index < kNumberOfStationNames ) {
750  return kStationNameStrings[index];
751  }
752  return "XXX"; // signal error if not found
753 }

◆ stationStringToFixedStationNumber()

int MuonCalib::MuonFixedId::stationStringToFixedStationNumber ( const std::string &  station)
inlinestatic
Returns
the fixed station number for a station name
Parameters
[in]stationthe station name string

Definition at line 740 of file MuonFixedId.h.

740  {
741  for ( int i = 0; i < kNumberOfStationNames; ++i ) {
742  if ( station == kStationNameStrings[i] ) return i + kStationNameMin;
743  }
744  return -1; // signal error if not found
745 }

◆ technology()

int MuonCalib::MuonFixedId::technology ( ) const
inline
Returns
technology

Definition at line 621 of file MuonFixedId.h.

621  {
622  return technologyIndex() + kTechnologyMin;
623 }

◆ technologyIndex()

int MuonCalib::MuonFixedId::technologyIndex ( ) const
inline
Returns
technology index

Definition at line 617 of file MuonFixedId.h.

617  {
619 }

◆ technologyMax()

int MuonCalib::MuonFixedId::technologyMax ( )
inlinestatic
Returns
the maximum index used to store technology

Definition at line 724 of file MuonFixedId.h.

724  {
726 }

◆ technologyMin()

int MuonCalib::MuonFixedId::technologyMin ( )
inlinestatic
Returns
the minimum index used to store technology

Definition at line 708 of file MuonFixedId.h.

708  {
709  return kTechnologyMin;
710 }

◆ technologyString()

std::string MuonCalib::MuonFixedId::technologyString ( ) const
inline
Returns
technology string

Definition at line 625 of file MuonFixedId.h.

625  {
626  int index = technologyIndex();
627  if ( index >= 0 && index < kNumberOfTechnologies ) {
628  return kTechnologyStrings[index];
629  }
630  return "???";
631 }

◆ tgcChannel()

int MuonCalib::MuonFixedId::tgcChannel ( ) const
inline

Tgc specific:

Returns
channel

Definition at line 1195 of file MuonFixedId.h.

1195  {
1196  return tgcChannelIndex() + kTgcChannelMin;
1197 }

◆ tgcChannelIndex()

int MuonCalib::MuonFixedId::tgcChannelIndex ( ) const
inline

Tgc specific:

Returns
channel index

Definition at line 1191 of file MuonFixedId.h.

1191  {
1192  return (m_data >> kTgcChannelShift) & kTgcChannelMask;
1193 }

◆ tgcGasGap()

int MuonCalib::MuonFixedId::tgcGasGap ( ) const
inline

Tgc specific:

Returns
gas_gap

Definition at line 1150 of file MuonFixedId.h.

1150  {
1151  return tgcGasGapIndex() + kTgcGasGapMin;
1152 }

◆ tgcGasGapIndex()

int MuonCalib::MuonFixedId::tgcGasGapIndex ( ) const
inline

Tgc specific:

Returns
gas_gap index

Definition at line 1146 of file MuonFixedId.h.

1146  {
1147  return (m_data >> kTgcGasGapShift) & kTgcGasGapMask;
1148 }

◆ tgcIsStrip()

int MuonCalib::MuonFixedId::tgcIsStrip ( ) const
inline

Tgc specific:

Returns
is_strip

Definition at line 1172 of file MuonFixedId.h.

1172  {
1173  return tgcIsStripIndex() + kTgcIsStripMin;
1174 }

◆ tgcIsStripIndex()

int MuonCalib::MuonFixedId::tgcIsStripIndex ( ) const
inline

Tgc specific:

Returns
is_strip index

Definition at line 1168 of file MuonFixedId.h.

1168  {
1169  return (m_data >> kTgcIsStripShift) & kTgcIsStripMask;
1170 }

Member Data Documentation

◆ kCscChamberLayerMask

const unsigned int MuonCalib::MuonFixedId::kCscChamberLayerMask = 1
staticprivate

Definition at line 477 of file MuonFixedId.h.

◆ kCscChamberLayerMin

const unsigned int MuonCalib::MuonFixedId::kCscChamberLayerMin = 1
staticprivate

Definition at line 479 of file MuonFixedId.h.

◆ kCscChamberLayerShift

const unsigned int MuonCalib::MuonFixedId::kCscChamberLayerShift = 11
staticprivate

Definition at line 478 of file MuonFixedId.h.

◆ kCscMeasuresPhiMask

const unsigned int MuonCalib::MuonFixedId::kCscMeasuresPhiMask = 1
staticprivate

Definition at line 485 of file MuonFixedId.h.

◆ kCscMeasuresPhiMin

const unsigned int MuonCalib::MuonFixedId::kCscMeasuresPhiMin = 0
staticprivate

Definition at line 487 of file MuonFixedId.h.

◆ kCscMeasuresPhiShift

const unsigned int MuonCalib::MuonFixedId::kCscMeasuresPhiShift = 8
staticprivate

Definition at line 486 of file MuonFixedId.h.

◆ kCscStripMask

const unsigned int MuonCalib::MuonFixedId::kCscStripMask = 255
staticprivate

Definition at line 489 of file MuonFixedId.h.

◆ kCscStripMin

const unsigned int MuonCalib::MuonFixedId::kCscStripMin = 1
staticprivate

Definition at line 491 of file MuonFixedId.h.

◆ kCscStripShift

const unsigned int MuonCalib::MuonFixedId::kCscStripShift = 0
staticprivate

Definition at line 490 of file MuonFixedId.h.

◆ kCscWireLayerMask

const unsigned int MuonCalib::MuonFixedId::kCscWireLayerMask = 3
staticprivate

Definition at line 481 of file MuonFixedId.h.

◆ kCscWireLayerMin

const unsigned int MuonCalib::MuonFixedId::kCscWireLayerMin = 1
staticprivate

Definition at line 483 of file MuonFixedId.h.

◆ kCscWireLayerShift

const unsigned int MuonCalib::MuonFixedId::kCscWireLayerShift = 9
staticprivate

Definition at line 482 of file MuonFixedId.h.

◆ kInvalidData

const unsigned int MuonCalib::MuonFixedId::kInvalidData = 0xFFFFFFFF
staticprivate

Definition at line 427 of file MuonFixedId.h.

◆ kMdtMultilayerMask

const unsigned int MuonCalib::MuonFixedId::kMdtMultilayerMask = 1
staticprivate

Definition at line 463 of file MuonFixedId.h.

◆ kMdtMultilayerMin

const unsigned int MuonCalib::MuonFixedId::kMdtMultilayerMin = 1
staticprivate

Definition at line 465 of file MuonFixedId.h.

◆ kMdtMultilayerShift

const unsigned int MuonCalib::MuonFixedId::kMdtMultilayerShift = 9
staticprivate

Definition at line 464 of file MuonFixedId.h.

◆ kMdtTubeLayerMask

const unsigned int MuonCalib::MuonFixedId::kMdtTubeLayerMask = 3
staticprivate

Definition at line 467 of file MuonFixedId.h.

◆ kMdtTubeLayerMin

const unsigned int MuonCalib::MuonFixedId::kMdtTubeLayerMin = 1
staticprivate

Definition at line 469 of file MuonFixedId.h.

◆ kMdtTubeLayerShift

const unsigned int MuonCalib::MuonFixedId::kMdtTubeLayerShift = 7
staticprivate

Definition at line 468 of file MuonFixedId.h.

◆ kMdtTubeMask

const unsigned int MuonCalib::MuonFixedId::kMdtTubeMask = 127
staticprivate

Definition at line 471 of file MuonFixedId.h.

◆ kMdtTubeMin

const unsigned int MuonCalib::MuonFixedId::kMdtTubeMin = 1
staticprivate

Definition at line 473 of file MuonFixedId.h.

◆ kMdtTubeShift

const unsigned int MuonCalib::MuonFixedId::kMdtTubeShift = 0
staticprivate

Definition at line 472 of file MuonFixedId.h.

◆ kNumberOfStationNames

const int MuonCalib::MuonFixedId::kNumberOfStationNames = 35
staticprivate

Definition at line 450 of file MuonFixedId.h.

◆ kNumberOfTechnologies

const int MuonCalib::MuonFixedId::kNumberOfTechnologies = 4
staticprivate

Definition at line 435 of file MuonFixedId.h.

◆ kRpcDoubletPhiMask

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletPhiMask = 1
staticprivate

Definition at line 503 of file MuonFixedId.h.

◆ kRpcDoubletPhiMin

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletPhiMin = 1
staticprivate

Definition at line 505 of file MuonFixedId.h.

◆ kRpcDoubletPhiShift

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletPhiShift = 9
staticprivate

Definition at line 504 of file MuonFixedId.h.

◆ kRpcDoubletRMask

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletRMask = 1
staticprivate

Definition at line 495 of file MuonFixedId.h.

◆ kRpcDoubletRMin

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletRMin = 1
staticprivate

Definition at line 497 of file MuonFixedId.h.

◆ kRpcDoubletRShift

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletRShift = 12
staticprivate

Definition at line 496 of file MuonFixedId.h.

◆ kRpcDoubletZMask

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletZMask = 3
staticprivate

Definition at line 499 of file MuonFixedId.h.

◆ kRpcDoubletZMin

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletZMin = 1
staticprivate

Definition at line 501 of file MuonFixedId.h.

◆ kRpcDoubletZShift

const unsigned int MuonCalib::MuonFixedId::kRpcDoubletZShift = 10
staticprivate

Definition at line 500 of file MuonFixedId.h.

◆ kRpcGasGapMask

const unsigned int MuonCalib::MuonFixedId::kRpcGasGapMask = 1
staticprivate

Definition at line 507 of file MuonFixedId.h.

◆ kRpcGasGapMin

const unsigned int MuonCalib::MuonFixedId::kRpcGasGapMin = 1
staticprivate

Definition at line 509 of file MuonFixedId.h.

◆ kRpcGasGapShift

const unsigned int MuonCalib::MuonFixedId::kRpcGasGapShift = 8
staticprivate

Definition at line 508 of file MuonFixedId.h.

◆ kRpcMeasuresPhiMask

const unsigned int MuonCalib::MuonFixedId::kRpcMeasuresPhiMask = 1
staticprivate

Definition at line 511 of file MuonFixedId.h.

◆ kRpcMeasuresPhiMin

const unsigned int MuonCalib::MuonFixedId::kRpcMeasuresPhiMin = 0
staticprivate

Definition at line 513 of file MuonFixedId.h.

◆ kRpcMeasuresPhiShift

const unsigned int MuonCalib::MuonFixedId::kRpcMeasuresPhiShift = 7
staticprivate

Definition at line 512 of file MuonFixedId.h.

◆ kRpcStripMask

const unsigned int MuonCalib::MuonFixedId::kRpcStripMask = 127
staticprivate

Definition at line 515 of file MuonFixedId.h.

◆ kRpcStripMin

const unsigned int MuonCalib::MuonFixedId::kRpcStripMin = 1
staticprivate

Definition at line 517 of file MuonFixedId.h.

◆ kRpcStripShift

const unsigned int MuonCalib::MuonFixedId::kRpcStripShift = 0
staticprivate

Definition at line 516 of file MuonFixedId.h.

◆ kStationEtaMask

const unsigned int MuonCalib::MuonFixedId::kStationEtaMask = 31
staticprivate

Definition at line 442 of file MuonFixedId.h.

◆ kStationEtaMin

const int MuonCalib::MuonFixedId::kStationEtaMin = -8
staticprivate

Definition at line 444 of file MuonFixedId.h.

◆ kStationEtaShift

const unsigned int MuonCalib::MuonFixedId::kStationEtaShift = 19
staticprivate

Definition at line 443 of file MuonFixedId.h.

◆ kStationMask

const unsigned int MuonCalib::MuonFixedId::kStationMask
staticprivate

◆ kStationNameMask

const unsigned int MuonCalib::MuonFixedId::kStationNameMask = 63
staticprivate

Definition at line 438 of file MuonFixedId.h.

◆ kStationNameMin

const unsigned int MuonCalib::MuonFixedId::kStationNameMin = 1
staticprivate

Definition at line 440 of file MuonFixedId.h.

◆ kStationNameShift

const unsigned int MuonCalib::MuonFixedId::kStationNameShift = 24
staticprivate

Definition at line 439 of file MuonFixedId.h.

◆ kStationNameStrings

const char MuonCalib::MuonFixedId::kStationNameStrings
staticprivate
Initial value:
= {
"BIL", "BIS", "BML", "BMS", "BOL", "BOS", "BEE", "BIR", "BMF", "BOF", "BOG", "BME", "BIM",
"EIC", "EIL", "EEL", "EES", "EMC", "EML", "EMS", "EOC", "EOL", "EOS", "EIS",
"T1F", "T1E", "T2F", "T2E", "T3F", "T3E", "T4F", "T4E", "CSS", "CSL", "BMG"
}

Definition at line 451 of file MuonFixedId.h.

◆ kStationPhiMask

const unsigned int MuonCalib::MuonFixedId::kStationPhiMask = 63
staticprivate

Definition at line 446 of file MuonFixedId.h.

◆ kStationPhiMin

const unsigned int MuonCalib::MuonFixedId::kStationPhiMin = 1
staticprivate

Definition at line 448 of file MuonFixedId.h.

◆ kStationPhiShift

const unsigned int MuonCalib::MuonFixedId::kStationPhiShift = 13
staticprivate

Definition at line 447 of file MuonFixedId.h.

◆ kStationShift

const unsigned int MuonCalib::MuonFixedId::kStationShift = kStationPhiShift
staticprivate

Definition at line 454 of file MuonFixedId.h.

◆ kTechnologyMask

const unsigned int MuonCalib::MuonFixedId::kTechnologyMask = 3
staticprivate

Definition at line 431 of file MuonFixedId.h.

◆ kTechnologyMin

const unsigned int MuonCalib::MuonFixedId::kTechnologyMin = 0
staticprivate

Definition at line 433 of file MuonFixedId.h.

◆ kTechnologyShift

const unsigned int MuonCalib::MuonFixedId::kTechnologyShift = 30
staticprivate

Definition at line 432 of file MuonFixedId.h.

◆ kTechnologyStrings

const char MuonCalib::MuonFixedId::kTechnologyStrings
staticprivate
Initial value:
= {
"MDT", "CSC", "TGC", "RPC"
}

Definition at line 436 of file MuonFixedId.h.

◆ kTgcChannelMask

const unsigned int MuonCalib::MuonFixedId::kTgcChannelMask = 255
staticprivate

Definition at line 528 of file MuonFixedId.h.

◆ kTgcChannelMin

const unsigned int MuonCalib::MuonFixedId::kTgcChannelMin = 1
staticprivate

Definition at line 530 of file MuonFixedId.h.

◆ kTgcChannelShift

const unsigned int MuonCalib::MuonFixedId::kTgcChannelShift = 0
staticprivate

Definition at line 529 of file MuonFixedId.h.

◆ kTgcGasGapMask

const unsigned int MuonCalib::MuonFixedId::kTgcGasGapMask = 3
staticprivate

Definition at line 520 of file MuonFixedId.h.

◆ kTgcGasGapMin

const unsigned int MuonCalib::MuonFixedId::kTgcGasGapMin = 1
staticprivate

Definition at line 522 of file MuonFixedId.h.

◆ kTgcGasGapShift

const unsigned int MuonCalib::MuonFixedId::kTgcGasGapShift = 9
staticprivate

Definition at line 521 of file MuonFixedId.h.

◆ kTgcIsStripMask

const unsigned int MuonCalib::MuonFixedId::kTgcIsStripMask = 1
staticprivate

Definition at line 524 of file MuonFixedId.h.

◆ kTgcIsStripMin

const unsigned int MuonCalib::MuonFixedId::kTgcIsStripMin = 0
staticprivate

Definition at line 526 of file MuonFixedId.h.

◆ kTgcIsStripShift

const unsigned int MuonCalib::MuonFixedId::kTgcIsStripShift = 8
staticprivate

Definition at line 525 of file MuonFixedId.h.

◆ m_data

unsigned int MuonCalib::MuonFixedId::m_data
private

Definition at line 425 of file MuonFixedId.h.

◆ technologyCSC

const int MuonCalib::MuonFixedId::technologyCSC = 1
static

Definition at line 419 of file MuonFixedId.h.

◆ technologyMDT

const int MuonCalib::MuonFixedId::technologyMDT = 0
static

constants for technology numbers

Definition at line 418 of file MuonFixedId.h.

◆ technologyRPC

const int MuonCalib::MuonFixedId::technologyRPC = 3
static

Definition at line 421 of file MuonFixedId.h.

◆ technologyTGC

const int MuonCalib::MuonFixedId::technologyTGC = 2
static

Definition at line 420 of file MuonFixedId.h.


The documentation for this class was generated from the following files:
MuonCalib::MuonFixedId::kRpcDoubletPhiMin
static const unsigned int kRpcDoubletPhiMin
Definition: MuonFixedId.h:505
MuonCalib::MuonFixedId::isValid
bool isValid() const
check validity of the identifier.
Definition: MuonFixedId.h:555
MuonCalib::MuonFixedId::rpcDoubletZIndex
int rpcDoubletZIndex() const
Rpc specific:
Definition: MuonFixedId.h:1034
MuonCalib::MuonFixedId::kCscWireLayerShift
static const unsigned int kCscWireLayerShift
Definition: MuonFixedId.h:482
MuonCalib::MuonFixedId::setCscWireLayerIndex
bool setCscWireLayerIndex(unsigned int idx)
Csc specific: set wire layer index to idx.
Definition: MuonFixedId.h:899
MuonCalib::MuonFixedId::setTgcIsStripIndex
bool setTgcIsStripIndex(unsigned int idx)
Tgc specific: set index for is_strip to idx.
Definition: MuonFixedId.h:1154
MuonCalib::MuonFixedId::tgcGasGap
int tgcGasGap() const
Tgc specific:
Definition: MuonFixedId.h:1150
MuonCalib::MuonFixedId::rpcMeasuresPhiIndex
int rpcMeasuresPhiIndex() const
Rpc specific:
Definition: MuonFixedId.h:1100
MuonCalib::MuonFixedId::kRpcStripMask
static const unsigned int kRpcStripMask
Definition: MuonFixedId.h:515
MuonCalib::MuonFixedId::kInvalidData
static const unsigned int kInvalidData
Definition: MuonFixedId.h:427
MuonCalib::MuonFixedId::kStationNameMask
static const unsigned int kStationNameMask
Definition: MuonFixedId.h:438
MuonCalib::MuonFixedId::rpcDoubletR
int rpcDoubletR() const
Rpc specific:
Definition: MuonFixedId.h:1016
MuonCalib::MuonFixedId::tgcChannelIndex
int tgcChannelIndex() const
Tgc specific:
Definition: MuonFixedId.h:1191
MuonCalib::MuonFixedId::kMdtTubeMin
static const unsigned int kMdtTubeMin
Definition: MuonFixedId.h:473
MuonCalib::MuonFixedId::kNumberOfStationNames
static const int kNumberOfStationNames
Definition: MuonFixedId.h:450
MuonCalib::MuonFixedId::kMdtTubeLayerShift
static const unsigned int kMdtTubeLayerShift
Definition: MuonFixedId.h:468
MuonCalib::MuonFixedId::kTgcChannelShift
static const unsigned int kTgcChannelShift
Definition: MuonFixedId.h:529
MuonCalib::MuonFixedId::technologyCSC
static const int technologyCSC
Definition: MuonFixedId.h:419
MuonCalib::MuonFixedId::stationNameIndex
int stationNameIndex() const
Definition: MuonFixedId.h:647
index
Definition: index.py:1
MuonCalib::MuonFixedId::kMdtMultilayerMin
static const unsigned int kMdtMultilayerMin
Definition: MuonFixedId.h:465
MuonCalib::MuonFixedId::kMdtTubeShift
static const unsigned int kMdtTubeShift
Definition: MuonFixedId.h:472
MuonCalib::MuonFixedId::cscStripIndex
int cscStripIndex() const
Csc specific:
Definition: MuonFixedId.h:957
MuonCalib::MuonFixedId::is_mdt
bool is_mdt() const
Definition: MuonFixedId.h:559
MuonCalib::MuonFixedId::cscChamberLayerIndex
int cscChamberLayerIndex() const
Csc specific:
Definition: MuonFixedId.h:890
MuonCalib::MuonFixedId::mdtMultilayer
int mdtMultilayer() const
Mdt specific:
Definition: MuonFixedId.h:835
MuonCalib::MuonFixedId::kCscChamberLayerMin
static const unsigned int kCscChamberLayerMin
Definition: MuonFixedId.h:479
MuonCalib::MuonFixedId::kMdtTubeLayerMask
static const unsigned int kMdtTubeLayerMask
Definition: MuonFixedId.h:467
MuonCalib::MuonFixedId::cscStrip
int cscStrip() const
Csc specific:
Definition: MuonFixedId.h:961
MuonCalib::MuonFixedId::setTechnologyIndex
bool setTechnologyIndex(unsigned int idx)
set technology index in the fixed identifier
Definition: MuonFixedId.h:603
MuonCalib::MuonFixedId::rpcDoubletRIndex
int rpcDoubletRIndex() const
Rpc specific:
Definition: MuonFixedId.h:1012
MuonCalib::MuonFixedId::technology
int technology() const
Definition: MuonFixedId.h:621
MuonCalib::MuonFixedId::kTgcIsStripMin
static const unsigned int kTgcIsStripMin
Definition: MuonFixedId.h:526
MuonCalib::MuonFixedId::setTechnology
bool setTechnology(int num)
set technology to num in the fixed identifier
Definition: MuonFixedId.h:613
MuonCalib::MuonFixedId::setStationPhiIndex
bool setStationPhiIndex(unsigned int idx)
set station phi index in the fixed identifier
Definition: MuonFixedId.h:686
MuonCalib::MuonFixedId::kCscMeasuresPhiShift
static const unsigned int kCscMeasuresPhiShift
Definition: MuonFixedId.h:486
MuonCalib::MuonFixedId::MuonFixedId
MuonFixedId()
default constructor
Definition: MuonFixedId.h:536
MuonCalib::MuonFixedId::kRpcDoubletPhiShift
static const unsigned int kRpcDoubletPhiShift
Definition: MuonFixedId.h:504
MuonCalib::MuonFixedId::setCscMeasuresPhiIndex
bool setCscMeasuresPhiIndex(unsigned int idx)
Csc specific: set measures_phi index to idx.
Definition: MuonFixedId.h:921
MuonCalib::MuonFixedId::setStationEtaIndex
bool setStationEtaIndex(unsigned int idx)
set station eta index in the fixed identifier
Definition: MuonFixedId.h:663
MuonCalib::MuonFixedId::kRpcStripMin
static const unsigned int kRpcStripMin
Definition: MuonFixedId.h:517
MuonCalib::MuonFixedId::stationNameString
std::string stationNameString() const
Definition: MuonFixedId.h:655
MuonCalib::MuonFixedId::kCscWireLayerMask
static const unsigned int kCscWireLayerMask
Definition: MuonFixedId.h:481
MuonCalib::MuonFixedId::mdtTubeIndex
int mdtTubeIndex() const
Mdt specific:
Definition: MuonFixedId.h:771
MuonCalib::MuonFixedId::kRpcGasGapShift
static const unsigned int kRpcGasGapShift
Definition: MuonFixedId.h:508
MuonCalib::MuonFixedId::setStationNameIndex
bool setStationNameIndex(unsigned int idx)
set station name index in the fixed identifier
Definition: MuonFixedId.h:633
MuonCalib::MuonFixedId::kRpcStripShift
static const unsigned int kRpcStripShift
Definition: MuonFixedId.h:516
MuonCalib::MuonFixedId::kRpcDoubletRMin
static const unsigned int kRpcDoubletRMin
Definition: MuonFixedId.h:497
MuonCalib::MuonFixedId::kStationNameShift
static const unsigned int kStationNameShift
Definition: MuonFixedId.h:439
MuonCalib::MuonFixedId::cscMeasuresPhiIndex
int cscMeasuresPhiIndex() const
Csc specific:
Definition: MuonFixedId.h:935
MuonCalib::MuonFixedId::kMdtTubeLayerMin
static const unsigned int kMdtTubeLayerMin
Definition: MuonFixedId.h:469
MuonCalib::MuonFixedId::setCscChamberLayerIndex
bool setCscChamberLayerIndex(unsigned int idx)
Csc specific: set chamber layer index to idx.
Definition: MuonFixedId.h:876
MuonCalib::MuonFixedId::kRpcDoubletRShift
static const unsigned int kRpcDoubletRShift
Definition: MuonFixedId.h:496
MuonCalib::MuonFixedId::mdtMultilayerIndex
int mdtMultilayerIndex() const
Mdt specific:
Definition: MuonFixedId.h:831
MuonCalib::MuonFixedId::kTgcChannelMin
static const unsigned int kTgcChannelMin
Definition: MuonFixedId.h:530
MuonCalib::MuonFixedId::rpcGasGapIndex
int rpcGasGapIndex() const
Rpc specific:
Definition: MuonFixedId.h:1078
MuonCalib::MuonFixedId::kCscMeasuresPhiMin
static const unsigned int kCscMeasuresPhiMin
Definition: MuonFixedId.h:487
MuonCalib::MuonFixedId::kCscMeasuresPhiMask
static const unsigned int kCscMeasuresPhiMask
Definition: MuonFixedId.h:485
MuonCalib::MuonFixedId::phiIndex
int phiIndex() const
Definition: MuonFixedId.h:700
MuonCalib::MuonFixedId::rpcStripIndex
int rpcStripIndex() const
Rpc specific:
Definition: MuonFixedId.h:1122
MuonCalib::MuonFixedId::tgcIsStripIndex
int tgcIsStripIndex() const
Tgc specific:
Definition: MuonFixedId.h:1168
MuonCalib::MuonFixedId::setRpcDoubletZIndex
bool setRpcDoubletZIndex(unsigned int idx)
Rpc specific: set index for doublet_Z to idx.
Definition: MuonFixedId.h:1020
MuonCalib::MuonFixedId::is_tgc
bool is_tgc() const
Definition: MuonFixedId.h:563
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonCalib::MuonFixedId::is_rpc
bool is_rpc() const
Definition: MuonFixedId.h:571
MuonCalib::MuonFixedId::tgcIsStrip
int tgcIsStrip() const
Tgc specific:
Definition: MuonFixedId.h:1172
MuonCalib::MuonFixedId::technologyTGC
static const int technologyTGC
Definition: MuonFixedId.h:420
MuonCalib::MuonFixedId::rpcDoubletZ
int rpcDoubletZ() const
Rpc specific:
Definition: MuonFixedId.h:1038
MuonCalib::MuonFixedId::rpcStrip
int rpcStrip() const
Rpc specific:
Definition: MuonFixedId.h:1126
MuonCalib::MuonFixedId::setCscStripIndex
bool setCscStripIndex(unsigned int idx)
Csc specific: set strip index to idx.
Definition: MuonFixedId.h:943
MuonCalib::MuonFixedId::rpcDoubletPhi
int rpcDoubletPhi() const
Rpc specific:
Definition: MuonFixedId.h:1060
MuonCalib::MuonFixedId::kRpcMeasuresPhiMask
static const unsigned int kRpcMeasuresPhiMask
Definition: MuonFixedId.h:511
MuonCalib::MuonFixedId::kTgcGasGapMask
static const unsigned int kTgcGasGapMask
Definition: MuonFixedId.h:520
MuonCalib::MuonFixedId::kStationMask
static const unsigned int kStationMask
Definition: MuonFixedId.h:455
MuonCalib::MuonFixedId::setTgcChannelIndex
bool setTgcChannelIndex(unsigned int idx)
Tgc specific: set index for channel to idx.
Definition: MuonFixedId.h:1177
MuonCalib::MuonFixedId::kTgcIsStripMask
static const unsigned int kTgcIsStripMask
Definition: MuonFixedId.h:524
MuonCalib::MuonFixedId::kMdtMultilayerMask
static const unsigned int kMdtMultilayerMask
Definition: MuonFixedId.h:463
MuonCalib::MuonFixedId::technologyMDT
static const int technologyMDT
constants for technology numbers
Definition: MuonFixedId.h:418
MuonCalib::MuonFixedId::kCscChamberLayerMask
static const unsigned int kCscChamberLayerMask
Definition: MuonFixedId.h:477
MuonCalib::MuonFixedId::kTgcChannelMask
static const unsigned int kTgcChannelMask
Definition: MuonFixedId.h:528
MuonCalib::MuonFixedId::kTechnologyMin
static const unsigned int kTechnologyMin
Definition: MuonFixedId.h:433
MuonCalib::MuonFixedId::kStationShift
static const unsigned int kStationShift
Definition: MuonFixedId.h:454
MuonCalib::MuonFixedId::kRpcMeasuresPhiMin
static const unsigned int kRpcMeasuresPhiMin
Definition: MuonFixedId.h:513
MuonCalib::MuonFixedId::kCscStripShift
static const unsigned int kCscStripShift
Definition: MuonFixedId.h:490
MuonCalib::MuonFixedId::kCscStripMask
static const unsigned int kCscStripMask
Definition: MuonFixedId.h:489
MuonCalib::MuonFixedId::clear
void clear()
clear the identifier (=set to invalid)
Definition: MuonFixedId.h:551
MuonCalib::MuonFixedId::rpcMeasuresPhi
int rpcMeasuresPhi() const
Rpc specific:
Definition: MuonFixedId.h:1104
MuonCalib::MuonFixedId::kStationPhiMask
static const unsigned int kStationPhiMask
Definition: MuonFixedId.h:446
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
MuonCalib::MuonFixedId::kStationEtaShift
static const unsigned int kStationEtaShift
Definition: MuonFixedId.h:443
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
MuonCalib::MuonFixedId::kTechnologyStrings
static const char kTechnologyStrings[kNumberOfTechnologies][4]
Definition: MuonFixedId.h:436
MuonCalib::MuonFixedId::kTgcGasGapShift
static const unsigned int kTgcGasGapShift
Definition: MuonFixedId.h:521
MuonCalib::MuonFixedId::cscWireLayer
int cscWireLayer() const
Csc specific:
Definition: MuonFixedId.h:917
MuonCalib::MuonFixedId::is_csc
bool is_csc() const
Definition: MuonFixedId.h:567
MuonCalib::MuonFixedId::setMdtTubeIndex
bool setMdtTubeIndex(unsigned int idx)
Mdt specific: set index idx for tube.
Definition: MuonFixedId.h:757
MuonCalib::MuonFixedId::kStationEtaMask
static const unsigned int kStationEtaMask
Definition: MuonFixedId.h:442
MuonCalib::MuonFixedId::kStationNameMin
static const unsigned int kStationNameMin
Definition: MuonFixedId.h:440
MuonCalib::MuonFixedId::stationName
int stationName() const
Definition: MuonFixedId.h:651
MuonCalib::MuonFixedId::kTgcIsStripShift
static const unsigned int kTgcIsStripShift
Definition: MuonFixedId.h:525
MuonCalib::MuonFixedId::kStationEtaMin
static const int kStationEtaMin
Definition: MuonFixedId.h:444
MuonCalib::MuonFixedId::m_data
unsigned int m_data
Definition: MuonFixedId.h:425
MuonCalib::MuonFixedId::cscWireLayerIndex
int cscWireLayerIndex() const
Csc specific:
Definition: MuonFixedId.h:913
MuonCalib::MuonFixedId::kMdtMultilayerShift
static const unsigned int kMdtMultilayerShift
Definition: MuonFixedId.h:464
MuonCalib::MuonFixedId::technologyRPC
static const int technologyRPC
Definition: MuonFixedId.h:421
MuonCalib::MuonFixedId::kRpcGasGapMin
static const unsigned int kRpcGasGapMin
Definition: MuonFixedId.h:509
MuonCalib::MuonFixedId::cscChamberLayer
int cscChamberLayer() const
Csc specific:
Definition: MuonFixedId.h:894
MuonCalib::MuonFixedId::kTgcGasGapMin
static const unsigned int kTgcGasGapMin
Definition: MuonFixedId.h:522
MuonCalib::MuonFixedId::phi
int phi() const
Definition: MuonFixedId.h:704
MuonCalib::MuonFixedId::kRpcDoubletRMask
static const unsigned int kRpcDoubletRMask
Definition: MuonFixedId.h:495
MuonCalib::MuonFixedId::kMdtTubeMask
static const unsigned int kMdtTubeMask
Definition: MuonFixedId.h:471
MuonCalib::MuonFixedId::rpcGasGap
int rpcGasGap() const
Rpc specific:
Definition: MuonFixedId.h:1082
DeMoScan.index
string index
Definition: DeMoScan.py:364
MuonCalib::MuonFixedId::setMdtTubeLayerIndex
bool setMdtTubeLayerIndex(unsigned int idx)
Mdt specific: set index idx for layer.
Definition: MuonFixedId.h:795
MuonCalib::MuonFixedId::kCscChamberLayerShift
static const unsigned int kCscChamberLayerShift
Definition: MuonFixedId.h:478
MuonCalib::MuonFixedId::kRpcDoubletPhiMask
static const unsigned int kRpcDoubletPhiMask
Definition: MuonFixedId.h:503
MuonCalib::MuonFixedId::kTechnologyMask
static const unsigned int kTechnologyMask
Definition: MuonFixedId.h:431
MuonCalib::MuonFixedId::kNumberOfTechnologies
static const int kNumberOfTechnologies
Definition: MuonFixedId.h:435
MuonCalib::MuonFixedId::setRpcMeasuresPhiIndex
bool setRpcMeasuresPhiIndex(unsigned int idx)
Rpc specific: set index for measures_phi to idx.
Definition: MuonFixedId.h:1086
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
MuonCalib::MuonFixedId::technologyIndex
int technologyIndex() const
Definition: MuonFixedId.h:617
MuonCalib::MuonFixedId::setRpcDoubletPhiIndex
bool setRpcDoubletPhiIndex(unsigned int idx)
Rpc specific: set index for doublet_Phi to idx.
Definition: MuonFixedId.h:1042
MuonCalib::MuonFixedId::tgcGasGapIndex
int tgcGasGapIndex() const
Tgc specific:
Definition: MuonFixedId.h:1146
MuonCalib::MuonFixedId::mdtTube
int mdtTube() const
Mdt specific:
Definition: MuonFixedId.h:775
MuonCalib::MuonFixedId::kCscStripMin
static const unsigned int kCscStripMin
Definition: MuonFixedId.h:491
MuonCalib::MuonFixedId::kRpcDoubletZShift
static const unsigned int kRpcDoubletZShift
Definition: MuonFixedId.h:500
MuonCalib::MuonFixedId::tgcChannel
int tgcChannel() const
Tgc specific:
Definition: MuonFixedId.h:1195
MuonCalib::MuonFixedId::eta
int eta() const
Definition: MuonFixedId.h:681
MuonCalib::MuonFixedId::setRpcDoubletRIndex
bool setRpcDoubletRIndex(unsigned int idx)
Rpc specific: set index for doublet_R to idx.
Definition: MuonFixedId.h:998
MuonCalib::MuonFixedId::mdtTubeLayerIndex
int mdtTubeLayerIndex() const
Mdt specific:
Definition: MuonFixedId.h:809
MuonCalib::MuonFixedId::kTechnologyShift
static const unsigned int kTechnologyShift
Definition: MuonFixedId.h:432
MuonCalib::MuonFixedId::kRpcDoubletZMask
static const unsigned int kRpcDoubletZMask
Definition: MuonFixedId.h:499
MuonCalib::MuonFixedId::kStationPhiMin
static const unsigned int kStationPhiMin
Definition: MuonFixedId.h:448
MuonCalib::MuonFixedId::kCscWireLayerMin
static const unsigned int kCscWireLayerMin
Definition: MuonFixedId.h:483
MuonCalib::MuonFixedId::setTgcGasGapIndex
bool setTgcGasGapIndex(unsigned int idx)
Tgc specific: set index for gas_gap to idx.
Definition: MuonFixedId.h:1132
MuonCalib::MuonFixedId::etaIndex
int etaIndex() const
Definition: MuonFixedId.h:677
MuonCalib::MuonFixedId::setMdtMultilayerIndex
bool setMdtMultilayerIndex(unsigned int idx)
Mdt specific: set index idx for multilayer.
Definition: MuonFixedId.h:817
MuonCalib::MuonFixedId::kRpcMeasuresPhiShift
static const unsigned int kRpcMeasuresPhiShift
Definition: MuonFixedId.h:512
MuonCalib::MuonFixedId::rpcDoubletPhiIndex
int rpcDoubletPhiIndex() const
Rpc specific:
Definition: MuonFixedId.h:1056
MuonCalib::MuonFixedId::kStationNameStrings
static const char kStationNameStrings[kNumberOfStationNames][4]
Definition: MuonFixedId.h:451
MuonCalib::MuonFixedId::mdtTubeLayer
int mdtTubeLayer() const
Mdt specific:
Definition: MuonFixedId.h:813
MuonCalib::MuonFixedId::cscMeasuresPhi
int cscMeasuresPhi() const
Csc specific:
Definition: MuonFixedId.h:939
MuonCalib::MuonFixedId::setRpcGasGapIndex
bool setRpcGasGapIndex(unsigned int idx)
Rpc specific: set index for gas_gap to idx.
Definition: MuonFixedId.h:1064
MuonCalib::MuonFixedId::kStationPhiShift
static const unsigned int kStationPhiShift
Definition: MuonFixedId.h:447
MuonCalib::MuonFixedId::setRpcStripIndex
bool setRpcStripIndex(unsigned int idx)
Rpc specific: set index for strip to idx.
Definition: MuonFixedId.h:1108
MuonCalib::MuonFixedId::kRpcGasGapMask
static const unsigned int kRpcGasGapMask
Definition: MuonFixedId.h:507
MuonCalib::MuonFixedId::technologyString
std::string technologyString() const
Definition: MuonFixedId.h:625
MuonCalib::MuonFixedId::kRpcDoubletZMin
static const unsigned int kRpcDoubletZMin
Definition: MuonFixedId.h:501