Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaTools
interface
LongDeps.h
Go to the documentation of this file.
1
#ifndef RecoEgamma_EgammaTools_LongDeps_h
2
#define RecoEgamma_EgammaTools_LongDeps_h
3
#include <vector>
4
#include <set>
5
6
/*
7
* Stores information about the HGCal EM MultiCluster computed
8
* using EGammaPCAHelper, including in particular hits restricted to
9
* a cylinder along the shower axis with some given radius
10
*/
11
12
namespace
hgcal
{
13
14
class
LongDeps
{
15
public
:
16
LongDeps
(
float
radius
,
const
std::vector<float>&
energyPerLayer
,
float
energyEE
,
float
energyFH
,
float
energyBH
,
const
std::set<int>&
layers
);
17
~LongDeps
() {}
18
// to check the radius used
19
inline
float
radius
()
const
{
return
radius_
;};
20
inline
float
energyEE
()
const
{
return
energyEE_
;}
21
inline
float
energyFH
()
const
{
return
energyFH_
;}
22
inline
float
energyBH
()
const
{
return
energyBH_
;}
23
inline
const
std::vector<float>&
energyPerLayer
()
const
{
return
energyPerLayer_
;}
24
inline
const
std::set<int> &
layers
()
const
{
return
layers_
;}
25
inline
unsigned
nLayers
()
const
{
return
layers_
.size();}
26
inline
int
firstLayer
()
const
{
return
(
nLayers
()>0 ? *
layers_
.begin() : -1 );}
27
inline
int
lastLayer
()
const
{
return
(
nLayers
()>0 ? *
layers_
.rbegin() : -1) ;}
28
inline
int
layerEfrac10
()
const
{
return
lay_Efrac10_
; }
29
inline
int
layerEfrac90
()
const
{
return
lay_Efrac90_
; }
30
inline
float
e4oEtot
()
const
{
return
e4oEtot_
;}
31
32
private
:
33
std::vector<float>
energyPerLayer_
;
34
float
radius_
;
35
float
energyEE_
;
36
float
energyFH_
;
37
float
energyBH_
;
38
std::set<int>
layers_
;
39
int
lay_Efrac10_
;
40
int
lay_Efrac90_
;
41
float
e4oEtot_
;
42
};
43
44
}
45
46
#endif
hgcal::LongDeps::lay_Efrac90_
int lay_Efrac90_
Definition:
LongDeps.h:40
hgcal::LongDeps::nLayers
unsigned nLayers() const
Definition:
LongDeps.h:25
hgcal::LongDeps::energyEE
float energyEE() const
Definition:
LongDeps.h:20
hgcal::LongDeps::energyEE_
float energyEE_
Definition:
LongDeps.h:35
hgcal::LongDeps::firstLayer
int firstLayer() const
Definition:
LongDeps.h:26
hgcal::LongDeps::LongDeps
LongDeps(float radius, const std::vector< float > &energyPerLayer, float energyEE, float energyFH, float energyBH, const std::set< int > &layers)
Definition:
LongDeps.cc:5
hgcal::LongDeps::energyFH
float energyFH() const
Definition:
LongDeps.h:21
hgcal
Definition:
EgammaPCAHelper.h:31
hgcal::LongDeps::radius
float radius() const
Definition:
LongDeps.h:19
hgcal::LongDeps::energyFH_
float energyFH_
Definition:
LongDeps.h:36
hgcal::LongDeps::lay_Efrac10_
int lay_Efrac10_
Definition:
LongDeps.h:39
hgcal::LongDeps::layerEfrac10
int layerEfrac10() const
Definition:
LongDeps.h:28
hgcal::LongDeps::layers_
std::set< int > layers_
Definition:
LongDeps.h:38
hgcal::LongDeps::lastLayer
int lastLayer() const
Definition:
LongDeps.h:27
hgcal::LongDeps::~LongDeps
~LongDeps()
Definition:
LongDeps.h:17
hgcal::LongDeps::e4oEtot
float e4oEtot() const
Definition:
LongDeps.h:30
hgcal::LongDeps::energyPerLayer_
std::vector< float > energyPerLayer_
Definition:
LongDeps.h:33
hgcal::LongDeps::radius_
float radius_
Definition:
LongDeps.h:34
hgcal::LongDeps::layers
const std::set< int > & layers() const
Definition:
LongDeps.h:24
hgcal::LongDeps::e4oEtot_
float e4oEtot_
Definition:
LongDeps.h:41
hgcal::LongDeps::energyBH
float energyBH() const
Definition:
LongDeps.h:22
hgcal::LongDeps
Definition:
LongDeps.h:14
hgcal::LongDeps::energyPerLayer
const std::vector< float > & energyPerLayer() const
Definition:
LongDeps.h:23
hgcal::LongDeps::energyBH_
float energyBH_
Definition:
LongDeps.h:37
hgcal::LongDeps::layerEfrac90
int layerEfrac90() const
Definition:
LongDeps.h:29
Generated for CMSSW Reference Manual by
1.8.11