CMS 3D CMS Logo

AlignmentClusterFlag.cc
Go to the documentation of this file.
2 
3 AlignmentClusterFlag::AlignmentClusterFlag() : detId_(0), hitFlag_(0) {}
4 
6 
8  : detId_(acf.detId_), hitFlag_(acf.hitFlag_) {}
9 
11  //
12 }
13 
14 bool AlignmentClusterFlag::isTaken() const { return ((hitFlag_ & (1 << 0)) != 0); }
15 
16 bool AlignmentClusterFlag::isOverlap() const { return ((hitFlag_ & (1 << 1)) != 0); }
17 
19 
21 
22 void AlignmentClusterFlag::SetDetId(const DetId &newdetid) { detId_ = newdetid; }
Definition: DetId.h:17
void SetDetId(const DetId &newdetid)