#include <CrystalWindowMap.h>
Public Member Functions | |
CrystalWindowMap (const CaloGeometryHelper *, const std::vector< Crystal > &cw) | |
Constructor from vector of Crystal. More... | |
bool | getCrystalWindow (unsigned, std::vector< unsigned > &) const |
get the ordered list of the crystals around the crystal given as a first argument More... | |
bool | getCrystalWindow (unsigned iq, const std::vector< unsigned > *cw) const |
same thing but with a different interface More... | |
const std::vector< unsigned > & | getCrystalWindow (unsigned, bool &status) const |
same thing but with a different interface More... | |
unsigned | size () const |
~CrystalWindowMap () | |
Private Attributes | |
const CaloGeometryHelper * | myCalorimeter_ |
std::vector< std::vector < unsigned > > | myNeighbours_ |
const std::vector< Crystal > & | originalVector_ |
unsigned | size_ |
Definition at line 23 of file CrystalWindowMap.h.
CrystalWindowMap::CrystalWindowMap | ( | const CaloGeometryHelper * | calo, |
const std::vector< Crystal > & | cw | ||
) |
Constructor from vector of Crystal.
Definition at line 7 of file CrystalWindowMap.cc.
References CaloGeometryHelper::getNeighbours(), recoMuon::in, myCalorimeter_, myNeighbours_, and size_.
|
inline |
Definition at line 28 of file CrystalWindowMap.h.
bool CrystalWindowMap::getCrystalWindow | ( | unsigned | iq, |
std::vector< unsigned > & | cw | ||
) | const |
get the ordered list of the crystals around the crystal given as a first argument
Definition at line 49 of file CrystalWindowMap.cc.
References myNeighbours_, and size_.
Referenced by EcalHitMaker::fastInsideCell().
bool CrystalWindowMap::getCrystalWindow | ( | unsigned | iq, |
const std::vector< unsigned > * | cw | ||
) | const |
same thing but with a different interface
Definition at line 61 of file CrystalWindowMap.cc.
References myNeighbours_, and size_.
const std::vector< unsigned > & CrystalWindowMap::getCrystalWindow | ( | unsigned | iq, |
bool & | status | ||
) | const |
same thing but with a different interface
Definition at line 75 of file CrystalWindowMap.cc.
References myNeighbours_.
|
inline |
|
private |
Definition at line 39 of file CrystalWindowMap.h.
Referenced by CrystalWindowMap().
|
private |
Definition at line 44 of file CrystalWindowMap.h.
Referenced by CrystalWindowMap(), and getCrystalWindow().
|
private |
Definition at line 42 of file CrystalWindowMap.h.
|
private |
Definition at line 41 of file CrystalWindowMap.h.
Referenced by CrystalWindowMap(), getCrystalWindow(), and size().