Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
DebugTools
interface
GluedDetFromDetUnit.h
Go to the documentation of this file.
1
#include "
DataFormats/DetId/interface/DetId.h
"
2
3
DetId
gluedId
(
const
DetId
& du)
4
{
5
unsigned
int
mask = ~3;
// mask the last two bits
6
return
DetId
( du.
rawId
() & mask);
7
}
DetId::rawId
uint32_t rawId() const
get the raw id
Definition:
DetId.h:45
DetId
Definition:
DetId.h:20
DetId.h
gluedId
DetId gluedId(const DetId &du)
Definition:
GluedDetFromDetUnit.h:3
Generated for CMSSW Reference Manual by
1.8.5