|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "CaloGeoHelpers/CaloSampling.h"
30 : m_cellcont(cell_container)
42 : m_cellcont(cell_container)
54 const std::vector<CaloCell_ID::SUBCALO>& caloNums)
55 : m_cellcont(cell_container)
107 std::vector<IdentifierHash> calo_mgr_vect;
108 std::vector<CaloCell_ID::SUBCALO>::const_iterator itrCaloNum =
m_caloNums.begin();
109 std::vector<CaloCell_ID::SUBCALO>::const_iterator itrEndCaloNum =
m_caloNums.end();
113 for (; itrCaloNum != itrEndCaloNum; ++itrCaloNum) {
117 itrCaloNum = itrEndCaloNum - 1;
127 for (
unsigned int i = 0;
i < calo_mgr_vect.size();
i++) {
131 if ( (dR > 0 && square(
eta -
cell->eta()) + square(pphi -
phi) < dR2) ||
132 (dR < 0 && std::fabs(
eta -
cell->eta()) < deta && std::fabs(
phi - pphi) < dphi) ) {
136 if (
cell->badcell()) {
vector_type m_theCellVector
Scalar phi() const
phi method
void select(double eta, double phi, double deta, double dphi)
Scalar eta() const
pseudorapidity method
const CaloDetDescrManager * m_mgr
double proxim(double b, double a)
Definition of CaloDetDescrManager.
SUBCALO
enumeration of sub calorimeters
void doSelect(double eta, double phi, double deta, double dphi, double dR, CaloCell_ID::CaloSample sam=CaloCell_ID::Unknown)
void cellsInZone(double eta_min, double eta_max, double phi_min, double phi_max, std::vector< IdentifierHash > &cell_list) const
the only client is CaloCellList class
std::vector< CaloCell_ID::SUBCALO > m_caloNums
const CaloCell * findCell(const IdentifierHash theHash) const
fast find method given identifier hash.
Container class for CaloCell.
This class provides the client interface for accessing the detector description information common to...
Data object for each calorimeter readout cell.
const CaloCellContainer * m_cellcont
bool empty() const noexcept
Returns true if the collection is empty.