ATLAS Offline Software
CaloSamplingDataContainerCnv_p1.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef CALOATHENAPOOL_CALOSAMPLINGDATACONTAINERCNV_P1_H
8 #define CALOATHENAPOOL_CALOSAMPLINGDATACONTAINERCNV_P1_H
9 
11 #include "GaudiKernel/MsgStream.h"
12 class CaloSamplingData;
13 
14 
16 public:
17  struct State
18  {
20  std::vector<unsigned int>::const_iterator m_varTypePatternsIterator;
22  };
23 
24 
25  void persToTrans(const CaloSamplingDataContainer_p1* pers,
26  CaloSamplingData* trans,
27  State& state) const;
28  void transToPers(const CaloSamplingData* trans,
29  CaloSamplingDataContainer_p1* pers, MsgStream& log) const;
30 
31  // To be called at the beginning of the container before P->T
32  bool setState(const CaloSamplingDataContainer_p1* pers,
33  unsigned int ncluster,
34  State& state) const;
35 };
36 
37 
38 
39 #endif
CaloSamplingDataContainer_p1
Definition: CaloSamplingDataContainer_p1.h:11
CaloSamplingDataContainerCnv_p1::State::m_nPersSamplings
size_t m_nPersSamplings
Definition: CaloSamplingDataContainerCnv_p1.h:21
CaloSamplingDataContainerCnv_p1::persToTrans
void persToTrans(const CaloSamplingDataContainer_p1 *pers, CaloSamplingData *trans, State &state) const
Definition: CaloSamplingDataContainerCnv_p1.cxx:29
CaloSamplingDataContainerCnv_p1::State::m_varTypePatternsIterator
std::vector< unsigned int >::const_iterator m_varTypePatternsIterator
Definition: CaloSamplingDataContainerCnv_p1.h:20
CaloSamplingDataContainerCnv_p1::State::m_samplingStoreIterator
CaloSamplingDataContainer_p1::const_iterator m_samplingStoreIterator
Definition: CaloSamplingDataContainerCnv_p1.h:19
CaloSamplingDataContainerCnv_p1
Definition: CaloSamplingDataContainerCnv_p1.h:15
CaloSamplingDataContainer_p1::const_iterator
std::vector< float >::const_iterator const_iterator
Definition: CaloSamplingDataContainer_p1.h:16
CaloSamplingDataContainerCnv_p1::State
Definition: CaloSamplingDataContainerCnv_p1.h:18
CaloSamplingDataContainer_p1.h
CaloSamplingDataContainerCnv_p1::transToPers
void transToPers(const CaloSamplingData *trans, CaloSamplingDataContainer_p1 *pers, MsgStream &log) const
Definition: CaloSamplingDataContainerCnv_p1.cxx:9
CaloSamplingDataContainerCnv_p1::setState
bool setState(const CaloSamplingDataContainer_p1 *pers, unsigned int ncluster, State &state) const
Definition: CaloSamplingDataContainerCnv_p1.cxx:59
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CaloSamplingData
Simple data object to store all variables in calorimeter samplings.
Definition: CaloSamplingData.h:18