CMS 3D CMS Logo

CrystalNeighbour.h
Go to the documentation of this file.
1 #ifndef FastSimulation_CaloGeometryTools_CrystalNeighbour_h
2 #define FastSimulation_CaloGeometryTools_CrystalNeighbour_h
3 
11 public:
12  CrystalNeighbour(unsigned number = 999, int status = -2) : number_(number), status_(status) { ; }
15  inline unsigned number() const { return number_; };
17  inline int status() const { return status_; };
19  inline void setStatus(int status) { status_ = status; };
21  inline void setNumber(unsigned n) { number_ = n; };
22 
25  inline void setToBeGlued(bool proj) { tobeprojected_ = proj; };
26 
28  inline bool toBeGlued() const { return tobeprojected_; };
29 
30 private:
31  unsigned number_;
32  int status_;
34 };
35 #endif
CrystalNeighbour::setToBeGlued
void setToBeGlued(bool proj)
Definition: CrystalNeighbour.h:25
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
CrystalNeighbour::~CrystalNeighbour
~CrystalNeighbour()
Definition: CrystalNeighbour.h:13
CrystalNeighbour::setStatus
void setStatus(int status)
set the status
Definition: CrystalNeighbour.h:19
CrystalNeighbour::status_
int status_
Definition: CrystalNeighbour.h:32
CrystalNeighbour::tobeprojected_
bool tobeprojected_
Definition: CrystalNeighbour.h:33
CrystalNeighbour::CrystalNeighbour
CrystalNeighbour(unsigned number=999, int status=-2)
Definition: CrystalNeighbour.h:12
amptDefault_cfi.proj
proj
Definition: amptDefault_cfi.py:13
CrystalNeighbour::toBeGlued
bool toBeGlued() const
do the edge in this direction should be glued ?
Definition: CrystalNeighbour.h:28
CrystalNeighbour::number_
unsigned number_
Definition: CrystalNeighbour.h:28
CrystalNeighbour
Definition: CrystalNeighbour.h:10
CrystalNeighbour::number
unsigned number() const
Number of the crystal. This has nothing to do with the UniqueID.
Definition: CrystalNeighbour.h:15
CrystalNeighbour::setNumber
void setNumber(unsigned n)
set the number
Definition: CrystalNeighbour.h:21
CrystalNeighbour::status
int status() const
get the status 0 : gap; 1: crack ; -1 : does not exist ; -2 not calculated yet
Definition: CrystalNeighbour.h:17