#include <CaloProtoCluster.h>
|
| void | getKine () |
| | update m_e and m_et
|
Definition at line 14 of file CaloProtoCluster.h.
◆ CaloProtoCluster() [1/4]
| CaloProtoCluster::CaloProtoCluster |
( |
| ) |
|
|
delete |
◆ CaloProtoCluster() [2/4]
◆ CaloProtoCluster() [3/4]
◆ CaloProtoCluster() [4/4]
◆ addCell()
◆ e()
| double CaloProtoCluster::e |
( |
| ) |
|
|
inline |
Return the weighted energy sum of the list of cells.
Definition at line 34 of file CaloProtoCluster.h.
34 {
37 }
void getKine()
update m_e and m_et
◆ et()
| double CaloProtoCluster::et |
( |
| ) |
|
|
inline |
◆ getCellLinks()
◆ getKine()
| void CaloProtoCluster::getKine |
( |
| ) |
|
|
private |
update m_e and m_et
Definition at line 32 of file CaloProtoCluster.cxx.
32 {
33
34
35
37 double absEnergySum=0;
38 double etaSum=0;
39
41 CaloClusterCellLink::const_iterator
it=lnk->
begin();
42 CaloClusterCellLink::const_iterator it_e=lnk->
end();
43
46
48 for (;
it!=it_e;++
it) {
49
51
53 double cellEta=
cell->eta();
54 double cellE=
cell->e();
55 double cellW=
it.weight();
56 double absEW=cellW*std::fabs(cellE);
57
59 absEnergySum+=absEW;
60 etaSum += absEW * cellEta;
61 }
62
63 if (absEnergySum != 0) {
64 double eta=etaSum/absEnergySum;
65
66 double sinTh = 1.0 / std::cosh(
eta );
69 }
70}
Scalar eta() const
pseudorapidity method
const_iterator end() const
const end method
const_iterator begin() const
const begin method
void nextDDE(Iter iter, Iter endIter)
Prefetch next CaloDDE.
void prefetchObj(const T *ptr)
Generic prefetch of the object of specific types (sizes).
◆ releaseCellLinks()
◆ size()
| size_t CaloProtoCluster::size |
( |
| ) |
|
|
inline |
◆ m_cellLinks
◆ m_e
| double CaloProtoCluster::m_e |
|
private |
◆ m_et
| double CaloProtoCluster::m_et |
|
private |
◆ m_haveKine
| bool CaloProtoCluster::m_haveKine |
|
private |
The documentation for this class was generated from the following files: