Main Page
Namespaces
Classes
Package Documentation
RecoJets
JetProducers
interface
CastorJetIDHelper.h
Go to the documentation of this file.
1
#ifndef RecoJets_JetProducers_interface_CastorJetIDHelper_h
2
#define RecoJets_JetProducers_interface_CastorJetIDHelper_h
3
4
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
DataFormats/JetReco/interface/BasicJet.h
"
8
9
namespace
reco
{
10
11
namespace
helper
{
12
13
class
CastorJetIDHelper
{
14
15
public
:
16
// construction
17
CastorJetIDHelper
();
18
~CastorJetIDHelper
() {}
19
20
21
void
initValues
();
22
23
// interface
24
void
calculate
(
const
edm::Event
&
event
,
const
reco::BasicJet
&
jet
);
25
26
// member access
27
28
double
emEnergy
()
const
{
return
emEnergy_
;}
29
double
hadEnergy
()
const
{
return
hadEnergy_
;}
30
double
fem
()
const
{
return
fem_
;}
31
double
width
()
const
{
return
width_
;}
32
double
depth
()
const
{
return
depth_
;}
33
double
fhot
()
const
{
return
fhot_
;}
34
double
sigmaz
()
const
{
return
sigmaz_
;}
35
int
nTowers
()
const
{
return
nTowers_
;}
36
37
38
private
:
39
40
41
// helper functions
42
double
phiangle
(
double
testphi);
43
44
double
emEnergy_
;
45
double
hadEnergy_
;
46
double
fem_
;
47
double
width_
;
48
double
depth_
;
49
double
fhot_
;
50
double
sigmaz_
;
51
int
nTowers_
;
52
53
static
int
sanity_checks_left_
;
54
};
55
}
56
}
57
#endif
metsig::jet
Definition:
SignAlgoResolutions.h:40
helper
Definition:
helper.py:1
reco::helper::CastorJetIDHelper::CastorJetIDHelper
CastorJetIDHelper()
Definition:
CastorJetIDHelper.cc:14
reco::helper::CastorJetIDHelper::depth_
double depth_
Definition:
CastorJetIDHelper.h:48
Event.h
reco::helper::CastorJetIDHelper::hadEnergy
double hadEnergy() const
Definition:
CastorJetIDHelper.h:29
reco::helper::CastorJetIDHelper::nTowers_
int nTowers_
Definition:
CastorJetIDHelper.h:51
reco::BasicJet
Jets made from CaloTowers.
Definition:
BasicJet.h:20
Frameworkfwd.h
reco::helper::CastorJetIDHelper::fhot
double fhot() const
Definition:
CastorJetIDHelper.h:33
reco::helper::CastorJetIDHelper::fem
double fem() const
Definition:
CastorJetIDHelper.h:30
reco::helper::CastorJetIDHelper::sigmaz_
double sigmaz_
Definition:
CastorJetIDHelper.h:50
reco::helper::CastorJetIDHelper::fhot_
double fhot_
Definition:
CastorJetIDHelper.h:49
reco::helper::CastorJetIDHelper::calculate
void calculate(const edm::Event &event, const reco::BasicJet &jet)
Definition:
CastorJetIDHelper.cc:33
reco::helper::CastorJetIDHelper::initValues
void initValues()
Definition:
CastorJetIDHelper.cc:20
reco::helper::CastorJetIDHelper::width_
double width_
Definition:
CastorJetIDHelper.h:47
BasicJet.h
reco::helper::CastorJetIDHelper::phiangle
double phiangle(double testphi)
Definition:
CastorJetIDHelper.cc:83
reco::helper::CastorJetIDHelper
Definition:
CastorJetIDHelper.h:13
reco::helper::CastorJetIDHelper::nTowers
int nTowers() const
Definition:
CastorJetIDHelper.h:35
reco::helper::CastorJetIDHelper::fem_
double fem_
Definition:
CastorJetIDHelper.h:46
reco::helper::CastorJetIDHelper::sanity_checks_left_
static int sanity_checks_left_
Definition:
CastorJetIDHelper.h:53
reco::helper::CastorJetIDHelper::~CastorJetIDHelper
~CastorJetIDHelper()
Definition:
CastorJetIDHelper.h:18
reco::helper::CastorJetIDHelper::width
double width() const
Definition:
CastorJetIDHelper.h:31
reco::helper::CastorJetIDHelper::depth
double depth() const
Definition:
CastorJetIDHelper.h:32
reco::helper::CastorJetIDHelper::hadEnergy_
double hadEnergy_
Definition:
CastorJetIDHelper.h:45
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
reco::helper::CastorJetIDHelper::emEnergy_
double emEnergy_
Definition:
CastorJetIDHelper.h:44
edm::Event
Definition:
Event.h:69
reco::helper::CastorJetIDHelper::emEnergy
double emEnergy() const
Definition:
CastorJetIDHelper.h:28
event
Definition:
event.py:1
reco::helper::CastorJetIDHelper::sigmaz
double sigmaz() const
Definition:
CastorJetIDHelper.h:34
Generated for CMSSW Reference Manual by
1.8.11