FastSimulation
CalorimeterProperties
interface
HCALForwardProperties.h
Go to the documentation of this file.
1
#ifndef HCALForwardProperties_H
2
#define HCALForwardProperties_H
3
4
#include "
FastSimulation/CalorimeterProperties/interface/HCALProperties.h
"
5
6
#include <cmath>
7
8
namespace
edm
{
9
class
ParameterSet
;
10
}
11
21
class
HCALForwardProperties
:
public
HCALProperties
{
22
public
:
23
HCALForwardProperties
(
const
edm::ParameterSet
& fastDet) :
HCALProperties
(fastDet) { ; }
24
25
~HCALForwardProperties
()
override
{}
26
27
double
getHcalDepth
(
double
);
28
29
double
thickness
(
double
eta
)
const override
{
30
double
feta
= fabs(
eta
);
31
if
(
feta
> 3.0 &&
feta
< 5.19) {
32
return
HCALProperties::getHcalDepth
(
eta
) *
interactionLength
();
33
}
else
{
34
return
0.;
35
}
36
}
37
38
private
:
39
};
40
41
#endif
HCALForwardProperties::HCALForwardProperties
HCALForwardProperties(const edm::ParameterSet &fastDet)
Definition:
HCALForwardProperties.h:23
edm
HLT enums.
Definition:
AlignableModifier.h:19
HCALForwardProperties::getHcalDepth
double getHcalDepth(double)
HCALProperties::getHcalDepth
double getHcalDepth(double) const
Definition:
HCALProperties.cc:35
HCALForwardProperties::thickness
double thickness(double eta) const override
Thickness (in cm) of the homegeneous material as a function of rapidity.
Definition:
HCALForwardProperties.h:29
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
HCALProperties::interactionLength
double interactionLength() const override
Interaction length in cm.
Definition:
HCALProperties.h:56
HCALForwardProperties
Definition:
HCALForwardProperties.h:21
JetMETHLTOfflineSource_cfi.feta
feta
Definition:
JetMETHLTOfflineSource_cfi.py:30
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
HCALProperties.h
HCALProperties
Definition:
HCALProperties.h:21
HCALForwardProperties::~HCALForwardProperties
~HCALForwardProperties() override
Definition:
HCALForwardProperties.h:25
Generated for CMSSW Reference Manual by
1.8.16