ATLAS Offline Software
Loading...
Searching...
No Matches
ElectronContainer.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/********************************************************************
6
7NAME: ElectronContainer.cxx
8PACKAGE: offline/Reconstruction/egammaEvent
9
10********************************************************************/
11
12// INCLUDE HEADER FILES:
13
16#include <iomanip>
17#include <iostream>
18
19// END OF HEADER FILES INCLUDE
20
24
25// print objects found in container
27{
28
30
31 std::cout << "Number of Electron objects in container "
32 << this->size() << std::endl;
33
34 for (c_itr=begin(); c_itr!=end(); ++c_itr)
35 {
36 (*c_itr)->print();
37 }
38}
DataModel_detail::const_iterator< DataVector > const_iterator
Standard const_iterator.
Definition DataVector.h:838
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
const_iterator end() const noexcept
const_iterator begin() const noexcept
SG::OwnershipPolicy ownPolicy() const
size_type size() const noexcept
ElectronContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Class describing an electron.
The namespace of all packages in PhysicsAnalysis/JetTagging.
OwnershipPolicy