Skip to content
Snippets Groups Projects
Commit ffedf3cd authored by Nicholas Styles's avatar Nicholas Styles
Browse files

Merge branch 'cherry-pick-c15b43b1-21.9' into '21.9'

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

See merge request !31518
parents e5942e11 6aa5eab4
7 merge requests!44869Draft: Update to candidate store,!4217921.9-first_steps-InDetTrackingGeometryXML,!39162Draft: Insert BCM' support,!3645821.9: Improving material map description (ATLITKSW-127),!36293WIP pixel updates,!34864LH rings in front ot HR rigs,!31518Sweeping !31459 from 21.3 to 21.9. Adding identification of stereo strips to MM helpers
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment