#include <FastSimulation/CaloGeometryTools/interface/CrystalNeighbour.h>
Public Member Functions | |
CrystalNeighbour (unsigned number=999, int status=-2) | |
unsigned | number () const |
Number of the crystal. This has nothing to do with the UniqueID. | |
void | setNumber (unsigned n) |
set the number | |
void | setStatus (int status) |
set the status | |
void | setToBeGlued (bool proj) |
set if this direction should be projected this means something only if the direction is N,E,W,S | |
int | status () const |
get the status 0 : gap; 1: crack ; -1 : does not exist ; -2 not calculated yet | |
bool | toBeGlued () const |
do the edge in this direction should be glued ? | |
~CrystalNeighbour () | |
Private Attributes | |
unsigned | number_ |
int | status_ |
bool | tobeprojected_ |
Used in EcalHitMaker
Definition at line 10 of file CrystalNeighbour.h.
CrystalNeighbour::CrystalNeighbour | ( | unsigned | number = 999 , |
|
int | status = -2 | |||
) | [inline] |
CrystalNeighbour::~CrystalNeighbour | ( | ) | [inline] |
unsigned CrystalNeighbour::number | ( | ) | const [inline] |
Number of the crystal. This has nothing to do with the UniqueID.
Definition at line 16 of file CrystalNeighbour.h.
References number_.
00016 {return number_;};
void CrystalNeighbour::setNumber | ( | unsigned | n | ) | [inline] |
set if this direction should be projected this means something only if the direction is N,E,W,S
Definition at line 26 of file CrystalNeighbour.h.
References tobeprojected_.
00026 { tobeprojected_=proj;};
get the status 0 : gap; 1: crack ; -1 : does not exist ; -2 not calculated yet
Definition at line 18 of file CrystalNeighbour.h.
References status_.
00018 { return status_;};
bool CrystalNeighbour::toBeGlued | ( | ) | const [inline] |
do the edge in this direction should be glued ?
Definition at line 29 of file CrystalNeighbour.h.
References tobeprojected_.
00029 { return tobeprojected_;};
unsigned CrystalNeighbour::number_ [private] |
int CrystalNeighbour::status_ [private] |
bool CrystalNeighbour::tobeprojected_ [private] |