Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoEcal
EgammaCoreTools
interface
EcalTools.h
Go to the documentation of this file.
1
10
#ifndef __EcalTools_h_
11
#define __EcalTools_h_
12
13
#include "
DataFormats/DetId/interface/DetId.h
"
14
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
15
16
class
EcalTools
{
17
18
public
:
19
20
static
float
swissCross
(
const
DetId
&
id
,
21
const
EcalRecHitCollection
& recHits,
22
float
recHitThreshold ,
23
bool
avoidIeta85=
true
);
24
25
private
:
26
27
static
float
recHitE
(
const
DetId
id
,
const
EcalRecHitCollection
&recHits );
28
static
float
recHitE
(
const
DetId
id
,
const
EcalRecHitCollection
& recHits,
29
int
dEta,
int
dPhi
);
30
static
float
recHitApproxEt
(
const
DetId
id
,
31
const
EcalRecHitCollection
&recHits );
32
};
33
34
35
#endif // __EcalTools_h_
36
37
// Configure (x)emacs for this file ...
38
// Local Variables:
39
// mode:c++
40
// compile-command: "scram b -k"
41
// End:
edm::SortedCollection
Definition:
SortedCollection.h:49
EcalRecHitCollections.h
EcalTools
Definition:
EcalTools.h:16
dPhi
double dPhi(double phi1, double phi2)
Definition:
JetUtil.h:30
DetId
Definition:
DetId.h:20
EcalTools::recHitE
static float recHitE(const DetId id, const EcalRecHitCollection &recHits)
Definition:
EcalTools.cc:62
EcalTools::swissCross
static float swissCross(const DetId &id, const EcalRecHitCollection &recHits, float recHitThreshold, bool avoidIeta85=true)
Definition:
EcalTools.cc:7
EcalTools::recHitApproxEt
static float recHitApproxEt(const DetId id, const EcalRecHitCollection &recHits)
Definition:
EcalTools.cc:72
DetId.h
Generated for CMSSW Reference Manual by
1.8.5