ATLAS Offline Software
Loading...
Searching...
No Matches
SiHitCollection_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 SIHITCOLLECTION_P1_H
6#define SIHITCOLLECTION_P1_H
7
8/*
9
10Persistent represenation of a SiHitContainer,
11Author: Davide Costanzo
12
13*/
14
15#include <vector>
16#include <string>
17#include "SiHit_p1.h"
18
19
21{
22public:
24 typedef std::vector<SiHit_p1> HitVector;
25 typedef HitVector::const_iterator const_iterator;
26 typedef HitVector::iterator iterator;
27
28
31
32 // Accessors
33 const std::string& name() const;
34 const HitVector& getVector() const;
35 //private:
36 std::vector<SiHit_p1> m_cont;
37 std::string m_name;
38};
39
40
41// inlines
42
43inline
45
46inline
47const std::string&
49{return m_name;}
50
51inline
52const std::vector<SiHit_p1>&
55
56#endif
SiHitCollection_p1()
Default constructor.
std::vector< SiHit_p1 > m_cont
const HitVector & getVector() const
const std::string & name() const
HitVector::const_iterator const_iterator
std::vector< SiHit_p1 > HitVector
typedefs
HitVector::iterator iterator