| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

ISimulationSvc Class Reference

this interface defines a Simulation service that is able to answer many question concerning the simulation of the detector. More...

#include <SimDesc/ISimulationSvc.h>

Inheritance diagram for ISimulationSvc:

[legend]
Collaboration diagram for ISimulationSvc:
[legend]
List of all members.

Public Types

typedef std::map< int, const
SimAttribute * > 
PartAttr
typedef std::vector< RegionCutsVectOfRegCuts
 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR
enum  Status

Public Member Functions

virtual const PartAttrsimAttribute (const ILVolume *vol) const =0
 This method returns the simulation attribute associated to a given logical volume.
virtual const PartAttrsimAttribute (const std::string volname) const =0
 This method returns the simulation attribute associated to a given logical volume.
virtual const bool hasSimAttribute (const ILVolume *vol) const =0
 This method tells whether a simulation attribute is associated to a given logical volume or not.
virtual const bool hasSimAttribute (const std::string volname) const =0
 This method tells whether a simulation attribute is associated to a given logical volume or not.
virtual const std::vector<
RegionCuts > * 
regionsDefs () const =0
 This method returns the pointer to the vector of region definitions.
virtual void reload ()=0
 this method erases the current set of attributes and loads a new set
virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvInterface)=0
virtual unsigned long addRef ()=0
virtual unsigned long release ()=0

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 Retrieve interface ID.

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Detailed Description

this interface defines a Simulation service that is able to answer many question concerning the simulation of the detector.

It is able to associate simulation attributes to logical volumes. These describe the way these volumes should be simulated

Author:
Sebastien Ponce

Definition at line 30 of file ISimulationSvc.h.


Member Typedef Documentation

typedef std::map<int, const SimAttribute*> ISimulationSvc::PartAttr

Definition at line 35 of file ISimulationSvc.h.

typedef std::vector<RegionCuts> ISimulationSvc::VectOfRegCuts

Definition at line 36 of file ISimulationSvc.h.


Member Function Documentation

static const InterfaceID& ISimulationSvc::interfaceID (  )  [inline, static]

Retrieve interface ID.

Reimplemented from IInterface.

Definition at line 39 of file ISimulationSvc.h.

00039 { return IID_ISimulationSvc; }

virtual const PartAttr* ISimulationSvc::simAttribute ( const ILVolume vol  )  const [pure virtual]

This method returns the simulation attribute associated to a given logical volume.

Parameters:
vol the logical volume
Returns:
the simulation attribute that should be used to simulate this logical volume

Implemented in SimulationSvc.

virtual const PartAttr* ISimulationSvc::simAttribute ( const std::string  volname  )  const [pure virtual]

This method returns the simulation attribute associated to a given logical volume.

Parameters:
vol the logical volume
Returns:
the simulation attribute that should be used to simulate this logical volume

Implemented in SimulationSvc.

virtual const bool ISimulationSvc::hasSimAttribute ( const ILVolume vol  )  const [pure virtual]

This method tells whether a simulation attribute is associated to a given logical volume or not.

Parameters:
vol the logical volume

Implemented in SimulationSvc.

virtual const bool ISimulationSvc::hasSimAttribute ( const std::string  volname  )  const [pure virtual]

This method tells whether a simulation attribute is associated to a given logical volume or not.

Parameters:
vol the logical volume

Implemented in SimulationSvc.

virtual const std::vector<RegionCuts>* ISimulationSvc::regionsDefs (  )  const [pure virtual]

This method returns the pointer to the vector of region definitions.

Parameters:
@return std::vector<RegionCuts>

Implemented in SimulationSvc.

virtual void ISimulationSvc::reload (  )  [pure virtual]

this method erases the current set of attributes and loads a new set

Implemented in SimulationSvc.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:01:04 2011 for SimSvc by doxygen 1.4.7