ATLAS Offline Software
TileCalorimeter
TileSvc
TileTPCnv
TileTPCnv
TileDigitsContainer_p3.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// TileDigitsContainer_p3.h
8
// Persistent represenation of a TileDigitsContainer
9
// Author: Alexander Solodkov <Sanya.Solodkov@cern.ch>
10
// Date: June 2009
12
#ifndef TILEDIGITSCONTAINER_P3_H
13
#define TILEDIGITSCONTAINER_P3_H
14
15
#include "
TileTPCnv/TileDigits_p3.h
"
16
#include <vector>
17
18
class
TileDigitsContainer_p3
19
{
20
public
:
22
typedef
std::vector<TileDigits_p3>
ElemVector
;
23
typedef
ElemVector::const_iterator
const_iterator
;
24
typedef
ElemVector::iterator
iterator
;
25
27
TileDigitsContainer_p3
() :
m_param
(),
m_cont
() {}
28
29
// Accessors
30
const
std::vector<unsigned int>&
getParam
()
const
{
return
m_param
;}
31
const
ElemVector
&
getVector
()
const
{
return
m_cont
;}
32
33
// Clear methods
34
void
clear
() {
m_param
.clear();
m_cont
.clear(); }
35
void
reserve
(
unsigned
int
size1,
unsigned
int
size2) {
m_param
.reserve(size1);
m_cont
.reserve(size2); }
36
37
// Fill methods
38
void
push_back_param
(
unsigned
int
param) {
m_param
.push_back(param); }
39
TileDigits_p3
*
newElem
() {
m_cont
.push_back(
TileDigits_p3
());
return
&
m_cont
.back(); }
40
41
private
:
42
std::vector<unsigned int>
m_param
;
43
std::vector<TileDigits_p3>
m_cont
;
44
};
45
46
#endif
xAOD::iterator
JetConstituentVector::iterator iterator
Definition:
JetConstituentVector.cxx:68
TileDigits_p3
Definition:
TileDigits_p3.h:20
TileDigitsContainer_p3::ElemVector
std::vector< TileDigits_p3 > ElemVector
typedefs
Definition:
TileDigitsContainer_p3.h:22
TileDigitsContainer_p3::const_iterator
ElemVector::const_iterator const_iterator
Definition:
TileDigitsContainer_p3.h:23
TileDigitsContainer_p3::reserve
void reserve(unsigned int size1, unsigned int size2)
Definition:
TileDigitsContainer_p3.h:35
TileDigitsContainer_p3::clear
void clear()
Definition:
TileDigitsContainer_p3.h:34
TileDigitsContainer_p3::m_cont
std::vector< TileDigits_p3 > m_cont
Definition:
TileDigitsContainer_p3.h:43
TileDigitsContainer_p3::TileDigitsContainer_p3
TileDigitsContainer_p3()
Default constructor.
Definition:
TileDigitsContainer_p3.h:27
TileDigitsContainer_p3::iterator
ElemVector::iterator iterator
Definition:
TileDigitsContainer_p3.h:24
TileDigits_p3.h
TileDigitsContainer_p3::m_param
std::vector< unsigned int > m_param
Definition:
TileDigitsContainer_p3.h:42
TileDigitsContainer_p3
Definition:
TileDigitsContainer_p3.h:19
TileDigitsContainer_p3::newElem
TileDigits_p3 * newElem()
Definition:
TileDigitsContainer_p3.h:39
TileDigitsContainer_p3::push_back_param
void push_back_param(unsigned int param)
Definition:
TileDigitsContainer_p3.h:38
TileDigitsContainer_p3::getVector
const ElemVector & getVector() const
Definition:
TileDigitsContainer_p3.h:31
TileDigitsContainer_p3::getParam
const std::vector< unsigned int > & getParam() const
Definition:
TileDigitsContainer_p3.h:30
Generated on Thu Nov 7 2024 21:28:08 for ATLAS Offline Software by
1.8.18