Skip to content
Snippets Groups Projects
Commit 921e8d1f authored by Stefano Rosati's avatar Stefano Rosati
Browse files

updating MM Id Helper

parent e721efa6
No related branches found
No related tags found
16 merge requests!46457Draft: Adding the tools to run over data,!46454Draft: Adding the tools to be able to run over data,!44869Draft: Update to candidate store,!4217921.9-first_steps-InDetTrackingGeometryXML,!39162Draft: Insert BCM' support,!38765Bis78 cabling,!36893Fix size of RPC active region in BIS78 and strip material,!3645821.9: Improving material map description (ATLITKSW-127),!36293WIP pixel updates,!34993KF-input adding jXERHO to the AOD outputs,!34864LH rings in front ot HR rigs,!34763Fix L1_4jJ15.0ETA25 item definition (ATR-21261),!33996WIP: Correct MM zpositions,!3291021.3 salva s0,!31887Merge 21.3.19 into 21.9,!31595Updating default MM centroid resolutions and helper
......@@ -93,7 +93,8 @@ 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 true for stereo layers
bool isStereo(const Identifier& id) const;
bool measuresPhi(const Identifier& id) const; //Returns false
int numberOfMultilayers(const Identifier& id) const;
......@@ -302,12 +303,16 @@ inline int MmIdHelper::gasGapMin() const {
return GasGapMin;
}
/*******************************************************************************/
inline bool MmIdHelper::measuresPhi(const Identifier& id) const{
bool measPhi = false;
inline bool MmIdHelper::isStereo(const Identifier& id) const{
bool isStereo = false;
int ml = multilayer(id);
int gg = gasGap(id);
if ( (ml==1 && gg>2) || (ml==2 && gg<3) ) measPhi = true;
return measPhi;
if ( (ml==1 && gg>2) || (ml==2 && gg<3) ) isStereo = true;
return isStereo;
}
/*******************************************************************************/
inline bool MmIdHelper::measuresPhi(const Identifier& /*id*/) const{
return false;
}
/*******************************************************************************/
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