Back to home page

Project CMSSW displayed by LXR

 
 

    


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  * Functions to return atomic properties of the material
0014  * A_eff and Z_eff are computed as the A-weighted sums 
0015  * of the A's and the Z's of Pb, W and O
0016  *
0017  * \author Patrick Janot
0018  * \date: 25-Jan-2004
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