File indexing completed on 2024-04-06 12:11:11
0001 #ifndef FastSimulation_CaloGeometryTools_CrystalNeighbour_h
0002 #define FastSimulation_CaloGeometryTools_CrystalNeighbour_h
0003
0004
0005
0006
0007
0008
0009
0010 class CrystalNeighbour {
0011 public:
0012 CrystalNeighbour(unsigned number = 999, int status = -2) : number_(number), status_(status) { ; }
0013 ~CrystalNeighbour() { ; };
0014
0015 inline unsigned number() const { return number_; };
0016
0017 inline int status() const { return status_; };
0018
0019 inline void setStatus(int status) { status_ = status; };
0020
0021 inline void setNumber(unsigned n) { number_ = n; };
0022
0023
0024
0025 inline void setToBeGlued(bool proj) { tobeprojected_ = proj; };
0026
0027
0028 inline bool toBeGlued() const { return tobeprojected_; };
0029
0030 private:
0031 unsigned number_;
0032 int status_;
0033 bool tobeprojected_;
0034 };
0035 #endif