CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoTracker/DebugTools/interface/GluedDetFromDetUnit.h

Go to the documentation of this file.
00001 #include "DataFormats/DetId/interface/DetId.h"
00002 
00003 DetId gluedId( const DetId& du) 
00004 {
00005   unsigned int mask = ~3; // mask the last two bits
00006   return DetId( du.rawId() & mask);
00007 }