CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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().

4 {
5  unsigned int mask = ~3; // mask the last two bits
6  return DetId( du.rawId() & mask);
7 }
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
Definition: DetId.h:20