CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/DataFormats/Alignment/interface/AlignmentClusterFlag.h

Go to the documentation of this file.
00001 #ifndef DataFormats_LaserAlignment_AlignmentClusterFlag_h
00002 #define DataFormats_LaserAlignment_AlignmentClusterFlag_h
00003 
00004 #include "DataFormats/DetId/interface/DetId.h"
00005 
00016 class AlignmentClusterFlag
00017 {
00018  public:
00019   AlignmentClusterFlag();
00020   AlignmentClusterFlag(const DetId &id);
00021   AlignmentClusterFlag(const AlignmentClusterFlag &ahf);
00022 
00023   ~AlignmentClusterFlag();
00024 
00025   bool isTaken() const;
00026   bool isOverlap() const;
00027   void SetTakenFlag();
00028   void SetOverlapFlag();
00029   void SetDetId(const DetId &newdetid);
00030   const DetId& detId() const {return detId_;}
00031   char  hitFlag() const {return hitFlag_;}
00032 
00033  private:
00034   DetId detId_;
00035   char hitFlag_;
00036 };
00037 #endif