CMS 3D CMS Logo

HCALEndcapProperties Class Reference

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. More...

#include <FastSimulation/CalorimeterProperties/interface/HCALEndcapProperties.h>

Inheritance diagram for HCALEndcapProperties:

HCALProperties CalorimeterProperties

List of all members.

Public Member Functions

 HCALEndcapProperties (const edm::ParameterSet &fastDet)
double thickness (const double eta) const
 Thickness (in cm), according to a document of 1995. TO be checked.
virtual ~HCALEndcapProperties ()


Detailed Description

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

Definition at line 17 of file HCALEndcapProperties.h.


Constructor & Destructor Documentation

HCALEndcapProperties::HCALEndcapProperties ( const edm::ParameterSet fastDet  )  [inline]

Definition at line 22 of file HCALEndcapProperties.h.

00022 :HCALProperties(fastDet) {; } 

virtual HCALEndcapProperties::~HCALEndcapProperties (  )  [inline, virtual]

Definition at line 24 of file HCALEndcapProperties.h.

00024 { }


Member Function Documentation

double HCALEndcapProperties::thickness ( const double  eta  )  const [inline, virtual]

Thickness (in cm), according to a document of 1995. TO be checked.

Implements CalorimeterProperties.

Definition at line 27 of file HCALEndcapProperties.h.

References c, e, e1, e2, funct::exp(), HCALProperties::interactionLength(), and t.

00027                                            { 
00028 
00029     double e  = std::exp(-eta);
00030     double e2 = e*e;
00031     double c  = (1.-e2)/(1.+e2);
00032     //    double s  = 2.*e/(1.+e2);
00033     double t  = fabs(2.*e/(1.-e2));
00034     double feta = fabs(eta);
00035 
00036     if ( 1.440 < feta && feta < 1.550 ) 
00037       {
00038         double e1  = std::exp(-1.550);
00039         double t1  = 2.*e1 /(1.-e1*e1);
00040         // 388.0 cm is the inner z of HCAL
00041         return ((10.78*interactionLength()+388.0) * t1/t - 388.0) / fabs(c);
00042       } 
00043     else if ( 1.550 <= feta && feta < 3. ) 
00044       {
00045         return 10.78 * interactionLength() / fabs(c) ;  
00046       } 
00047     else
00048       {
00049         return 0.;
00050       }
00051   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:23:41 2009 for CMSSW by  doxygen 1.5.4