#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 27 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 43 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 52 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 62 of file CrystalWindowMap.cc.
References myNeighbours_.
|
inline |
Definition at line 35 of file CrystalWindowMap.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 38 of file CrystalWindowMap.h.
Referenced by CrystalWindowMap().
|
private |
Definition at line 43 of file CrystalWindowMap.h.
Referenced by CrystalWindowMap(), and getCrystalWindow().
|
private |
Definition at line 41 of file CrystalWindowMap.h.
|
private |
Definition at line 40 of file CrystalWindowMap.h.
Referenced by CrystalWindowMap(), getCrystalWindow(), and size().