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 
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; }
AlignmentClusterFlag::~AlignmentClusterFlag
~AlignmentClusterFlag()
Definition: AlignmentClusterFlag.cc:10
DetId
Definition: DetId.h:17
AlignmentClusterFlag::detId_
DetId detId_
Definition: AlignmentClusterFlag.h:32
AlignmentClusterFlag::isTaken
bool isTaken() const
Definition: AlignmentClusterFlag.cc:14
AlignmentClusterFlag::SetTakenFlag
void SetTakenFlag()
Definition: AlignmentClusterFlag.cc:18
AlignmentClusterFlag::SetOverlapFlag
void SetOverlapFlag()
Definition: AlignmentClusterFlag.cc:20
AlignmentClusterFlag::SetDetId
void SetDetId(const DetId &newdetid)
Definition: AlignmentClusterFlag.cc:22
AlignmentClusterFlag.h
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
AlignmentClusterFlag::isOverlap
bool isOverlap() const
Definition: AlignmentClusterFlag.cc:16
AlignmentClusterFlag::hitFlag_
char hitFlag_
Definition: AlignmentClusterFlag.h:33
AlignmentClusterFlag
Definition: AlignmentClusterFlag.h:15
AlignmentClusterFlag::AlignmentClusterFlag
AlignmentClusterFlag()
Definition: AlignmentClusterFlag.cc:3