Skip to content
Snippets Groups Projects

Updating MM IdHelper and cluster uncertainties

Merged Stefano Rosati requested to merge (removed):master_stereo_fix into master
2 files
+ 16
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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;
@@ -301,12 +302,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 {
Loading