CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/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