ATLAS Offline Software
Loading...
Searching...
No Matches
TileHitCollection.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4/*
5 */
12
13
15
16
23 (const TileHitCollection& other)
25{
26 // Copy flags from the base class.
27 setLvl1Id (other.getLvl1Id());
28 setLvl1Type (other.getLvl1Type());
29 setDetEvType (other.getDetEvType());
30 setRODBCID (other.getRODBCID());
31
32 // Copy the collection contents.
33 reserve (other.size());
34 for (const TileHit* chan : other) {
35 push_back (std::make_unique<TileHit> (*chan));
36 }
37}
value_type push_back(value_type pElem)
TileHitCollection(ID id, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
TileRawDataCollection(ID id, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
void setDetEvType(uint32_t detEvType)