7#ifndef XAODCALOEVENT_VERSIONS_CALOTOWERCONTAINER_V1_H
8#define XAODCALOEVENT_VERSIONS_CALOTOWERCONTAINER_V1_H
159 if (idx>0 && idx<(
int)this->
size()) {
Scalar eta() const
pseudorapidity method
#define SG_BASE(D, B)
Declare that class D derives from class B.
An STL vector of pointers that by default owns its pointed-to elements.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
SG::OwnershipPolicy ownPolicy() const
size_type size() const noexcept
Basic container storing all information need for xAOD::CaloTower_v1 objects.
int nTowers() const
Returns grid size in
double phi(size_t index) const
double phiMin() const
Returns number of bins
~CaloTowerContainer_v1()
Destructor.
CaloTowerContainer_v1(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Default constructor Constructs a tower container without structure (binning) or content.
unsigned short m_nPhiBins
Upper boundary pseudorapidity range
double etaMin() const
Returns number of bins
double m_etaMax
Lower boundary pseudorapidity range
double m_deltaPhi
Bin width in pseudorapidity
double deltaPhi() const
Returns upper boundary of range
double etaMax() const
Returns lower boundary of range
double phiMax() const
Returns lower boundary of range
double m_deltaEta
Number of bins in azimuth
double eta(size_t index) const
bool m_isConfigured
Bin width in azimuth
unsigned short m_nEtaBins
const CaloTower_v1 * tower(double eta, double phi) const
double m_etaMin
Number of pseudorapidity bins
double deltaEta() const
Returns upper boudnary of range
int nPhiBins() const
Returns grid size in
Class providing the definition of the 4-vector interface.
@ DEFAULT_TRACK_INDICES
Default value.
@ OWN_ELEMENTS
this data object owns its elements
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
DataVector< CaloTower_v1 > CaloTowerContainerBase_v1