ATLAS Offline Software
CaloTowerContainerCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
8 #include "CaloEvent/CaloTowerContainer.h"
9 
10 
12  CaloTowerContainer* trans,
13  MsgStream& /*log*/) const
14 {
16  trans->m_caloRegions.resize(pers->m_caloRegions.size());
17  std::copy(pers->m_caloRegions.begin(),pers->m_caloRegions.end(),trans->m_caloRegions.begin());
18 }
19 
20 
23  MsgStream& /*log*/) const
24 {
26  pers->m_caloRegions.resize(trans->m_caloRegions.size());
27  std::copy(trans->m_caloRegions.begin(),trans->m_caloRegions.end(),pers->m_caloRegions.begin());
28 }
CaloTowerContainerCnv_p1::persToTrans
virtual void persToTrans(const CaloTowerContainer_p1 *pers, CaloTowerContainer *trans, MsgStream &log) const override
Definition: CaloTowerContainerCnv_p1.cxx:11
CaloTowerContainer_p1.h
CaloTowerContainer::m_caloRegions
std::vector< unsigned int > m_caloRegions
Vector of calorimeter regions contributing to the tower signals.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloTowerContainer.h:520
CaloTowerContainer_p1::m_caloRegions
std::vector< unsigned int > m_caloRegions
Definition: CaloTowerContainer_p1.h:15
CaloTowerSegCnv_p1::persToTrans
void persToTrans(const CaloTowerSeg_p1 *, CaloTowerSeg *) const
Definition: CaloTowerSegCnv_p1.cxx:9
CaloTowerContainer_p1::m_towerSeg
CaloTowerSeg_p1 m_towerSeg
Definition: CaloTowerContainer_p1.h:14
CaloTowerContainer
Storable container class for CaloTower.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloTowerContainer.h:77
CaloTowerSegCnv_p1::transToPers
void transToPers(const CaloTowerSeg *, CaloTowerSeg_p1 *) const
Definition: CaloTowerSegCnv_p1.cxx:23
CaloTowerContainerCnv_p1::m_caloTowerSegCnv
CaloTowerSegCnv_p1 m_caloTowerSegCnv
Definition: CaloTowerContainerCnv_p1.h:41
CaloTowerContainerCnv_p1::transToPers
virtual void transToPers(const CaloTowerContainer *trans, CaloTowerContainer_p1 *pers, MsgStream &log) const override
Definition: CaloTowerContainerCnv_p1.cxx:21
CaloTowerContainer::m_towerSeg
CaloTowerSeg m_towerSeg
Tower grid descriptor.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloTowerContainer.h:517
CaloTowerContainer_p1
Definition: CaloTowerContainer_p1.h:12
calibdata.copy
bool copy
Definition: calibdata.py:27
CaloTowerContainerCnv_p1.h