HCALForwardProperties

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#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