ATLAS Offline Software
InnerDetector
InDetEventCnv
InDetSimEventTPCnv
InDetSimEventTPCnv
InDetHits
TRT_HitCollection_p1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRT_HITCOLLECTION_P1_H
6
#define TRT_HITCOLLECTION_P1_H
7
8
/*
9
10
Persistent represenation of a TRT_HitContainer,
11
Author: Davide Costanzo
12
13
*/
14
15
#include <vector>
16
#include <string>
17
#include "
TRT_Hit_p1.h
"
18
19
20
class
TRT_HitCollection_p1
21
{
22
public
:
24
typedef
std::vector<TRT_Hit_p1>
HitVector
;
25
typedef
HitVector::const_iterator
const_iterator
;
26
typedef
HitVector::iterator
iterator
;
27
28
30
TRT_HitCollection_p1
();
31
32
// Accessors
33
const
std::string&
name
()
const
;
34
const
HitVector
&
getVector
()
const
;
35
//private:
36
std::vector<TRT_Hit_p1>
m_cont
;
37
std::string
m_name
;
38
};
39
40
41
// inlines
42
43
inline
44
TRT_HitCollection_p1::TRT_HitCollection_p1
() {}
45
46
inline
47
const
std::string&
48
TRT_HitCollection_p1::name
()
const
49
{
return
m_name
;}
50
51
inline
52
const
std::vector<TRT_Hit_p1>&
53
TRT_HitCollection_p1::getVector
()
const
54
{
return
m_cont
;}
55
56
#endif
TRT_HitCollection_p1
Definition:
TRT_HitCollection_p1.h:21
xAOD::iterator
JetConstituentVector::iterator iterator
Definition:
JetConstituentVector.cxx:68
TRT_HitCollection_p1::TRT_HitCollection_p1
TRT_HitCollection_p1()
Default constructor.
Definition:
TRT_HitCollection_p1.h:44
TRT_HitCollection_p1::HitVector
std::vector< TRT_Hit_p1 > HitVector
typedefs
Definition:
TRT_HitCollection_p1.h:24
TRT_HitCollection_p1::const_iterator
HitVector::const_iterator const_iterator
Definition:
TRT_HitCollection_p1.h:25
TRT_HitCollection_p1::name
const std::string & name() const
Definition:
TRT_HitCollection_p1.h:48
TRT_Hit_p1.h
TRT_HitCollection_p1::getVector
const HitVector & getVector() const
Definition:
TRT_HitCollection_p1.h:53
TRT_HitCollection_p1::m_cont
std::vector< TRT_Hit_p1 > m_cont
Definition:
TRT_HitCollection_p1.h:36
TRT_HitCollection_p1::m_name
std::string m_name
Definition:
TRT_HitCollection_p1.h:37
TRT_HitCollection_p1::iterator
HitVector::iterator iterator
Definition:
TRT_HitCollection_p1.h:26
Generated on Thu Nov 7 2024 21:30:35 for ATLAS Offline Software by
1.8.18