File indexing completed on 2024-04-06 12:11:13
0001 #ifndef HCALForwardProperties_H
0002 #define HCALForwardProperties_H
0003
0004 #include "FastSimulation/CalorimeterProperties/interface/HCALProperties.h"
0005
0006 #include <cmath>
0007
0008 namespace edm {
0009 class ParameterSet;
0010 }
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 class HCALForwardProperties : public HCALProperties {
0022 public:
0023 HCALForwardProperties(const edm::ParameterSet& fastDet) : HCALProperties(fastDet) { ; }
0024
0025 ~HCALForwardProperties() override {}
0026
0027 double getHcalDepth(double);
0028
0029 double thickness(double eta) const override {
0030 double feta = fabs(eta);
0031 if (feta > 3.0 && feta < 5.19) {
0032 return HCALProperties::getHcalDepth(eta) * interactionLength();
0033 } else {
0034 return 0.;
0035 }
0036 }
0037
0038 private:
0039 };
0040
0041 #endif