![]() |
ATLAS Offline Software
|
#include <CaloNeighbours.h>
Public Types | |
| enum | { SIDE = 2 , SAMPL = 3 , REGION = 4 , ETA = 5 , PHI = 6 , TILESECTION = 1 , TILEPHI = 3 , TILEETA = 4 , TILESAMPL = 5 , FCALETA = 4 , FCALPHI = 5 } |
Public Member Functions | |
| CaloNeighbourRegion (const std::string &name, const CaloCell_Base_ID *theCaloId) | |
| virtual | ~CaloNeighbourRegion () |
| void | setType (const NEIGHBOURTYPE type) |
| void | setSourceRange (const Range &theRange) |
| void | setTargetRange (const Range &theRange) |
| void | setSide (const int side1, const int side2) |
| void | setPhi (const int phi1, const int phi2) |
| int | setNeighbours (ExpandedIdentifier &id1, std::vector< ExpandedIdentifier > &id2, std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > &neighbourMapPlus, std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > &neighbourMapMinus) |
| void | initializeVectors (std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > &neighbourMapPlus, std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > &neighbourMapMinus) |
| int | getNeighbours (const IdentifierHash caloHash, std::vector< IdentifierHash > &neighbourList) const |
| NEIGHBOURTYPE | getType () const |
| const std::string & | getName () const |
Private Member Functions | |
| int | getId (ExpandedIdentifier &id, Identifier &rID, const Range &theRange, const int side=+1, const int dphi=0) const |
Private Attributes | |
| std::string | m_name |
| NEIGHBOURTYPE | m_type |
| const CaloCell_Base_ID * | m_calo_id |
| Range | m_sourceRange |
| Range | m_targetRange |
| bool | m_hasPhi |
| int | m_iPhiSource |
| int | m_iPhiTarget |
| bool | m_hasSide |
| int | m_iSideSource |
| int | m_iSideTarget |
| bool | m_isValidMinus |
| bool | m_isValidPlus |
| IdentifierHash | m_minHashMinus |
| IdentifierHash | m_maxHashMinus |
| IdentifierHash | m_minHashPlus |
| IdentifierHash | m_maxHashPlus |
| std::vector< std::unique_ptr< std::vector< IdentifierHash > > > | m_neighbours_plus |
| std::vector< std::unique_ptr< std::vector< IdentifierHash > > > | m_neighbours_minus |
Definition at line 40 of file CaloNeighbours.h.
| anonymous enum |
| CaloNeighbourRegion::CaloNeighbourRegion | ( | const std::string & | name, |
| const CaloCell_Base_ID * | theCaloId ) |
Definition at line 40 of file CaloNeighbours.cxx.
|
virtualdefault |
|
private |
Definition at line 109 of file CaloNeighbours.cxx.
|
inline |
Definition at line 65 of file CaloNeighbours.h.
| int CaloNeighbourRegion::getNeighbours | ( | const IdentifierHash | caloHash, |
| std::vector< IdentifierHash > & | neighbourList ) const |
Definition at line 261 of file CaloNeighbours.cxx.
|
inline |
Definition at line 61 of file CaloNeighbours.h.
| void CaloNeighbourRegion::initializeVectors | ( | std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > & | neighbourMapPlus, |
| std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > & | neighbourMapMinus ) |
Definition at line 238 of file CaloNeighbours.cxx.
| int CaloNeighbourRegion::setNeighbours | ( | ExpandedIdentifier & | id1, |
| std::vector< ExpandedIdentifier > & | id2, | ||
| std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > & | neighbourMapPlus, | ||
| std::map< IdentifierHash, std::vector< IdentifierHash >, ltIdHash > & | neighbourMapMinus ) |
Definition at line 179 of file CaloNeighbours.cxx.
Definition at line 99 of file CaloNeighbours.cxx.
Definition at line 90 of file CaloNeighbours.cxx.
Definition at line 70 of file CaloNeighbours.cxx.
Definition at line 83 of file CaloNeighbours.cxx.
| void CaloNeighbourRegion::setType | ( | const NEIGHBOURTYPE | type | ) |
Definition at line 63 of file CaloNeighbours.cxx.
|
private |
Definition at line 75 of file CaloNeighbours.h.
|
private |
Definition at line 79 of file CaloNeighbours.h.
|
private |
Definition at line 82 of file CaloNeighbours.h.
|
private |
Definition at line 80 of file CaloNeighbours.h.
|
private |
Definition at line 80 of file CaloNeighbours.h.
|
private |
Definition at line 83 of file CaloNeighbours.h.
|
private |
Definition at line 83 of file CaloNeighbours.h.
|
private |
Definition at line 85 of file CaloNeighbours.h.
|
private |
Definition at line 85 of file CaloNeighbours.h.
|
private |
Definition at line 87 of file CaloNeighbours.h.
|
private |
Definition at line 87 of file CaloNeighbours.h.
|
private |
Definition at line 87 of file CaloNeighbours.h.
|
private |
Definition at line 87 of file CaloNeighbours.h.
|
private |
Definition at line 73 of file CaloNeighbours.h.
|
private |
Definition at line 89 of file CaloNeighbours.h.
|
private |
Definition at line 88 of file CaloNeighbours.h.
|
private |
Definition at line 77 of file CaloNeighbours.h.
|
private |
Definition at line 77 of file CaloNeighbours.h.
|
private |
Definition at line 74 of file CaloNeighbours.h.