ATLAS Offline Software
MuonFixedLongId.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  * Muon Calibration Utilities
7  * -----------------------------------------
8  *
9  * Authors : Martin Woudstra, Zdenko van Kesteren, Peter Kluit
10  * Creation Date: 21 March 2005
11  * Updated : 03 December 2007
12  * Updated : 16 January 2015 E. Diehl Add BME/BOE/BMG chambers
13  * Note: BOE=BOL in offline, so do not need to explicitly add BOE, it will be handled as BOL
14  ***************************************************************************/
15 
16 
17 #ifndef MUONCALIBIDENTIFIER_MUONFIXEDLONGID_H
18 #define MUONCALIBIDENTIFIER_MUONFIXEDLONGID_H
19 
21 
22 // std
23 #include <iostream>
24 #include <iomanip>
25 #include <string>
26 
27 #include <cstdlib>
28 #include <limits>
29 #include <cstdint>
30 
35 namespace MuonCalib {
36 
51 public:
52 
54  enum Technology {
61  };
62 
64  enum StationName {
65  BIL = 1,
66  BIS = 2,
67  BML = 3,
68  BMS = 4,
69  BOL = 5,
70  BOS = 6,
71  BEE = 7,
72  BIR = 8,
73  BMF = 9,
74  BOF = 10,
75  BOG = 11,
76  BME = 12,
77  BIM = 13,
78  EIC = 14,
79  EIL = 15,
80  EEL = 16,
81  EES = 17,
82  EMC = 18,
83  EML = 19,
84  EMS = 20,
85  EOC = 21,
86  EOL = 22,
87  EOS = 23,
88  EIS = 24,
89  T1F = 25,
90  T1E = 26,
91  T2F = 27,
92  T2E = 28,
93  T3F = 29,
94  T3E = 30,
95  T4F = 31,
96  T4E = 32,
97  CSS = 33,
98  CSL = 34,
99  BMG = 35,
100  MMS = 36,
101  MML = 37,
102  STS = 38,
103  STL = 39,
104  INVALID = -1,
105  };
106 
112  };
113 
115  MuonFixedLongId();
117  explicit MuonFixedLongId( uint64_t id );
118 
121 
123  uint64_t getIdLong() const;
125  void clear();
127  bool isValid() const;
128 
130  bool is_mdt() const;
132  bool is_tgc() const;
134  bool is_csc() const;
136  bool is_rpc() const;
138  bool is_mmg() const;
140  bool is_stg() const;
141 
143  void set_mdt();
145  void set_tgc();
147  void set_csc();
149  void set_rpc();
151  void set_mmg();
153  void set_stg();
154 
155 
157  bool operator==( const MuonFixedLongId& rhs ) const;
159  bool operator!=( const MuonFixedLongId& rhs ) const;
161  bool operator<( const MuonFixedLongId& rhs ) const;
162 
164  std::ostream& dump(std::ostream& os) const;
165 
166 // friend std::istream& operator>>( std::istream& is, MuonCalib::MuonFixedLongId& id );
167 
168 // Muon generic code
169 
172  bool setTechnology( Technology num );
178  bool setStationEta( int num );
181  bool setStationPhi( int num );
182 
184  Technology technology() const;
186  std::string_view technologyString() const;
188  StationName stationName() const;
190  std::string_view stationNameString() const;
192  int eta() const;
194  int phi() const;
195 
197  static int technologyMin();
199  static int stationNameMin();
201  static int etaMin();
203  static int phiMin();
204 
206  static int technologyMax();
208  static int stationNameMax();
210  static int etaMax();
212  static int phiMax();
213 
217  static StationName stationStringToFixedStationNumber(std::string_view station);
221  static std::string_view stationNumberToFixedStationString(StationName station);
222 
223 
224 // Mdt specific code
225 
228  bool setMdtTube( int num );
231  bool setMdtTubeLayer( int num );
234  bool setMdtMultilayer( int num );
235 
237  int mdtTube() const;
239  int mdtTubeLayer() const;
241  int mdtMultilayer() const;
244  int mdtMezzanine() const;
245 
248 
251 
253  static int mdtTubeMin();
255  static int mdtTubeLayerMin();
257  static int mdtMultilayerMin();
258 
260  static int mdtTubeMax();
262  static int mdtTubeLayerMax();
264  static int mdtMultilayerMax();
265 
266 
267 // Csc specific code
268 
271  bool setCscChamberLayer( int num );
274  bool setCscWireLayer( int num );
277  bool setCscMeasuresPhi( int num );
280  bool setCscStrip( int num );
281 
283  int cscChamberLayer() const;
285  int cscWireLayer() const;
287  int cscMeasuresPhi() const;
289  int cscStrip() const;
290 
292  static int cscChamberLayerMin();
294  static int cscWireLayerMin();
296  static int cscMeasuresPhiMin();
298  static int cscStripMin();
299 
301  static int cscChamberLayerMax();
303  static int cscWireLayerMax();
305  static int cscMeasuresPhiMax();
307  static int cscStripMax();
308 
309 // Rpc specific code
310 
313  bool setRpcDoubletR( int num );
316  bool setRpcDoubletZ( int num );
319  bool setRpcDoubletPhi( int num );
322  bool setRpcGasGap( int num );
325  bool setRpcMeasuresPhi( int num );
328  bool setRpcStrip( int num );
329 
332  int rpcDoubletR() const;
335  int rpcDoubletZ() const;
338  int rpcDoubletPhi() const;
341  int rpcGasGap() const;
344  int rpcMeasuresPhi() const;
347  int rpcStrip() const;
348 
349 // Tgc specific code
350 
353  bool setTgcGasGap( int num );
356  bool setTgcIsStrip( int num );
359  bool setTgcChannel( int num );
360 
363  int tgcGasGap() const;
366  int tgcIsStrip() const;
369  int tgcChannel() const;
370 
371 // Mmg specific code
372 
375  bool setMmgMultilayer( int num );
378  bool setMmgGasGap( int num );
381  bool setMmgStrip( int num );
382 
385  int mmgMultilayer() const;
388  int mmgGasGap() const;
390  int mmgStrip() const;
392  bool mmgIsStereo() const;
393 
394 // Stg specific code
395 
398  bool setStgMultilayer( int num );
401  bool setStgGasGap( int num );
407  bool setStgChannel( int num );
408 
411  int stgMultilayer() const;
414  int stgGasGap() const;
420  int stgChannel() const;
421 
422 
423 private:
424  // Private member functions
425 
426 // Muon generic code
427 
440 
442  unsigned int technologyIndex() const;
444  unsigned int stationNameIndex() const;
446  unsigned int etaIndex() const;
448  unsigned int phiIndex() const;
449 
450 // Mdt specific code
451 
454  bool setMdtTubeIndex( uint64_t idx ) ;
461 
463  unsigned int mdtTubeIndex() const;
465  unsigned int mdtTubeLayerIndex() const;
467  unsigned int mdtMultilayerIndex() const;
468 
469 // Csc specific code
470 
482  bool setCscStripIndex( uint64_t idx );
483 
485  unsigned int cscChamberLayerIndex() const;
487  unsigned int cscWireLayerIndex() const;
489  unsigned int cscMeasuresPhiIndex() const;
491  unsigned int cscStripIndex() const;
492 
493 // Rpc specific code
494 
512  bool setRpcStripIndex( uint64_t idx );
513 
516  unsigned int rpcDoubletRIndex() const;
519  unsigned int rpcDoubletZIndex() const;
522  unsigned int rpcDoubletPhiIndex() const;
525  unsigned int rpcGasGapIndex() const;
528  unsigned int rpcMeasuresPhiIndex() const;
531  unsigned int rpcStripIndex() const;
532 
533 // Tgc specific code
534 
537  bool setTgcGasGapIndex( uint64_t idx );
544 
547  unsigned int tgcGasGapIndex() const;
550  unsigned int tgcIsStripIndex() const;
553  unsigned int tgcChannelIndex() const;
554 
555 // Mmg specific code
556 
565  bool setMmgStripIndex( uint64_t idx );
566 
568  unsigned int mmgMultilayerIndex() const;
571  unsigned int mmgGasGapIndex() const;
573  unsigned int mmgStripIndex() const;
574 
575 // Stg specific code
576 
589 
591  unsigned int stgMultilayerIndex() const;
594  unsigned int stgGasGapIndex() const;
597  unsigned int stgChannelTypeIndex() const;
600  unsigned int stgChannelIndex() const;
601 
602 
603 
604  // the member holding the packed fields
606 
607  static const uint64_t kInvalidData = 0xFFFFFFFFFFFFFFFF;
608 
609 // Muon generic
610 
611  static const uint64_t kTechnologyMask = 15;
612  static const unsigned int kTechnologyShift = 60;
613  static const int kTechnologyMin = 0;
614 
615  static const int kNumberOfTechnologies = 6;
617 
618  static const uint64_t kStationNameMask = 127;
619  static const unsigned int kStationNameShift = 53;
620  static const int kStationNameMin = 1;
621 
622  static const uint64_t kStationEtaMask = 63;
623  static const unsigned int kStationEtaShift = 47;
624  static const int kStationEtaMin = -31;
625 
626  static const uint64_t kStationPhiMask = 127;
627  static const unsigned int kStationPhiShift = 40;
628  static const int kStationPhiMin = 1;
629 
630  static const int kNumberOfStationNames = 39;
632 
633  // the full station information for making a station identifier
634  static const unsigned int kStationShift = kStationPhiShift; // the smallest shift
635  static const uint64_t kStationMask =
639  (kStationPhiMask << kStationPhiShift) ) >> kStationShift; // kStationShift for consistent meaning
640 
641 // Mdt specific code
642 
643  static const uint64_t kMdtMultilayerMask = 7;
644  static const unsigned int kMdtMultilayerShift = 14;
645  static const int kMdtMultilayerMin = 1;
646 
647  static const uint64_t kMdtTubeLayerMask = 15;
648  static const unsigned int kMdtTubeLayerShift = 10;
649  static const int kMdtTubeLayerMin = 1;
650 
651  static const uint64_t kMdtTubeMask = 1023;
652  static const unsigned int kMdtTubeShift = 0;
653  static const int kMdtTubeMin = 1;
654 
655 // Csc specific code
656 
657  static const uint64_t kCscChamberLayerMask = 7;
658  static const unsigned int kCscChamberLayerShift = 15;
659  static const int kCscChamberLayerMin = 1;
660 
661  static const uint64_t kCscWireLayerMask = 15;
662  static const unsigned int kCscWireLayerShift = 11;
663  static const int kCscWireLayerMin = 1;
664 
665  static const uint64_t kCscMeasuresPhiMask = 1;
666  static const unsigned int kCscMeasuresPhiShift = 10;
667  static const int kCscMeasuresPhiMin = 0;
668 
669  static const uint64_t kCscStripMask = 1023;
670  static const unsigned int kCscStripShift = 0;
671  static const int kCscStripMin = 1;
672 
673 // Rpc specific code
674 
675  static const uint64_t kRpcDoubletRMask = 3;
676  static const unsigned int kRpcDoubletRShift = 20;
677  static const int kRpcDoubletRMin = 1;
678 
679  static const uint64_t kRpcDoubletZMask = 15;
680  static const unsigned int kRpcDoubletZShift = 16;
681  static const int kRpcDoubletZMin = 1;
682 
683  static const uint64_t kRpcDoubletPhiMask = 3;
684  static const unsigned int kRpcDoubletPhiShift = 14;
685  static const int kRpcDoubletPhiMin = 1;
686 
687  static const uint64_t kRpcGasGapMask = 3;
688  static const unsigned int kRpcGasGapShift = 12;
689  static const int kRpcGasGapMin = 1;
690 
691  static const uint64_t kRpcMeasuresPhiMask = 3;
692  static const unsigned int kRpcMeasuresPhiShift = 10;
693  static const int kRpcMeasuresPhiMin = 0;
694 
695  static const uint64_t kRpcStripMask = 1023;
696  static const unsigned int kRpcStripShift = 0;
697  static const int kRpcStripMin = 1;
698 
699 // Tgc specific code
700  static const uint64_t kTgcGasGapMask = 7;
701  static const unsigned int kTgcGasGapShift = 11;
702  static const int kTgcGasGapMin = 1;
703 
704  static const uint64_t kTgcIsStripMask = 1;
705  static const unsigned int kTgcIsStripShift = 10;
706  static const int kTgcIsStripMin = 0;
707 
708  static const uint64_t kTgcChannelMask = 1023;
709  static const unsigned int kTgcChannelShift = 0;
710  static const int kTgcChannelMin = 1;
711 
712 // MM specific code
713  static const uint64_t kMmgMultilayerMask = 7;
714  static const unsigned int kMmgMultilayerShift = 19;
715  static const int kMmgMultilayerMin = 1;
716 
717  static const uint64_t kMmgGasGapMask = 15;
718  static const unsigned int kMmgGasGapShift = 15;
719  static const int kMmgGasGapMin = 1;
720 
721  static const uint64_t kMmgStripMask = 32767;
722  static const unsigned int kMmgStripShift = 0;
723  static const int kMmgStripMin = 0;
724 
725 // sTGC specific code
726  static const uint64_t kStgMultilayerMask = 7;
727  static const unsigned int kStgMultilayerShift = 21;
728  static const int kStgMultilayerMin = 1;
729 
730  static const uint64_t kStgGasGapMask = 15;
731  static const unsigned int kStgGasGapShift = 17;
732  static const int kStgGasGapMin = 1;
733 
734  static const uint64_t kStgChannelTypeMask = 3;
735  static const unsigned int kStgChannelTypeShift = 15;
736  static const int kStgChannelTypeMin = 0;
737 
738  static const uint64_t kStgChannelMask = 32767;
739  static const unsigned int kStgChannelShift = 0;
740  static const int kStgChannelMin = 0;
741 };
742 
743 // Muon generic methods
744 
746  : m_data(kInvalidData){
747  }
748 
751  // we were passed a 32 bit identifier, import values from MuonFixedId
752  initFromFixedId(MuonFixedId(static_cast<uint32_t>(id)));
753  } else {
754  m_data = id;
755  }
756 }
757 
759  return m_data;
760 }
761 /* void MuonFixedLongId::setMuonIdentifier( int id ){ */
762 /* if( id>-1 || id<kInvalidData ) m_data = id; */
763 /* else m_data = kInvalidData; */
764 /* } */
765 
766 inline void MuonFixedLongId::clear() {
768 }
769 
770 inline bool MuonFixedLongId::isValid() const {
771  return m_data != kInvalidData;
772 }
773 
774 inline bool MuonFixedLongId::is_mdt() const{
775  return isValid() && technology() == Technology::technologyMDT;
776 }
777 
778 inline bool MuonFixedLongId::is_tgc() const{
779  return isValid() && technology() == Technology::technologyTGC;
780 }
781 
782 inline bool MuonFixedLongId::is_csc() const{
783  return isValid() && technology() == Technology::technologyCSC;
784 }
785 
786 inline bool MuonFixedLongId::is_rpc() const{
787  return isValid() && technology() == Technology::technologyRPC;
788 }
789 
790 inline bool MuonFixedLongId::is_mmg() const{
791  return isValid() && technology() == Technology::technologyMMG;
792 }
793 
794 inline bool MuonFixedLongId::is_stg() const{
795  return isValid() && technology() == Technology::technologySTG;
796 }
797 
799  setTechnology( Technology::technologyMDT );
800 }
801 
803  setTechnology( Technology::technologyCSC );
804 }
805 
807  setTechnology( Technology::technologyTGC );
808 }
809 
811  setTechnology( Technology::technologyRPC );
812 }
813 
815  setTechnology( Technology::technologyMMG );
816 }
817 
819  setTechnology( Technology::technologySTG );
820 }
821 
822 inline bool MuonFixedLongId::operator==( const MuonFixedLongId& rhs ) const {
823  return m_data == rhs.m_data;
824 }
825 
826 inline bool MuonFixedLongId::operator!=( const MuonFixedLongId& rhs ) const {
827  return m_data != rhs.m_data;
828 }
829 
830 inline bool MuonFixedLongId::operator<( const MuonFixedLongId& rhs ) const {
831  return m_data < rhs.m_data;
832 }
833 
835  if ( idx > kTechnologyMask ) {
836  clear();
837  return false;
838  }
841  return true;
842 }
843 
846 }
847 
848 inline unsigned int MuonFixedLongId::technologyIndex() const {
850 }
851 
853  return static_cast<Technology>(technologyIndex() + kTechnologyMin);
854 }
855 
856 inline std::string_view MuonFixedLongId::technologyString() const {
857  int index = technologyIndex();
858  if ( index >= 0 && index < kNumberOfTechnologies ) {
859  return kTechnologyStrings[index];
860  }
861  return "???";
862 }
863 
865  if ( idx > kStationNameMask ) {
866  clear();
867  return false;
868  }
871  return true;
872 }
873 
876 }
877 
878 inline unsigned int MuonFixedLongId::stationNameIndex() const {
880 }
881 
883  return static_cast<StationName>(stationNameIndex() + kStationNameMin);
884 }
885 
886 inline std::string_view MuonFixedLongId::stationNameString() const {
887  int index = stationNameIndex();
888  if ( index >= 0 && index < kNumberOfStationNames ) {
889  return kStationNameStrings[index];
890  }
891  return "XXX";
892 }
893 
895  if ( idx > kStationEtaMask ) {
896  clear();
897  return false;
898  }
901  return true;
902 }
903 
906 }
907 
908 inline unsigned int MuonFixedLongId::etaIndex() const {
910 }
911 
912 inline int MuonFixedLongId::eta() const {
913  return etaIndex() + kStationEtaMin;
914 }
915 
916 
918  if ( idx > kStationPhiMask ) {
919  clear();
920  return false;
921  }
924  return true;
925 }
926 
929 }
930 
931 inline unsigned int MuonFixedLongId::phiIndex() const {
933 }
934 
935 inline int MuonFixedLongId::phi() const {
936  return phiIndex() + kStationPhiMin;
937 }
938 
940  return kTechnologyMin;
941 }
942 
944  return kStationNameMin;
945 }
946 
948  return kStationEtaMin;
949 }
950 
952  return kStationPhiMin;
953 }
954 
957 }
958 
961 }
962 
965 }
966 
969 }
970 
972  for ( int i = 0; i < kNumberOfStationNames; ++i ) {
973  if ( station == kStationNameStrings[i] ) return static_cast<StationName>(i + kStationNameMin);
974  }
975  return StationName::INVALID; // signal error if not found
976 }
977 
979  int index = station - kStationNameMin;
980  if ( index >= 0 && index < kNumberOfStationNames ) {
981  return kStationNameStrings[index];
982  }
983  return "XXX"; // signal error if not found
984 }
985 
986 // Mdt specific methods
987 
989  if ( idx > kMdtTubeMask ) {
990  clear();
991  return false;
992  }
995  return true;
996 }
997 
998 inline bool MuonFixedLongId::setMdtTube( int num ) {
999  return setMdtTubeIndex( num - kMdtTubeMin );
1000 }
1001 
1002 inline unsigned int MuonFixedLongId::mdtTubeIndex() const {
1003  return (m_data >> kMdtTubeShift) & kMdtTubeMask;
1004 }
1005 
1006 inline int MuonFixedLongId::mdtTube() const {
1007  return mdtTubeIndex() + kMdtTubeMin;
1008 }
1009 
1010 inline int MuonFixedLongId::mdtMezzanine() const {
1011  StationName Ichamber = stationName() ;
1012  int Ieta = eta() ;
1013  int Iphi = phi() ;
1014  int Iml = mdtMultilayer() ;
1015  int Itube = mdtTube() ;
1016  if (Ieta < 0 ) Ieta = -Ieta*10 ;
1017  int ImezzTubes = 8 ;
1018  if (Ichamber==StationName::BIL || Ichamber==StationName::BIS || Ichamber==StationName::BIR
1019  || Ichamber==StationName::BIM || Ichamber==StationName::BEE || Ichamber==StationName::EIL
1020  || Ichamber==StationName::EIS) {
1021  ImezzTubes=6;
1022  }
1023 //exception BIS eta=8 is a 3-layer chamber
1024  if(Ichamber==StationName::BIS && std::abs(Ieta)==8) ImezzTubes=8;
1025  int Imezz = ((Itube-1)/ImezzTubes)*2+(Iml-1) ;
1026  Imezz = 9*100000000 + Ichamber*1000000 + Ieta*10000 + Iphi*100 + Imezz ;
1027  return Imezz ;
1028 }
1029 
1031  if ( idx > kMdtTubeLayerMask ) {
1032  clear();
1033  return false;
1034  }
1037  return true;
1038 }
1039 
1042 }
1043 
1044 inline unsigned int MuonFixedLongId::mdtTubeLayerIndex() const {
1046 }
1047 
1048 inline int MuonFixedLongId::mdtTubeLayer() const {
1050 }
1051 
1053  if ( idx > kMdtMultilayerMask ) {
1054  clear();
1055  return false;
1056  }
1059  return true;
1060 }
1061 
1064 }
1065 
1066 inline unsigned int MuonFixedLongId::mdtMultilayerIndex() const {
1068 }
1069 
1072 }
1073 
1075  return kMdtTubeMin;
1076 }
1077 
1079  return kMdtTubeMin + kMdtTubeMask;
1080 }
1081 
1083  return kMdtTubeLayerMin;
1084 }
1085 
1088 }
1089 
1091  return kMdtMultilayerMin;
1092 }
1093 
1096 }
1097 
1099  // mdt chamber id = muon station id
1101 }
1102 
1104  // mdt multilayer id = muon station id + multilayer field
1106 }
1107 
1108 
1109 // Csc specific methods
1110 
1112  if ( idx > kCscChamberLayerMask ) {
1113  clear();
1114  return false;
1115  }
1118  return true;
1119 }
1120 
1123 }
1124 
1125 inline unsigned int MuonFixedLongId::cscChamberLayerIndex() const {
1127 }
1128 
1131 }
1132 
1133 
1135  if ( idx > kCscWireLayerMask ) {
1136  clear();
1137  return false;
1138  }
1141  return true;
1142 }
1143 
1146 }
1147 
1148 inline unsigned int MuonFixedLongId::cscWireLayerIndex() const {
1150 }
1151 
1152 inline int MuonFixedLongId::cscWireLayer() const {
1154 }
1155 
1157  if ( idx > kCscMeasuresPhiMask ) {
1158  clear();
1159  return false;
1160  }
1163  return true;
1164 }
1165 
1168 }
1169 
1170 inline unsigned int MuonFixedLongId::cscMeasuresPhiIndex() const {
1172 }
1173 
1176 }
1177 
1179  if ( idx > kCscStripMask ) {
1180  clear();
1181  return false;
1182  }
1183  m_data &= ~( kCscStripMask << kCscStripShift );
1185  return true;
1186 }
1187 
1188 inline bool MuonFixedLongId::setCscStrip( int num ) {
1189  return setCscStripIndex( num - kCscStripMin );
1190 }
1191 
1192 inline unsigned int MuonFixedLongId::cscStripIndex() const {
1193  return (m_data >> kCscStripShift) & kCscStripMask;
1194 }
1195 
1196 inline int MuonFixedLongId::cscStrip() const {
1197  return cscStripIndex() + kCscStripMin;
1198 }
1199 
1201  return kCscChamberLayerMin;
1202 }
1203 
1206 }
1207 
1209  return kCscWireLayerMin;
1210 }
1211 
1214 }
1215 
1217  return kCscMeasuresPhiMin;
1218 }
1219 
1222 }
1223 
1225  return kCscStripMin;
1226 }
1227 
1229  return kCscStripMin + kCscStripMask;
1230 }
1231 
1232 // Rpc specific methods
1234  if ( idx > kRpcDoubletRMask ) {
1235  clear();
1236  return false;
1237  }
1240  return true;
1241 }
1242 
1245 }
1246 
1247 inline unsigned int MuonFixedLongId::rpcDoubletRIndex() const {
1249 }
1250 
1251 inline int MuonFixedLongId::rpcDoubletR() const {
1252  return rpcDoubletRIndex() + kRpcDoubletRMin;
1253 }
1254 
1256  if ( idx > kRpcDoubletZMask ) {
1257  clear();
1258  return false;
1259  }
1262  return true;
1263 }
1264 
1267 }
1268 
1269 inline unsigned int MuonFixedLongId::rpcDoubletZIndex() const {
1271 }
1272 
1273 inline int MuonFixedLongId::rpcDoubletZ() const {
1274  return rpcDoubletZIndex() + kRpcDoubletZMin;
1275 }
1276 
1278  if ( idx > kRpcDoubletPhiMask ) {
1279  clear();
1280  return false;
1281  }
1284  return true;
1285 }
1286 
1289 }
1290 
1291 inline unsigned int MuonFixedLongId::rpcDoubletPhiIndex() const {
1293 }
1294 
1297 }
1298 
1300  if ( idx > kRpcGasGapMask ) {
1301  clear();
1302  return false;
1303  }
1306  return true;
1307 }
1308 
1310  return setRpcGasGapIndex( num - kRpcGasGapMin );
1311 }
1312 
1313 inline unsigned int MuonFixedLongId::rpcGasGapIndex() const {
1314  return (m_data >> kRpcGasGapShift) & kRpcGasGapMask;
1315 }
1316 
1317 inline int MuonFixedLongId::rpcGasGap() const {
1318  return rpcGasGapIndex() + kRpcGasGapMin;
1319 }
1320 
1322  if ( idx > kRpcMeasuresPhiMask ) {
1323  clear();
1324  return false;
1325  }
1328  return true;
1329 }
1330 
1333 }
1334 
1335 inline unsigned int MuonFixedLongId::rpcMeasuresPhiIndex() const {
1337 }
1338 
1341 }
1342 
1344  if ( idx > kRpcStripMask ) {
1345  clear();
1346  return false;
1347  }
1348  m_data &= ~( kRpcStripMask << kRpcStripShift );
1350  return true;
1351 }
1352 
1353 inline bool MuonFixedLongId::setRpcStrip( int num ) {
1354  return setRpcStripIndex( num - kRpcStripMin );
1355 }
1356 
1357 inline unsigned int MuonFixedLongId::rpcStripIndex() const {
1358  return (m_data >> kRpcStripShift) & kRpcStripMask;
1359 }
1360 
1361 inline int MuonFixedLongId::rpcStrip() const {
1362  return rpcStripIndex() + kRpcStripMin;
1363 }
1364 
1365 
1366 // Tgc specific methods
1368  if ( idx > kTgcGasGapMask ) {
1369  clear();
1370  return false;
1371  }
1374  return true;
1375 }
1376 
1378  return setTgcGasGapIndex( num - kTgcGasGapMin );
1379 }
1380 
1381 inline unsigned int MuonFixedLongId::tgcGasGapIndex() const {
1382  return (m_data >> kTgcGasGapShift) & kTgcGasGapMask;
1383 }
1384 
1385 inline int MuonFixedLongId::tgcGasGap() const {
1386  return tgcGasGapIndex() + kTgcGasGapMin;
1387 }
1388 
1390  if ( idx > kTgcIsStripMask ) {
1391  clear();
1392  return false;
1393  }
1396  return true;
1397 }
1398 
1401 }
1402 
1403 inline unsigned int MuonFixedLongId::tgcIsStripIndex() const {
1404  return (m_data >> kTgcIsStripShift) & kTgcIsStripMask;
1405 }
1406 
1407 inline int MuonFixedLongId::tgcIsStrip() const {
1408  return tgcIsStripIndex() + kTgcIsStripMin;
1409 }
1410 
1411 
1413  if ( idx > kTgcChannelMask ) {
1414  clear();
1415  return false;
1416  }
1419  return true;
1420 }
1421 
1424 }
1425 
1426 inline unsigned int MuonFixedLongId::tgcChannelIndex() const {
1427  return (m_data >> kTgcChannelShift) & kTgcChannelMask;
1428 }
1429 
1430 inline int MuonFixedLongId::tgcChannel() const {
1431  return tgcChannelIndex() + kTgcChannelMin;
1432 }
1433 
1434 
1435 // MMG specific methods
1437  if ( idx > kMmgMultilayerMask ) {
1438  clear();
1439  return false;
1440  }
1443  return true;
1444 }
1447 }
1448 inline unsigned int MuonFixedLongId::mmgMultilayerIndex () const {
1450 }
1451 inline int MuonFixedLongId::mmgMultilayer () const {
1453 }
1454 
1456  if ( idx > kMmgGasGapMask ) {
1457  clear();
1458  return false;
1459  }
1462  return true;
1463 }
1464 inline bool MuonFixedLongId::setMmgGasGap ( int num ) {
1465  return setMmgGasGapIndex( num - kMmgGasGapMin );
1466 }
1467 inline unsigned int MuonFixedLongId::mmgGasGapIndex () const {
1468  return (m_data >> kMmgGasGapShift) & kMmgGasGapMask;
1469 }
1470 inline int MuonFixedLongId::mmgGasGap () const {
1471  return mmgGasGapIndex() + kMmgGasGapMin;
1472 }
1473 
1475  if ( idx > kMmgStripMask ) {
1476  clear();
1477  return false;
1478  }
1479  m_data &= ~( kMmgStripMask << kMmgStripShift );
1481  return true;
1482 }
1483 inline bool MuonFixedLongId::setMmgStrip ( int num ) {
1484  return setMmgStripIndex( num - kMmgStripMin );
1485 }
1486 inline unsigned int MuonFixedLongId::mmgStripIndex () const {
1487  return (m_data >> kMmgStripShift) & kMmgStripMask;
1488 }
1489 inline int MuonFixedLongId::mmgStrip () const {
1490  return mmgStripIndex() + kMmgStripMin;
1491 }
1492 inline bool MuonFixedLongId::mmgIsStereo() const {
1493  if (mmgMultilayer() == 1) {
1494  return mmgGasGap() > 2;
1495  } else {
1496  return mmgGasGap() <= 2;
1497  }
1498 }
1499 
1500 // STGC specific code
1502  if ( idx > kStgMultilayerMask ) {
1503  clear();
1504  return false;
1505  }
1508  return true;
1509 }
1512 }
1513 inline unsigned int MuonFixedLongId::stgMultilayerIndex () const {
1515 }
1516 inline int MuonFixedLongId::stgMultilayer () const {
1518 }
1519 
1521  if ( idx > kStgGasGapMask ) {
1522  clear();
1523  return false;
1524  }
1527  return true;
1528 }
1529 inline bool MuonFixedLongId::setStgGasGap ( int num ) {
1530  return setStgGasGapIndex( num - kStgGasGapMin );
1531 }
1532 inline unsigned int MuonFixedLongId::stgGasGapIndex () const {
1533  return (m_data >> kStgGasGapShift) & kStgGasGapMask;
1534 }
1535 inline int MuonFixedLongId::stgGasGap () const {
1536  return stgGasGapIndex() + kStgGasGapMin;
1537 }
1538 
1540  if ( idx > kStgChannelTypeMask ) {
1541  clear();
1542  return false;
1543  }
1546  return true;
1547 }
1550 }
1551 inline unsigned int MuonFixedLongId::stgChannelTypeIndex () const {
1553 }
1556 }
1557 
1559  if ( idx > kStgChannelMask ) {
1560  clear();
1561  return false;
1562  }
1565  return true;
1566 }
1569 }
1570 inline unsigned int MuonFixedLongId::stgChannelIndex () const {
1571  return (m_data >> kStgChannelShift) & kStgChannelMask;
1572 }
1573 inline int MuonFixedLongId::stgChannel () const {
1574  return stgChannelIndex() + kStgChannelMin;
1575 }
1576 
1577 inline std::ostream& operator<<( std::ostream& os, const MuonCalib::MuonFixedLongId& id ) {
1578  return id.dump( os );
1579 }
1580 } //MuonCalib namespace
1581 
1582 /*
1583 ***** must solve conflicts between MuonCalib namespace and friendship
1584 inline std::istream& operator>>( std::istream& is, MuonCalib::MuonFixedLongId& id){
1585  is >> id.m_data ;
1586  return is;
1587 }
1588 */
1589 #endif // MUONCALIBIDENTIFIER_MUONFIXEDLONGID_H
BIS
@ BIS
Definition: RegSelEnums.h:11
MuonCalib::MuonFixedLongId::operator!=
bool operator!=(const MuonFixedLongId &rhs) const
comparison operator
Definition: MuonFixedLongId.h:826
MuonCalib::MuonFixedLongId::kCscMeasuresPhiShift
static const unsigned int kCscMeasuresPhiShift
Definition: MuonFixedLongId.h:666
MuonCalib::MuonFixedLongId::setStgChannelTypeIndex
bool setStgChannelTypeIndex(uint64_t idx)
Stg specific: set index for channel_type to idx.
Definition: MuonFixedLongId.h:1539
MuonCalib::MuonFixedLongId::rpcStripIndex
unsigned int rpcStripIndex() const
Rpc specific:
Definition: MuonFixedLongId.h:1357
MuonCalib::MuonFixedLongId::mmgStripIndex
unsigned int mmgStripIndex() const
Mmg specific:
Definition: MuonFixedLongId.h:1486
MuonCalib::MuonFixedLongId::kStgMultilayerMask
static const uint64_t kStgMultilayerMask
Definition: MuonFixedLongId.h:726
MuonCalib::MuonFixedLongId::kStgChannelTypeMin
static const int kStgChannelTypeMin
Definition: MuonFixedLongId.h:736
MuonCalib::MuonFixedLongId::kTgcGasGapMin
static const int kTgcGasGapMin
Definition: MuonFixedLongId.h:702
MuonCalib::MuonFixedLongId::BIM
@ BIM
Definition: MuonFixedLongId.h:77
MuonCalib::MuonFixedLongId::rpcDoubletPhiIndex
unsigned int rpcDoubletPhiIndex() const
Rpc specific:
Definition: MuonFixedLongId.h:1291
MuonCalib::MuonFixedLongId::technologyCSC
@ technologyCSC
Definition: MuonFixedLongId.h:56
MuonCalib::MuonFixedLongId::rpcDoubletRIndex
unsigned int rpcDoubletRIndex() const
Rpc specific:
Definition: MuonFixedLongId.h:1247
MuonCalib::MuonFixedLongId::kMdtTubeLayerMin
static const int kMdtTubeLayerMin
Definition: MuonFixedLongId.h:649
MuonCalib::MuonFixedLongId::tgcGasGapIndex
unsigned int tgcGasGapIndex() const
Tgc specific:
Definition: MuonFixedLongId.h:1381
MuonCalib::MuonFixedLongId::mmgMultilayer
int mmgMultilayer() const
Mmg specific:
Definition: MuonFixedLongId.h:1451
MuonCalib::MuonFixedLongId::kStationEtaMin
static const int kStationEtaMin
Definition: MuonFixedLongId.h:624
MuonCalib::MuonFixedLongId::phi
int phi() const
Definition: MuonFixedLongId.h:935
MuonCalib::MuonFixedLongId::kMdtMultilayerMask
static const uint64_t kMdtMultilayerMask
Definition: MuonFixedLongId.h:643
MuonCalib::MuonFixedLongId::setStationPhiIndex
bool setStationPhiIndex(uint64_t idx)
set station phi index in the fixed identifier
Definition: MuonFixedLongId.h:917
MuonCalib::MuonFixedLongId::T3F
@ T3F
Definition: MuonFixedLongId.h:93
MuonCalib::MuonFixedLongId::stationNameMax
static int stationNameMax()
Definition: MuonFixedLongId.h:959
MuonCalib::MuonFixedLongId::is_tgc
bool is_tgc() const
Definition: MuonFixedLongId.h:778
MuonCalib::MuonFixedLongId::setStgChannel
bool setStgChannel(int num)
Stg specific: set channel to num.
Definition: MuonFixedLongId.h:1567
MuonCalib::MuonFixedLongId::is_mdt
bool is_mdt() const
Definition: MuonFixedLongId.h:774
MuonCalib::MuonFixedLongId::STS
@ STS
Definition: MuonFixedLongId.h:102
MuonCalib::MuonFixedLongId::mmgGasGapIndex
unsigned int mmgGasGapIndex() const
Mmg specific:
Definition: MuonFixedLongId.h:1467
MuonCalib::MuonFixedLongId::kStationPhiShift
static const unsigned int kStationPhiShift
Definition: MuonFixedLongId.h:627
BIL
@ BIL
Definition: RegSelEnums.h:10
MuonCalib::MuonFixedLongId::mmgStrip
int mmgStrip() const
Mmg specific:
Definition: MuonFixedLongId.h:1489
MuonCalib::MuonFixedLongId::technologyRPC
@ technologyRPC
Definition: MuonFixedLongId.h:58
MuonCalib::MuonFixedLongId::initFromFixedId
void initFromFixedId(MuonFixedId other)
for backward compatibility
Definition: MuonFixedLongId.cxx:9
MuonCalib::MuonFixedLongId::setRpcDoubletZIndex
bool setRpcDoubletZIndex(uint64_t idx)
Rpc specific: set index for doublet_Z to idx.
Definition: MuonFixedLongId.h:1255
MuonCalib::MuonFixedLongId::EES
@ EES
Definition: MuonFixedLongId.h:81
MuonCalib::MuonFixedLongId::setTgcIsStrip
bool setTgcIsStrip(int num)
Tgc specific: set is_strip to num.
Definition: MuonFixedLongId.h:1399
MuonCalib::MuonFixedLongId::technologyIndex
unsigned int technologyIndex() const
Definition: MuonFixedLongId.h:848
MuonCalib::MuonFixedLongId::setStgChannelIndex
bool setStgChannelIndex(uint64_t idx)
Stg specific: set index for channel to idx.
Definition: MuonFixedLongId.h:1558
MuonCalib::MuonFixedLongId::rpcDoubletZIndex
unsigned int rpcDoubletZIndex() const
Rpc specific:
Definition: MuonFixedLongId.h:1269
MuonCalib::MuonFixedLongId::kNumberOfTechnologies
static const int kNumberOfTechnologies
Definition: MuonFixedLongId.h:615
MuonCalib::MuonFixedLongId::tgcChannelIndex
unsigned int tgcChannelIndex() const
Tgc specific:
Definition: MuonFixedLongId.h:1426
MuonCalib::MuonFixedLongId::BEE
@ BEE
Definition: MuonFixedLongId.h:71
MuonCalib::MuonFixedLongId::technologyString
std::string_view technologyString() const
Definition: MuonFixedLongId.h:856
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
MuonCalib::MuonFixedLongId::mdtMultilayerMin
static int mdtMultilayerMin()
Mdt specific:
Definition: MuonFixedLongId.h:1090
MuonCalib::MuonFixedLongId::kRpcDoubletZMin
static const int kRpcDoubletZMin
Definition: MuonFixedLongId.h:681
MuonCalib::MuonFixedLongId::cscMeasuresPhiIndex
unsigned int cscMeasuresPhiIndex() const
Csc specific:
Definition: MuonFixedLongId.h:1170
MuonCalib::MuonFixedLongId::technologyMMG
@ technologyMMG
Definition: MuonFixedLongId.h:59
MuonCalib::MuonFixedLongId::set_csc
void set_csc()
set identifier to CSC technology type
Definition: MuonFixedLongId.h:802
index
Definition: index.py:1
MuonCalib::MuonFixedLongId::EEL
@ EEL
Definition: MuonFixedLongId.h:80
MuonCalib::MuonFixedLongId::setStationName
bool setStationName(StationName num)
set station name to num in the fixed identifier
Definition: MuonFixedLongId.h:874
MuonCalib::MuonFixedLongId::mdtTubeMin
static int mdtTubeMin()
Mdt specific:
Definition: MuonFixedLongId.h:1074
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
MuonCalib::MuonFixedLongId::StationName
StationName
an enum with the station names
Definition: MuonFixedLongId.h:64
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
MuonCalib::MuonFixedLongId::setStationNameIndex
bool setStationNameIndex(uint64_t idx)
set station name index in the fixed identifier
Definition: MuonFixedLongId.h:864
MuonCalib::MuonFixedLongId::setRpcDoubletZ
bool setRpcDoubletZ(int num)
Rpc specific: set doublet_Z to num.
Definition: MuonFixedLongId.h:1265
xAOD::L2MuonParameters::BEE
@ BEE
BEE measurement point.
Definition: TrigMuonDefs.h:24
MuonCalib::MuonFixedLongId::BML
@ BML
Definition: MuonFixedLongId.h:67
MuonCalib::MuonFixedLongId::setTgcGasGapIndex
bool setTgcGasGapIndex(uint64_t idx)
Tgc specific: set index for gas_gap to idx.
Definition: MuonFixedLongId.h:1367
MuonCalib::MuonFixedLongId::setStgMultilayer
bool setStgMultilayer(int num)
Stg specific: set multilayer to num.
Definition: MuonFixedLongId.h:1510
MuonCalib::MuonFixedLongId::setRpcDoubletRIndex
bool setRpcDoubletRIndex(uint64_t idx)
Rpc specific: set index for doublet_R to idx.
Definition: MuonFixedLongId.h:1233
MuonCalib::MuonFixedLongId::setMmgGasGapIndex
bool setMmgGasGapIndex(uint64_t idx)
Mmg specific: set index for gas_gap to idx.
Definition: MuonFixedLongId.h:1455
BIR
@ BIR
Definition: RegSelEnums.h:17
MuonCalib::MuonFixedLongId::cscChamberLayerMax
static int cscChamberLayerMax()
Csc specific:
Definition: MuonFixedLongId.h:1204
MuonCalib::MuonFixedLongId::mdtTubeLayer
int mdtTubeLayer() const
Mdt specific:
Definition: MuonFixedLongId.h:1048
MuonCalib::MuonFixedLongId::BME
@ BME
Definition: MuonFixedLongId.h:76
MuonCalib::MuonFixedLongId::isValid
bool isValid() const
check validity of the identifier.
Definition: MuonFixedLongId.h:770
MuonCalib::MuonFixedLongId::kTechnologyShift
static const unsigned int kTechnologyShift
Definition: MuonFixedLongId.h:612
MuonCalib::MuonFixedLongId::rpcMeasuresPhi
int rpcMeasuresPhi() const
Rpc specific:
Definition: MuonFixedLongId.h:1339
MuonCalib::MuonFixedLongId::setStationPhi
bool setStationPhi(int num)
set station phi to num in the fixed identifier
Definition: MuonFixedLongId.h:927
MuonCalib::MuonFixedLongId::kStgMultilayerShift
static const unsigned int kStgMultilayerShift
Definition: MuonFixedLongId.h:727
MuonCalib::MuonFixedLongId::setStgMultilayerIndex
bool setStgMultilayerIndex(uint64_t idx)
Stg specific: set index idx for multilayer.
Definition: MuonFixedLongId.h:1501
MuonCalib::MuonFixedLongId::kTgcChannelMask
static const uint64_t kTgcChannelMask
Definition: MuonFixedLongId.h:708
MuonCalib::MuonFixedLongId::m_data
uint64_t m_data
Definition: MuonFixedLongId.h:605
MuonCalib::MuonFixedLongId::kRpcMeasuresPhiMin
static const int kRpcMeasuresPhiMin
Definition: MuonFixedLongId.h:693
MuonCalib::MuonFixedLongId::mmgIsStereo
bool mmgIsStereo() const
Mmg specific: check if layer is stereo.
Definition: MuonFixedLongId.h:1492
MuonCalib::MuonFixedLongId::kCscWireLayerMask
static const uint64_t kCscWireLayerMask
Definition: MuonFixedLongId.h:661
MuonCalib::MuonFixedLongId::is_mmg
bool is_mmg() const
Definition: MuonFixedLongId.h:790
MuonCalib::MuonFixedLongId::kStationMask
static const uint64_t kStationMask
Definition: MuonFixedLongId.h:635
MuonCalib::MuonFixedLongId::T2F
@ T2F
Definition: MuonFixedLongId.h:91
MuonCalib::MuonFixedLongId::kStationEtaShift
static const unsigned int kStationEtaShift
Definition: MuonFixedLongId.h:623
MuonCalib::MuonFixedLongId::getIdLong
uint64_t getIdLong() const
Definition: MuonFixedLongId.h:758
MuonCalib::MuonFixedLongId::cscChamberLayerMin
static int cscChamberLayerMin()
Csc specific:
Definition: MuonFixedLongId.h:1200
MuonCalib::MuonFixedLongId::kCscWireLayerMin
static const int kCscWireLayerMin
Definition: MuonFixedLongId.h:663
MuonCalib::MuonFixedLongId::mmgGasGap
int mmgGasGap() const
Mmg specific:
Definition: MuonFixedLongId.h:1470
MuonCalib::MuonFixedLongId::tgcIsStripIndex
unsigned int tgcIsStripIndex() const
Tgc specific:
Definition: MuonFixedLongId.h:1403
MuonCalib::MuonFixedLongId::setStationEtaIndex
bool setStationEtaIndex(uint64_t idx)
set station eta index in the fixed identifier
Definition: MuonFixedLongId.h:894
MuonCalib::MuonFixedLongId::is_stg
bool is_stg() const
Definition: MuonFixedLongId.h:794
MuonCalib::MuonFixedLongId::setStgGasGapIndex
bool setStgGasGapIndex(uint64_t idx)
Stg specific: set index for gas_gap to idx.
Definition: MuonFixedLongId.h:1520
MuonCalib::MuonFixedLongId::tgcGasGap
int tgcGasGap() const
Tgc specific:
Definition: MuonFixedLongId.h:1385
MuonCalib::MuonFixedLongId::kCscMeasuresPhiMin
static const int kCscMeasuresPhiMin
Definition: MuonFixedLongId.h:667
MuonCalib::MuonFixedLongId::setStationEta
bool setStationEta(int num)
set station eta to num in the fixed identifier
Definition: MuonFixedLongId.h:904
MuonCalib::MuonFixedLongId::kRpcGasGapMin
static const int kRpcGasGapMin
Definition: MuonFixedLongId.h:689
MuonCalib::MuonFixedLongId::EIL
@ EIL
Definition: MuonFixedLongId.h:79
CxxUtils::INVALID
@ INVALID
Definition: CachedValue.h:28
MuonCalib::MuonFixedLongId::setMmgMultilayer
bool setMmgMultilayer(int num)
Mmg specific: set multilayer to num.
Definition: MuonFixedLongId.h:1445
MuonCalib::MuonFixedLongId::StgChannelType
StgChannelType
an enum with the STGC channel types
Definition: MuonFixedLongId.h:108
MuonCalib::MuonFixedLongId::T1E
@ T1E
Definition: MuonFixedLongId.h:90
MuonCalib::MuonFixedLongId::setCscChamberLayerIndex
bool setCscChamberLayerIndex(uint64_t idx)
Csc specific: set chamber layer index to idx.
Definition: MuonFixedLongId.h:1111
MuonCalib::MuonFixedLongId::rpcGasGap
int rpcGasGap() const
Rpc specific:
Definition: MuonFixedLongId.h:1317
MuonCalib::MuonFixedLongId::mdtTube
int mdtTube() const
Mdt specific:
Definition: MuonFixedLongId.h:1006
MuonCalib::MuonFixedLongId::kTgcGasGapShift
static const unsigned int kTgcGasGapShift
Definition: MuonFixedLongId.h:701
MuonCalib::MuonFixedLongId::setTgcChannelIndex
bool setTgcChannelIndex(uint64_t idx)
Tgc specific: set index for channel to idx.
Definition: MuonFixedLongId.h:1412
MuonCalib::MuonFixedLongId::kTgcIsStripMask
static const uint64_t kTgcIsStripMask
Definition: MuonFixedLongId.h:704
MuonCalib::MuonFixedLongId::kStgChannelTypeMask
static const uint64_t kStgChannelTypeMask
Definition: MuonFixedLongId.h:734
MuonCalib::MuonFixedLongId::mdtChamberId
MuonFixedLongId mdtChamberId() const
Mdt specific: convert channel ID into MDT Chamber ID.
Definition: MuonFixedLongId.h:1098
MuonCalib::MuonFixedLongId::kRpcDoubletPhiMask
static const uint64_t kRpcDoubletPhiMask
Definition: MuonFixedLongId.h:683
MuonCalib::MuonFixedLongId::kStationPhiMin
static const int kStationPhiMin
Definition: MuonFixedLongId.h:628
MuonCalib::MuonFixedLongId::rpcGasGapIndex
unsigned int rpcGasGapIndex() const
Rpc specific:
Definition: MuonFixedLongId.h:1313
MuonCalib::MuonFixedLongId::setCscStripIndex
bool setCscStripIndex(uint64_t idx)
Csc specific: set strip index to idx.
Definition: MuonFixedLongId.h:1178
MuonCalib::MuonFixedLongId::setMdtTube
bool setMdtTube(int num)
Mdt specific: set tube to num.
Definition: MuonFixedLongId.h:998
MuonCalib::MuonFixedLongId::tgcChannel
int tgcChannel() const
Tgc specific:
Definition: MuonFixedLongId.h:1430
MuonCalib::MuonFixedLongId::kRpcStripMask
static const uint64_t kRpcStripMask
Definition: MuonFixedLongId.h:695
MuonCalib::MuonFixedLongId::setMdtMultilayer
bool setMdtMultilayer(int num)
Mdt specific: set multilayer to num.
Definition: MuonFixedLongId.h:1062
MuonCalib::MuonFixedLongId::operator==
bool operator==(const MuonFixedLongId &rhs) const
comparison operator
Definition: MuonFixedLongId.h:822
MuonCalib::MuonFixedLongId::setTechnologyIndex
bool setTechnologyIndex(uint64_t idx)
set technology index in the fixed identifier
Definition: MuonFixedLongId.h:834
MuonCalib::MuonFixedLongId::setMdtTubeLayer
bool setMdtTubeLayer(int num)
Mdt specific: set layer to num.
Definition: MuonFixedLongId.h:1040
MuonCalib::MuonFixedLongId::EML
@ EML
Definition: MuonFixedLongId.h:83
MuonCalib::MuonFixedLongId::kMdtMultilayerMin
static const int kMdtMultilayerMin
Definition: MuonFixedLongId.h:645
MuonCalib::MuonFixedLongId::stgMultilayer
int stgMultilayer() const
Stg specific:
Definition: MuonFixedLongId.h:1516
MuonCalib::MuonFixedLongId::set_mmg
void set_mmg()
set identifier to MMG technology type
Definition: MuonFixedLongId.h:814
MuonCalib::MuonFixedLongId::set_tgc
void set_tgc()
set identifier to TGC technology type
Definition: MuonFixedLongId.h:806
MuonCalib::MuonFixedLongId::kStationNameMask
static const uint64_t kStationNameMask
Definition: MuonFixedLongId.h:618
MuonCalib::MuonFixedLongId::stgChannelIndex
unsigned int stgChannelIndex() const
Stg specific:
Definition: MuonFixedLongId.h:1570
MuonCalib::MuonFixedLongId::setTechnology
bool setTechnology(Technology num)
set technology to num in the fixed identifier
Definition: MuonFixedLongId.h:844
MuonCalib::MuonFixedLongId::stgChannelTypeIndex
unsigned int stgChannelTypeIndex() const
Stg specific:
Definition: MuonFixedLongId.h:1551
MuonCalib::MuonFixedLongId::setCscMeasuresPhi
bool setCscMeasuresPhi(int num)
Csc specific: set measures_phi to num.
Definition: MuonFixedLongId.h:1166
MuonCalib::MuonFixedLongId
Definition: MuonFixedLongId.h:50
MuonCalib::MuonFixedLongId::EMC
@ EMC
Definition: MuonFixedLongId.h:82
MuonCalib::MuonFixedLongId::kStationEtaMask
static const uint64_t kStationEtaMask
Definition: MuonFixedLongId.h:622
MuonCalib::MuonFixedLongId::stationNameString
std::string_view stationNameString() const
Definition: MuonFixedLongId.h:886
MuonCalib::MuonFixedLongId::kMmgMultilayerMask
static const uint64_t kMmgMultilayerMask
Definition: MuonFixedLongId.h:713
MuonCalib::MuonFixedLongId::operator<
bool operator<(const MuonFixedLongId &rhs) const
comparison operator
Definition: MuonFixedLongId.h:830
MuonCalib::MuonFixedLongId::stationNameMin
static int stationNameMin()
Definition: MuonFixedLongId.h:943
MuonCalib::MuonFixedLongId::etaMax
static int etaMax()
Definition: MuonFixedLongId.h:963
MuonCalib::MuonFixedLongId::kMmgGasGapMin
static const int kMmgGasGapMin
Definition: MuonFixedLongId.h:719
MuonCalib::MuonFixedLongId::INVALID
@ INVALID
Definition: MuonFixedLongId.h:104
MuonCalib::MuonFixedLongId::MML
@ MML
Definition: MuonFixedLongId.h:101
MuonCalib::MuonFixedLongId::setRpcMeasuresPhiIndex
bool setRpcMeasuresPhiIndex(uint64_t idx)
Rpc specific: set index for measures_phi to idx.
Definition: MuonFixedLongId.h:1321
MuonCalib::MuonFixedLongId::BMS
@ BMS
Definition: MuonFixedLongId.h:68
MuonCalib::MuonFixedLongId::Technology
Technology
constants for technology numbers
Definition: MuonFixedLongId.h:54
MuonCalib::MuonFixedLongId::kRpcMeasuresPhiMask
static const uint64_t kRpcMeasuresPhiMask
Definition: MuonFixedLongId.h:691
MuonCalib::MuonFixedLongId::cscWireLayer
int cscWireLayer() const
Csc specific:
Definition: MuonFixedLongId.h:1152
MuonCalib::MuonFixedLongId::stationNumberToFixedStationString
static std::string_view stationNumberToFixedStationString(StationName station)
Definition: MuonFixedLongId.h:978
MuonCalib::MuonFixedLongId::kMmgGasGapMask
static const uint64_t kMmgGasGapMask
Definition: MuonFixedLongId.h:717
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonCalib::operator<<
std::ostream & operator<<(std::ostream &os, const RtFullInfo &data)
Definition: RtFullInfo.cxx:13
MuonCalib::MuonFixedLongId::kStgChannelMin
static const int kStgChannelMin
Definition: MuonFixedLongId.h:740
MuonCalib::MuonFixedLongId::etaMin
static int etaMin()
Definition: MuonFixedLongId.h:947
MuonCalib::MuonFixedLongId::EOL
@ EOL
Definition: MuonFixedLongId.h:86
MuonCalib::MuonFixedLongId::stgChannelType
StgChannelType stgChannelType() const
Stg specific:
Definition: MuonFixedLongId.h:1554
MuonCalib::MuonFixedLongId::setMdtTubeLayerIndex
bool setMdtTubeLayerIndex(uint64_t idx)
Mdt specific: set index idx for layer.
Definition: MuonFixedLongId.h:1030
MuonCalib::MuonFixedLongId::BMG
@ BMG
Definition: MuonFixedLongId.h:99
MuonCalib::MuonFixedLongId::setStgChannelType
bool setStgChannelType(StgChannelType num)
Stg specific: set channel_type to num.
Definition: MuonFixedLongId.h:1548
MuonCalib::MuonFixedLongId::etaIndex
unsigned int etaIndex() const
Definition: MuonFixedLongId.h:908
MuonCalib::MuonFixedLongId::kMmgMultilayerMin
static const int kMmgMultilayerMin
Definition: MuonFixedLongId.h:715
MuonCalib::MuonFixedLongId::kTgcIsStripMin
static const int kTgcIsStripMin
Definition: MuonFixedLongId.h:706
MuonCalib::MuonFixedLongId::kStationNameShift
static const unsigned int kStationNameShift
Definition: MuonFixedLongId.h:619
MuonCalib::MuonFixedLongId::clear
void clear()
clear the identifier (=set to invalid)
Definition: MuonFixedLongId.h:766
MuonCalib::MuonFixedLongId::T2E
@ T2E
Definition: MuonFixedLongId.h:92
MuonCalib::MuonFixedLongId::setStgGasGap
bool setStgGasGap(int num)
Stg specific: set gas_gap to num.
Definition: MuonFixedLongId.h:1529
MuonCalib::MuonFixedLongId::mdtTubeLayerIndex
unsigned int mdtTubeLayerIndex() const
Mdt specific:
Definition: MuonFixedLongId.h:1044
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonFixedLongId::setCscMeasuresPhiIndex
bool setCscMeasuresPhiIndex(uint64_t idx)
Csc specific: set measures_phi index to idx.
Definition: MuonFixedLongId.h:1156
MuonCalib::MuonFixedLongId::kRpcDoubletRShift
static const unsigned int kRpcDoubletRShift
Definition: MuonFixedLongId.h:676
MuonCalib::MuonFixedLongId::stgGasGapIndex
unsigned int stgGasGapIndex() const
Stg specific:
Definition: MuonFixedLongId.h:1532
MuonCalib::MuonFixedLongId::cscStripIndex
unsigned int cscStripIndex() const
Csc specific:
Definition: MuonFixedLongId.h:1192
MuonCalib::MuonFixedLongId::cscWireLayerIndex
unsigned int cscWireLayerIndex() const
Csc specific:
Definition: MuonFixedLongId.h:1148
MuonCalib::MuonFixedLongId::cscChamberLayerIndex
unsigned int cscChamberLayerIndex() const
Csc specific:
Definition: MuonFixedLongId.h:1125
MuonCalib::MuonFixedLongId::setMdtMultilayerIndex
bool setMdtMultilayerIndex(uint64_t idx)
Mdt specific: set index idx for multilayer.
Definition: MuonFixedLongId.h:1052
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
MuonCalib::MuonFixedLongId::kMmgMultilayerShift
static const unsigned int kMmgMultilayerShift
Definition: MuonFixedLongId.h:714
MuonCalib::MuonFixedLongId::BIS
@ BIS
Definition: MuonFixedLongId.h:66
MuonCalib::MuonFixedLongId::BIR
@ BIR
Definition: MuonFixedLongId.h:72
MuonCalib::MuonFixedLongId::EOC
@ EOC
Definition: MuonFixedLongId.h:85
MuonCalib::MuonFixedLongId::technologyMin
static int technologyMin()
Definition: MuonFixedLongId.h:939
MuonCalib::MuonFixedLongId::kStationShift
static const unsigned int kStationShift
Definition: MuonFixedLongId.h:634
MuonCalib::MuonFixedLongId::stgChannelWire
@ stgChannelWire
Definition: MuonFixedLongId.h:111
MuonCalib::MuonFixedLongId::kTgcChannelMin
static const int kTgcChannelMin
Definition: MuonFixedLongId.h:710
MuonCalib::MuonFixedLongId::eta
int eta() const
Definition: MuonFixedLongId.h:912
MuonCalib::MuonFixedLongId::kCscStripShift
static const unsigned int kCscStripShift
Definition: MuonFixedLongId.h:670
MuonCalib::MuonFixedLongId::mdtTubeLayerMin
static int mdtTubeLayerMin()
Mdt specific:
Definition: MuonFixedLongId.h:1082
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
MuonCalib::MuonFixedLongId::kRpcMeasuresPhiShift
static const unsigned int kRpcMeasuresPhiShift
Definition: MuonFixedLongId.h:692
MuonCalib::MuonFixedLongId::kStationNameStrings
static const char kStationNameStrings[kNumberOfStationNames][4]
Definition: MuonFixedLongId.h:631
MuonCalib::MuonFixedLongId::mmgMultilayerIndex
unsigned int mmgMultilayerIndex() const
Mmg specific:
Definition: MuonFixedLongId.h:1448
MuonCalib::MuonFixedLongId::cscMeasuresPhiMax
static int cscMeasuresPhiMax()
Csc specific:
Definition: MuonFixedLongId.h:1220
MuonCalib::MuonFixedLongId::is_csc
bool is_csc() const
Definition: MuonFixedLongId.h:782
MuonCalib::MuonFixedLongId::technologyTGC
@ technologyTGC
Definition: MuonFixedLongId.h:57
MuonCalib::MuonFixedLongId::kCscStripMin
static const int kCscStripMin
Definition: MuonFixedLongId.h:671
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
MuonCalib::MuonFixedLongId::kMdtTubeShift
static const unsigned int kMdtTubeShift
Definition: MuonFixedLongId.h:652
MuonCalib::MuonFixedLongId::cscMeasuresPhiMin
static int cscMeasuresPhiMin()
Csc specific:
Definition: MuonFixedLongId.h:1216
MuonCalib::MuonFixedLongId::kMdtTubeMask
static const uint64_t kMdtTubeMask
Definition: MuonFixedLongId.h:651
MuonCalib::MuonFixedLongId::mdtMultilayerIndex
unsigned int mdtMultilayerIndex() const
Mdt specific:
Definition: MuonFixedLongId.h:1066
MuonCalib::MuonFixedLongId::kStgChannelShift
static const unsigned int kStgChannelShift
Definition: MuonFixedLongId.h:739
MuonCalib::MuonFixedLongId::kTgcIsStripShift
static const unsigned int kTgcIsStripShift
Definition: MuonFixedLongId.h:705
MuonCalib::MuonFixedLongId::mdtTubeLayerMax
static int mdtTubeLayerMax()
Mdt specific:
Definition: MuonFixedLongId.h:1086
MuonCalib::MuonFixedLongId::kRpcStripMin
static const int kRpcStripMin
Definition: MuonFixedLongId.h:697
MuonCalib::MuonFixedLongId::CSL
@ CSL
Definition: MuonFixedLongId.h:98
MuonCalib::MuonFixedLongId::kRpcDoubletRMask
static const uint64_t kRpcDoubletRMask
Definition: MuonFixedLongId.h:675
MuonCalib::MuonFixedLongId::cscStrip
int cscStrip() const
Csc specific:
Definition: MuonFixedLongId.h:1196
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
MuonCalib::MuonFixedLongId::setMmgMultilayerIndex
bool setMmgMultilayerIndex(uint64_t idx)
Mmg specific: set index idx for multilayer.
Definition: MuonFixedLongId.h:1436
MuonCalib::MuonFixedLongId::kCscWireLayerShift
static const unsigned int kCscWireLayerShift
Definition: MuonFixedLongId.h:662
MuonCalib::MuonFixedLongId::kCscMeasuresPhiMask
static const uint64_t kCscMeasuresPhiMask
Definition: MuonFixedLongId.h:665
MuonCalib::MuonFixedLongId::EMS
@ EMS
Definition: MuonFixedLongId.h:84
MuonCalib::MuonFixedLongId::stgChannelStrip
@ stgChannelStrip
Definition: MuonFixedLongId.h:110
MuonCalib::MuonFixedLongId::EIS
@ EIS
Definition: MuonFixedLongId.h:88
MuonCalib::MuonFixedLongId::kMdtMultilayerShift
static const unsigned int kMdtMultilayerShift
Definition: MuonFixedLongId.h:644
MuonCalib::MuonFixedLongId::technology
Technology technology() const
Definition: MuonFixedLongId.h:852
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
MuonCalib::MuonFixedLongId::stgChannel
int stgChannel() const
Stg specific:
Definition: MuonFixedLongId.h:1573
MuonCalib::MuonFixedLongId::cscWireLayerMax
static int cscWireLayerMax()
Csc specific:
Definition: MuonFixedLongId.h:1212
MuonCalib::MuonFixedLongId::kMmgStripShift
static const unsigned int kMmgStripShift
Definition: MuonFixedLongId.h:722
MuonCalib::MuonFixedLongId::stgChannelPad
@ stgChannelPad
Definition: MuonFixedLongId.h:109
MuonCalib::MuonFixedLongId::kRpcDoubletZMask
static const uint64_t kRpcDoubletZMask
Definition: MuonFixedLongId.h:679
MuonCalib::MuonFixedLongId::rpcDoubletZ
int rpcDoubletZ() const
Rpc specific:
Definition: MuonFixedLongId.h:1273
MuonCalib::MuonFixedLongId::setMdtTubeIndex
bool setMdtTubeIndex(uint64_t idx)
Mdt specific: set index idx for tube.
Definition: MuonFixedLongId.h:988
MuonCalib::MuonFixedLongId::kRpcDoubletRMin
static const int kRpcDoubletRMin
Definition: MuonFixedLongId.h:677
MuonCalib::MuonFixedLongId::setRpcDoubletPhiIndex
bool setRpcDoubletPhiIndex(uint64_t idx)
Rpc specific: set index for doublet_Phi to idx.
Definition: MuonFixedLongId.h:1277
MuonCalib::MuonFixedLongId::kRpcGasGapShift
static const unsigned int kRpcGasGapShift
Definition: MuonFixedLongId.h:688
MuonCalib::MuonFixedLongId::kMmgGasGapShift
static const unsigned int kMmgGasGapShift
Definition: MuonFixedLongId.h:718
MuonCalib::MuonFixedLongId::setMmgGasGap
bool setMmgGasGap(int num)
Mmg specific: set gas_gap to num.
Definition: MuonFixedLongId.h:1464
MuonCalib::MuonFixedLongId::kStgChannelTypeShift
static const unsigned int kStgChannelTypeShift
Definition: MuonFixedLongId.h:735
MuonCalib::MuonFixedLongId::setTgcIsStripIndex
bool setTgcIsStripIndex(uint64_t idx)
Tgc specific: set index for is_strip to idx.
Definition: MuonFixedLongId.h:1389
MuonCalib::MuonFixedLongId::kCscChamberLayerMin
static const int kCscChamberLayerMin
Definition: MuonFixedLongId.h:659
MuonCalib::MuonFixedLongId::kMdtTubeLayerShift
static const unsigned int kMdtTubeLayerShift
Definition: MuonFixedLongId.h:648
MuonCalib::MuonFixedLongId::kTechnologyMin
static const int kTechnologyMin
Definition: MuonFixedLongId.h:613
MuonCalib::MuonFixedLongId::setCscWireLayerIndex
bool setCscWireLayerIndex(uint64_t idx)
Csc specific: set wire layer index to idx.
Definition: MuonFixedLongId.h:1134
MuonCalib::MuonFixedLongId::kCscChamberLayerMask
static const uint64_t kCscChamberLayerMask
Definition: MuonFixedLongId.h:657
MuonCalib::MuonFixedLongId::kCscStripMask
static const uint64_t kCscStripMask
Definition: MuonFixedLongId.h:669
MuonCalib::MuonFixedLongId::rpcDoubletPhi
int rpcDoubletPhi() const
Rpc specific:
Definition: MuonFixedLongId.h:1295
MuonCalib::MuonFixedLongId::rpcDoubletR
int rpcDoubletR() const
Rpc specific:
Definition: MuonFixedLongId.h:1251
MuonCalib::MuonFixedLongId::EOS
@ EOS
Definition: MuonFixedLongId.h:87
MuonCalib::MuonFixedLongId::stgGasGap
int stgGasGap() const
Stg specific:
Definition: MuonFixedLongId.h:1535
MuonCalib::MuonFixedLongId::kRpcDoubletZShift
static const unsigned int kRpcDoubletZShift
Definition: MuonFixedLongId.h:680
MuonCalib::MuonFixedLongId::MuonFixedLongId
MuonFixedLongId()
default constructor
Definition: MuonFixedLongId.h:745
DeMoScan.index
string index
Definition: DeMoScan.py:364
MuonCalib::MuonFixedLongId::cscStripMax
static int cscStripMax()
Csc specific:
Definition: MuonFixedLongId.h:1228
MuonCalib::MuonFixedLongId::mdtMultilayerMax
static int mdtMultilayerMax()
Mdt specific:
Definition: MuonFixedLongId.h:1094
MuonCalib::MuonFixedLongId::kRpcDoubletPhiMin
static const int kRpcDoubletPhiMin
Definition: MuonFixedLongId.h:685
MuonCalib::MuonFixedLongId::kStgMultilayerMin
static const int kStgMultilayerMin
Definition: MuonFixedLongId.h:728
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonCalib::MuonFixedLongId::set_rpc
void set_rpc()
set identifier to RPC technology type
Definition: MuonFixedLongId.h:810
MuonCalib::MuonFixedLongId::setRpcMeasuresPhi
bool setRpcMeasuresPhi(int num)
Rpc specific: set measures_phi to num.
Definition: MuonFixedLongId.h:1331
MuonCalib::MuonFixedLongId::stationStringToFixedStationNumber
static StationName stationStringToFixedStationNumber(std::string_view station)
Definition: MuonFixedLongId.h:971
MuonCalib::MuonFixedLongId::stationName
StationName stationName() const
Definition: MuonFixedLongId.h:882
MuonCalib::MuonFixedLongId::kMmgStripMask
static const uint64_t kMmgStripMask
Definition: MuonFixedLongId.h:721
MuonCalib::MuonFixedLongId::mdtTubeMax
static int mdtTubeMax()
Mdt specific:
Definition: MuonFixedLongId.h:1078
MuonCalib::MuonFixedLongId::technologyMDT
@ technologyMDT
Definition: MuonFixedLongId.h:55
MuonCalib::MuonFixedLongId::technologyMax
static int technologyMax()
Definition: MuonFixedLongId.h:955
MuonCalib::MuonFixedLongId::kStationNameMin
static const int kStationNameMin
Definition: MuonFixedLongId.h:620
MuonCalib::MuonFixedLongId::phiMin
static int phiMin()
Definition: MuonFixedLongId.h:951
MuonCalib::MuonFixedLongId::T3E
@ T3E
Definition: MuonFixedLongId.h:94
MuonCalib::MuonFixedLongId::setMmgStripIndex
bool setMmgStripIndex(uint64_t idx)
Mmg specific: set strip index to idx.
Definition: MuonFixedLongId.h:1474
MuonCalib::MuonFixedLongId::mdtMultilayer
int mdtMultilayer() const
Mdt specific:
Definition: MuonFixedLongId.h:1070
MuonCalib::MuonFixedLongId::cscMeasuresPhi
int cscMeasuresPhi() const
Csc specific:
Definition: MuonFixedLongId.h:1174
MuonCalib::MuonFixedLongId::setRpcGasGapIndex
bool setRpcGasGapIndex(uint64_t idx)
Rpc specific: set index for gas_gap to idx.
Definition: MuonFixedLongId.h:1299
MuonCalib::MuonFixedLongId::kTgcGasGapMask
static const uint64_t kTgcGasGapMask
Definition: MuonFixedLongId.h:700
MuonCalib::MuonFixedLongId::CSS
@ CSS
Definition: MuonFixedLongId.h:97
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
MuonCalib::MuonFixedLongId::kMdtTubeLayerMask
static const uint64_t kMdtTubeLayerMask
Definition: MuonFixedLongId.h:647
MuonCalib::MuonFixedLongId::set_stg
void set_stg()
set identifier to sTGC technology type
Definition: MuonFixedLongId.h:818
MuonCalib::MuonFixedLongId::BOF
@ BOF
Definition: MuonFixedLongId.h:74
MuonCalib::MuonFixedLongId::setTgcChannel
bool setTgcChannel(int num)
Tgc specific: set channel to num.
Definition: MuonFixedLongId.h:1422
MuonCalib::MuonFixedLongId::BOS
@ BOS
Definition: MuonFixedLongId.h:70
MuonCalib::MuonFixedLongId::setCscWireLayer
bool setCscWireLayer(int num)
Csc specific: set wire layer to num.
Definition: MuonFixedLongId.h:1144
MuonCalib::MuonFixedLongId::kRpcStripShift
static const unsigned int kRpcStripShift
Definition: MuonFixedLongId.h:696
MuonCalib::MuonFixedLongId::setCscChamberLayer
bool setCscChamberLayer(int num)
Csc specific: set chamber layer to num.
Definition: MuonFixedLongId.h:1121
MuonCalib::MuonFixedLongId::rpcStrip
int rpcStrip() const
Rpc specific:
Definition: MuonFixedLongId.h:1361
MuonCalib::MuonFixedLongId::mdtMezzanine
int mdtMezzanine() const
Mdt specific: compute the mezzanine number.
Definition: MuonFixedLongId.h:1010
MuonCalib::MuonFixedLongId::kInvalidData
static const uint64_t kInvalidData
Definition: MuonFixedLongId.h:607
MuonCalib::MuonFixedLongId::dump
std::ostream & dump(std::ostream &os) const
dump all the information corresponding to the identifier
Definition: MuonFixedLongId.cxx:49
MuonCalib::MuonFixedLongId::tgcIsStrip
int tgcIsStrip() const
Tgc specific:
Definition: MuonFixedLongId.h:1407
MuonCalib::MuonFixedLongId::kMdtTubeMin
static const int kMdtTubeMin
Definition: MuonFixedLongId.h:653
MuonCalib::MuonFixedLongId::kStgGasGapMin
static const int kStgGasGapMin
Definition: MuonFixedLongId.h:732
MuonCalib::MuonFixedLongId::setRpcGasGap
bool setRpcGasGap(int num)
Rpc specific: set gas_gap to num.
Definition: MuonFixedLongId.h:1309
MuonCalib::MuonFixedLongId::stgMultilayerIndex
unsigned int stgMultilayerIndex() const
Stg specific:
Definition: MuonFixedLongId.h:1513
MuonCalib::MuonFixedLongId::BOG
@ BOG
Definition: MuonFixedLongId.h:75
MuonCalib::MuonFixedLongId::mdtTubeIndex
unsigned int mdtTubeIndex() const
Mdt specific:
Definition: MuonFixedLongId.h:1002
MuonCalib::MuonFixedLongId::setRpcStripIndex
bool setRpcStripIndex(uint64_t idx)
Rpc specific: set index for strip to idx.
Definition: MuonFixedLongId.h:1343
MuonCalib::MuonFixedLongId::kCscChamberLayerShift
static const unsigned int kCscChamberLayerShift
Definition: MuonFixedLongId.h:658
MuonCalib::MuonFixedLongId::cscWireLayerMin
static int cscWireLayerMin()
Csc specific:
Definition: MuonFixedLongId.h:1208
MuonCalib::MuonFixedLongId::mdtMultilayerId
MuonFixedLongId mdtMultilayerId() const
Mdt specific: convert channel ID into MDT Multilayer ID.
Definition: MuonFixedLongId.h:1103
MuonCalib::MuonFixedLongId::set_mdt
void set_mdt()
set identifier to MDT technology type
Definition: MuonFixedLongId.h:798
MuonCalib::MuonFixedLongId::kNumberOfStationNames
static const int kNumberOfStationNames
Definition: MuonFixedLongId.h:630
MuonCalib::MuonFixedLongId::BOL
@ BOL
Definition: MuonFixedLongId.h:69
MuonCalib::MuonFixedLongId::rpcMeasuresPhiIndex
unsigned int rpcMeasuresPhiIndex() const
Rpc specific:
Definition: MuonFixedLongId.h:1335
MuonCalib::MuonFixedLongId::kTechnologyMask
static const uint64_t kTechnologyMask
Definition: MuonFixedLongId.h:611
MuonCalib::MuonFixedLongId::EIC
@ EIC
Definition: MuonFixedLongId.h:78
MuonCalib::MuonFixedLongId::T4F
@ T4F
Definition: MuonFixedLongId.h:95
MuonCalib::MuonFixedLongId::setCscStrip
bool setCscStrip(int num)
Csc specific: set strip to num.
Definition: MuonFixedLongId.h:1188
MuonCalib::MuonFixedLongId::technologySTG
@ technologySTG
Definition: MuonFixedLongId.h:60
MuonCalib::MuonFixedLongId::kStationPhiMask
static const uint64_t kStationPhiMask
Definition: MuonFixedLongId.h:626
MuonCalib::MuonFixedLongId::kStgGasGapMask
static const uint64_t kStgGasGapMask
Definition: MuonFixedLongId.h:730
MuonCalib::MuonFixedLongId::kRpcGasGapMask
static const uint64_t kRpcGasGapMask
Definition: MuonFixedLongId.h:687
MuonCalib::MuonFixedLongId::setRpcDoubletR
bool setRpcDoubletR(int num)
Rpc specific: set doublet_R to num.
Definition: MuonFixedLongId.h:1243
MuonCalib::MuonFixedLongId::setRpcStrip
bool setRpcStrip(int num)
Rpc specific: set strip to num.
Definition: MuonFixedLongId.h:1353
MuonCalib::MuonFixedLongId::MMS
@ MMS
Definition: MuonFixedLongId.h:100
MuonFixedId.h
MuonCalib::MuonFixedLongId::BMF
@ BMF
Definition: MuonFixedLongId.h:73
MuonCalib::MuonFixedLongId::setRpcDoubletPhi
bool setRpcDoubletPhi(int num)
Rpc specific: set doublet_Phi to num.
Definition: MuonFixedLongId.h:1287
MuonCalib::MuonFixedLongId::T1F
@ T1F
Definition: MuonFixedLongId.h:89
MuonCalib::MuonFixedLongId::STL
@ STL
Definition: MuonFixedLongId.h:103
MuonCalib::MuonFixedLongId::kRpcDoubletPhiShift
static const unsigned int kRpcDoubletPhiShift
Definition: MuonFixedLongId.h:684
MuonCalib::MuonFixedLongId::is_rpc
bool is_rpc() const
Definition: MuonFixedLongId.h:786
MuonCalib::MuonFixedLongId::T4E
@ T4E
Definition: MuonFixedLongId.h:96
MuonCalib::MuonFixedLongId::setTgcGasGap
bool setTgcGasGap(int num)
Tgc specific: set gas_gap to num.
Definition: MuonFixedLongId.h:1377
MuonCalib::MuonFixedLongId::setMmgStrip
bool setMmgStrip(int num)
Mmg specific: set strip to num.
Definition: MuonFixedLongId.h:1483
MuonCalib::MuonFixedLongId::BIL
@ BIL
Definition: MuonFixedLongId.h:65
MuonCalib::MuonFixedLongId::phiMax
static int phiMax()
Definition: MuonFixedLongId.h:967
MuonCalib::MuonFixedLongId::kTgcChannelShift
static const unsigned int kTgcChannelShift
Definition: MuonFixedLongId.h:709
MuonCalib::MuonFixedLongId::kTechnologyStrings
static const char kTechnologyStrings[kNumberOfTechnologies][4]
Definition: MuonFixedLongId.h:616
MuonCalib::MuonFixedLongId::kStgChannelMask
static const uint64_t kStgChannelMask
Definition: MuonFixedLongId.h:738
MuonCalib::MuonFixedLongId::kStgGasGapShift
static const unsigned int kStgGasGapShift
Definition: MuonFixedLongId.h:731
MuonCalib::MuonFixedLongId::stationNameIndex
unsigned int stationNameIndex() const
Definition: MuonFixedLongId.h:878
MuonCalib::MuonFixedLongId::cscChamberLayer
int cscChamberLayer() const
Csc specific:
Definition: MuonFixedLongId.h:1129
MuonCalib::MuonFixedLongId::cscStripMin
static int cscStripMin()
Csc specific:
Definition: MuonFixedLongId.h:1224
MuonCalib::MuonFixedLongId::kMmgStripMin
static const int kMmgStripMin
Definition: MuonFixedLongId.h:723
MuonCalib::MuonFixedLongId::phiIndex
unsigned int phiIndex() const
Definition: MuonFixedLongId.h:931