CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/FastSimulation/CaloGeometryTools/interface/CrystalNeighbour.h

Go to the documentation of this file.
00001 #ifndef FastSimulation_CaloGeometryTools_CrystalNeighbour_h
00002 #define FastSimulation_CaloGeometryTools_CrystalNeighbour_h
00003 
00010 class CrystalNeighbour
00011 {
00012  public:
00013   CrystalNeighbour(unsigned number=999,int status=-2):number_(number),status_(status){;}
00014   ~CrystalNeighbour(){;};
00016   inline unsigned number() const {return number_;};
00018   inline int status() const { return status_;};
00020   inline void setStatus(int status) { status_=status;};
00022   inline void setNumber(unsigned n) {number_=n;};
00023 
00026   inline void setToBeGlued(bool proj) { tobeprojected_=proj;};
00027 
00029   inline bool toBeGlued() const { return tobeprojected_;};
00030 
00031  private:
00032   unsigned number_;
00033   int status_;
00034   bool tobeprojected_;
00035 };
00036 #endif