CMS 3D CMS Logo

Functions

CMSSW_4_4_3_patch1/src/RecoTracker/DebugTools/interface/GluedDetFromDetUnit.h File Reference

#include "DataFormats/DetId/interface/DetId.h"

Go to the source code of this file.

Functions

DetId gluedId (const DetId &du)

Function Documentation

DetId gluedId ( const DetId du)

Definition at line 3 of file GluedDetFromDetUnit.h.

References DetId::rawId().

Referenced by CkfDebugger::analyseRecHitExistance(), and CkfDebugger::analyseRecHitNotFound().

{
  unsigned int mask = ~3; // mask the last two bits
  return DetId( du.rawId() & mask);
}