ATLAS Offline Software
Loading...
Searching...
No Matches
GeoMaterialPropertyVector.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 GeoMaterialPropertyVector_h
6#define GeoMaterialPropertyVector_h 1
7
9#include <vector>
10
12{
13public:
14 bool operator ++();
17
23
24 GeoMaterialPropertyVector(double *PhotonMomenta,
25 double *PropertyValues,
26 int NumElements);
27
29
31
32 void ResetIterator();
33
34 // Add a new element (pair of numbers) to the GeoMaterialPropertyVector.
35 void AddElement(double aPhotonMomentum,
36 double aPropertyValue);
37
38 double GetProperty() const;
39 double GetPhotonMomentum() const;
40
41 // Dump contents
42 void DumpVector();
43
44private:
45 GeoMPVEntry GetEntry(int i) const;
46
47 std::vector<GeoMPVEntry*> m_MPV;
50};
51
52#endif
GeoMaterialPropertyVector & operator=(const GeoMaterialPropertyVector &right)
std::vector< GeoMPVEntry * > m_MPV
void AddElement(double aPhotonMomentum, double aPropertyValue)