VGM Version 5.3
Loading...
Searching...
No Matches
VMedium.h
Go to the documentation of this file.
1// $Id$
2
3// -----------------------------------------------------------------------
4// The BaseVGM package of the Virtual Geometry Model
5// Copyright (C) 2007, Ivana Hrivnacova
6// All rights reserved.
7//
8// For the licensing terms see vgm/LICENSE.
9// Contact: ivana@ipno.in2p3.fr
10// -----------------------------------------------------------------------
11
13//
19
20#ifndef BASE_VGM_V_MEDIUM_H
21#define BASE_VGM_V_MEDIUM_H
22
24
25#include <iostream>
26#include <string>
27
28namespace VGM {
29class IMaterial;
30}
31
32namespace BaseVGM {
33
34class VMedium : public virtual VGM::IMedium
35{
36 public:
37 VMedium(VGM::IMaterial* material);
38 virtual ~VMedium();
39
40 // methods
41 virtual VGM::IMaterial* Material() const;
42 virtual int NofParameters() const;
43
44 protected:
45 VMedium();
46 VMedium(const VMedium& rhs);
47
48 // data members
49 static const int fgkParamSize;
50
52};
53
54} // namespace BaseVGM
55
56#endif // BASE_VGM_V_MEDIUM_H
The ABC for tracking medium.
Definition VMedium.h:35
VGM::IMaterial * fMaterial
Definition VMedium.h:51
virtual VGM::IMaterial * Material() const
Return its associated material.
Definition VMedium.cxx:65
static const int fgkParamSize
Definition VMedium.h:49
virtual ~VMedium()
Definition VMedium.cxx:59
virtual int NofParameters() const
Return the number of defined parameters.
Definition VMedium.cxx:72
The VGM interface to materials.
Definition IMaterial.h:44
The VGM interface to tracking medium.
Definition IMedium.h:31
BaseVGM utilities.
Definition utilities.h:23
VGM interfaces.
Definition VMedium.h:28