CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HcalMaterial Class Reference

#include <HcalMaterials.h>

Public Member Functions

float getValue (float Energy)
 
 HcalMaterial (unsigned long fId, const std::pair< std::vector< float >, std::vector< float > > &fCorrs)
 
unsigned long mmId (void)
 

Private Attributes

std::pair< std::vector< float >, std::vector< float > > mCorrs
 
unsigned long mId
 

Detailed Description

Definition at line 8 of file HcalMaterials.h.

Constructor & Destructor Documentation

◆ HcalMaterial()

HcalMaterial::HcalMaterial ( unsigned long  fId,
const std::pair< std::vector< float >, std::vector< float > > &  fCorrs 
)
inline

Definition at line 13 of file HcalMaterials.h.

16  {
17  mId = fId;
18  mCorrs = fCorrs;
19  }

References mCorrs, and mId.

Member Function Documentation

◆ getValue()

float HcalMaterial::getValue ( float  Energy)
inline

Definition at line 10 of file HcalMaterials.h.

10 { return 1.; }

◆ mmId()

unsigned long HcalMaterial::mmId ( void  )
inline

Definition at line 21 of file HcalMaterials.h.

21 { return mId; }

References mId.

Member Data Documentation

◆ mCorrs

std::pair<std::vector<float>, std::vector<float> > HcalMaterial::mCorrs
private

Definition at line 25 of file HcalMaterials.h.

Referenced by HcalMaterial().

◆ mId

unsigned long HcalMaterial::mId
private

Definition at line 24 of file HcalMaterials.h.

Referenced by HcalMaterial(), and mmId().

HcalMaterial::mId
unsigned long mId
Definition: HcalMaterials.h:24
HcalMaterial::mCorrs
std::pair< std::vector< float >, std::vector< float > > mCorrs
Definition: HcalMaterials.h:25