/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FastSimulation/CalorimeterProperties/interface/HCALForwardProperties.h
41 строка
884 B
Cms Build
Clang-Format
16 май 2019, 15:48
16 май 2019, 15:48
12a0cf0
Код
Авторство
О чём код?
#ifndef HCALForwardProperties_H #define HCALForwardProperties_H #include "FastSimulation/CalorimeterProperties/interface/HCALProperties.h" #include <cmath> namespace edm { class ParameterSet; } /** * Functions to return atomic properties of the material * A_eff and Z_eff are computed as the A-weighted sums * of the A's and the Z's of Pb, W and O * * \author Patrick Janot * \date: 25-Jan-2004 */ class HCALForwardProperties : public HCALProperties { public: HCALForwardProperties(const edm::ParameterSet& fastDet) : HCALProperties(fastDet) { ; } ~HCALForwardProperties() override {} double getHcalDepth(double); double thickness(double eta) const override { double feta = fabs(eta); if (feta > 3.0 && feta < 5.19) { return HCALProperties::getHcalDepth(eta) * interactionLength(); } else { return 0.; } } private: }; #endif