ATLAS Offline Software
Loading...
Searching...
No Matches
ICaloRecoMaterialTool Class Referenceabstract

This (clean) interface is driven by 2 constraints : More...

#include <ICaloRecoMaterialTool.h>

Inheritance diagram for ICaloRecoMaterialTool:
Collaboration diagram for ICaloRecoMaterialTool:

Public Member Functions

 DeclareInterfaceID (ICaloRecoMaterialTool, 1, 0)
virtual bool get_material (CaloSubdetNames::ALIGNVOL alvol, double &mass, double &volume, double &x0, double &dEdx, double &aveA, double &aveZ) const =0
 the enum ALIGNVOL covers all LAr pieces, including cryostats
virtual void get_default_material (double &density, double &x0, double &dEdx, double &aveA, double &aveZ) const =0
 default material used to fill the envelope
virtual void print () const =0
 printout method

Detailed Description

This (clean) interface is driven by 2 constraints :

  • LAr and Tile information reside in two LAr/TileDetDescrManager, and Calorimeter MUST not depend on any LAr/Tile package. The client will thus have to retrieve the 2 tools implementing this interface for LAr and for Tile.
  • no LAr/Tile package is allowed to depend on Tracking base clases: this tool can thus only return numbers, which will be used in the CaloTrackingGeometry package to build the Trk::Volumes

Definition at line 35 of file ICaloRecoMaterialTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

ICaloRecoMaterialTool::DeclareInterfaceID ( ICaloRecoMaterialTool ,
1 ,
0  )

◆ get_default_material()

virtual void ICaloRecoMaterialTool::get_default_material ( double & density,
double & x0,
double & dEdx,
double & aveA,
double & aveZ ) const
pure virtual

default material used to fill the envelope

◆ get_material()

virtual bool ICaloRecoMaterialTool::get_material ( CaloSubdetNames::ALIGNVOL alvol,
double & mass,
double & volume,
double & x0,
double & dEdx,
double & aveA,
double & aveZ ) const
pure virtual

the enum ALIGNVOL covers all LAr pieces, including cryostats

◆ print()

virtual void ICaloRecoMaterialTool::print ( ) const
pure virtual

printout method


The documentation for this class was generated from the following file: