ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterContainer.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5/********************************************************************
6
7NAME: CaloClusterContainer.cxx
8PACKAGE: offline/Calorimeter/CaloRec
9
10AUTHORS: H. Ma
11CREATED: May 2001
12
13PURPOSE: Container for CaloCluster objects.
14
15
16********************************************************************/
17
18// INCLUDE HEADER FILES:
20#include "CaloEvent/CaloClusterContainer.h"
21#include "CaloEvent/CaloCluster.h"
23#include <iostream>
24
28
32
33CaloClusterContainer::CaloClusterContainer(const std::string& RoiAuthor)
34 : DataVector<CaloCluster>(), m_ROIauthor(RoiAuthor)
35{ }
36
37CaloClusterContainer::CaloClusterContainer(const CaloTowerSeg& towerSeg, const std::string& RoiAuthor)
38 : DataVector<CaloCluster>(), m_towerSeg(towerSeg), m_ROIauthor(RoiAuthor)
39{ }
40
42
44{
45 std::cout << " Size of CaloClusterContainer is " << size() << std::endl;
46}
47
An STL vector of pointers that by default owns its pointed-to elements.
void print()
Print size (probably obsolete)
virtual ~CaloClusterContainer()
Default destructor.
CaloClusterContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Principal data class for CaloCell clusters.
Data object stores CaloTower segmentation.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
SG::OwnershipPolicy ownPolicy() const
size_type size() const noexcept
OwnershipPolicy