CMS 3D CMS Logo

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 RecoTauDiscriminantConfiguration::mask, and 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 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:47
Definition: DetId.h:18