CMS 3D CMS Logo

AlignmentClusterFlag.cc
Go to the documentation of this file.
2 
3 AlignmentClusterFlag::AlignmentClusterFlag() : detId_(0), hitFlag_(0) {}
4 
5 AlignmentClusterFlag::AlignmentClusterFlag(const DetId &id) : detId_(id), hitFlag_(0) {}
6 
7 bool AlignmentClusterFlag::isTaken() const { return ((hitFlag_ & (1 << 0)) != 0); }
8 
9 bool AlignmentClusterFlag::isOverlap() const { return ((hitFlag_ & (1 << 1)) != 0); }
10 
12 
14 
15 void AlignmentClusterFlag::SetDetId(const DetId &newdetid) { detId_ = newdetid; }
Definition: DetId.h:17
void SetDetId(const DetId &newdetid)