#include <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. More... | |
void | setNumber (unsigned n) |
set the number More... | |
void | setStatus (int status) |
set the status More... | |
void | setToBeGlued (bool proj) |
int | status () const |
get the status 0 : gap; 1: crack ; -1 : does not exist ; -2 not calculated yet More... | |
bool | toBeGlued () const |
do the edge in this direction should be glued ? More... | |
~CrystalNeighbour () | |
Private Attributes | |
unsigned | number_ |
int | status_ |
bool | tobeprojected_ |
Stores basic information on the neighbour. Used in EcalHitMaker
Definition at line 10 of file CrystalNeighbour.h.
|
inline |
|
inline |
Definition at line 13 of file CrystalNeighbour.h.
|
inline |
Number of the crystal. This has nothing to do with the UniqueID.
Definition at line 15 of file CrystalNeighbour.h.
References number_.
|
inline |
set the number
Definition at line 21 of file CrystalNeighbour.h.
References dqmiodumpmetadata::n, and number_.
|
inline |
|
inline |
set if this direction should be projected this means something only if the direction is N,E,W,S
Definition at line 25 of file CrystalNeighbour.h.
References amptDefault_cfi::proj, and tobeprojected_.
|
inline |
get the status 0 : gap; 1: crack ; -1 : does not exist ; -2 not calculated yet
Definition at line 17 of file CrystalNeighbour.h.
References status_.
Referenced by setStatus().
|
inline |
do the edge in this direction should be glued ?
Definition at line 28 of file CrystalNeighbour.h.
References tobeprojected_.
|
private |
Definition at line 28 of file CrystalNeighbour.h.
Referenced by number(), and setNumber().
|
private |
Definition at line 32 of file CrystalNeighbour.h.
Referenced by setStatus(), and status().
|
private |
Definition at line 33 of file CrystalNeighbour.h.
Referenced by setToBeGlued(), and toBeGlued().