5#ifndef INDETSERVMATGEOMODEL_SERVICEVOLUME_H
6#define INDETSERVMATGEOMODEL_SERVICEVOLUME_H
66 else return (
x >
zMin()-eps &&
x <
zMax()+eps);
77 void dump(
bool dumpMaterial =
true)
const;
86 if (
m_name.size() < 4)
return false;
87 if (
m_name.substr(
m_name.size()-3) ==
"EOS")
return true;
std::vector< const ServicesLayer * > LayerContainer
void setMaterials(const std::vector< ServiceMaterial > &mat)
void setNext(ServiceVolume *next)
std::vector< ServiceVolume * > m_previous
std::vector< ServiceMaterial > m_materials
const LayerContainer & layers() const
bool contains(double x) const
const std::string & name() const
ServiceVolume(Shape sh, double rmin, double rmax, double zmin, double zmax, const std::string &name)
void addLayer(const ServicesLayer *l)
Add a layer the services of which are routed through this volume.
const std::vector< ServiceMaterial > & materials() const
void addMaterial(const ServiceMaterial &mat)
void addLayers(const LayerContainer &lc)
void addPrevious(ServiceVolume *prev)
void addEosServices(const ServicesLayer *l)