27{
28
30
32
33
34 SG::ReadCondHandle< InDet::BeamSpotData > beamSpotHandle{
m_beamSpotKey, ctx };
36 const InDet::BeamSpotData* beamSpotData = beamSpotHandle.
cptr();
37
38
42 const ROIPhiRZContainer* caloClusters = caloClustersHandle.
cptr();
43 ATH_MSG_DEBUG(
" \\__ Retrieved " << caloClusters->size() <<
" elements");
44
45
46 collectionRoI.
back()->
reserve(caloClusters->size());
48 for (const ROIPhiRZ& calo_roi : *caloClusters) {
49 double phi = calo_roi.phi();
50
52 continue;
53
54 double eta = calo_roi.eta();
62
64 phi, roiPhiMin ,roiPhiMax,
65 z, roiZMin, roiZMax ) );
66 }
67
69 return StatusCode::SUCCESS;
70}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
Athena::TPCnvVers::Current TrigRoiDescriptor
const T * back() const
Access the last element in the collection as an rvalue.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const Trk::RecVertex & beamVtx() const noexcept
void push_back(const IRoiDescriptor *roi)
add a RoiDescriptor
void reserve(size_t s)
reserve elements in vector
void setComposite(bool b=true)
virtual unsigned size() const override final
number of constituents
const_pointer_type cptr()
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
const Amg::Vector3D & position() const
return position of vertex
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())