CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CrystalNeighbour.h
Go to the documentation of this file.
1 #ifndef FastSimulation_CaloGeometryTools_CrystalNeighbour_h
2 #define FastSimulation_CaloGeometryTools_CrystalNeighbour_h
3 
11 {
12  public:
16  inline unsigned number() const {return number_;};
18  inline int status() const { return status_;};
20  inline void setStatus(int status) { status_=status;};
22  inline void setNumber(unsigned n) {number_=n;};
23 
26  inline void setToBeGlued(bool proj) { tobeprojected_=proj;};
27 
29  inline bool toBeGlued() const { return tobeprojected_;};
30 
31  private:
32  unsigned number_;
33  int status_;
35 };
36 #endif
void setNumber(unsigned n)
set the number
bool toBeGlued() const
do the edge in this direction should be glued ?
void setStatus(int status)
set the status
unsigned number() const
Number of the crystal. This has nothing to do with the UniqueID.
void setToBeGlued(bool proj)
int status() const
get the status 0 : gap; 1: crack ; -1 : does not exist ; -2 not calculated yet
CrystalNeighbour(unsigned number=999, int status=-2)