Skip to content
Snippets Groups Projects

Sweeping !31459 from 21.3 to 21.9. Adding identification of stereo strips to MM helpers

Merged Sweeping !31459 from 21.3 to 21.9. Adding identification of stereo strips to MM helpers
Merged Atlas Nightlybuild requested to merge cherry-pick-c15b43b140-21.9 into 21.9
1 file
+ 7
3
Compare changes
  • Side-by-side
  • Inline
@@ -93,7 +93,7 @@ class MmIdHelper : public MuonIdHelper {
int gasGap(const Identifier& id) const;
int multilayer(const Identifier& id) const;
int channel(const Identifier& id) const;
bool measuresPhi(const Identifier& id) const; //Returns false
bool measuresPhi(const Identifier& id) const; //Returns true for stereo layers
int numberOfMultilayers(const Identifier& id) const;
@@ -302,8 +302,12 @@ inline int MmIdHelper::gasGapMin() const {
return GasGapMin;
}
/*******************************************************************************/
inline bool MmIdHelper::measuresPhi(const Identifier& /*id*/) const{
return false;
inline bool MmIdHelper::measuresPhi(const Identifier& id) const{
bool measPhi = false;
int ml = multilayer(id);
int gg = gasGap(id);
if ( (ml==1 && gg>2) || (ml==2 && gg<3) ) measPhi = true;
return measPhi;
}
/*******************************************************************************/
inline int MmIdHelper::gasGapMax() const {
Loading