#include <ClusterShapes.h>
Public Member Functions | |
void | Add (float e, float eta, float phi, float r=0.0) |
ClusterShapes () | |
ClusterShapes (float e, float eta, float phi, float r) | |
ClusterShapes (const ClusterShapes &x)=default | |
float | eD () const |
float | Eta () const |
void | Init (float e, float eta, float phi, float r=0.) |
float | LogEoverE () const |
int | N () const |
ClusterShapes | operator+ (const ClusterShapes &) |
void | operator+= (const ClusterShapes &) |
ClusterShapes & | operator= (const ClusterShapes &)=default |
float | Phi () const |
float | R () const |
float | SigmaEtaEta () const |
float | SigmaEtaPhi () const |
float | SigmaEtaR () const |
float | SigmaPhiPhi () const |
float | SigmaRPhi () const |
float | SigmaRR () const |
~ClusterShapes () | |
Private Attributes | |
float | emax_ = 0.0 |
bool | isPhi0_ = true |
bool | modified_ = false |
int | n_ = 0.0 |
float | sum_e2_ = 0.0 |
float | sum_e_ = 0.0 |
float | sum_eta2_ = 0.0 |
float | sum_eta_ = 0.0 |
float | sum_eta_phi_0_ = 0.0 |
float | sum_eta_phi_1_ = 0.0 |
float | sum_eta_r_ = 0.0 |
float | sum_logE_ = 0.0 |
float | sum_phi2_0_ = 0.0 |
float | sum_phi2_1_ = 0.0 |
float | sum_phi_0_ = 0.0 |
float | sum_phi_1_ = 0.0 |
float | sum_r2_ = 0.0 |
float | sum_r_ = 0.0 |
float | sum_r_phi_0_ = 0.0 |
float | sum_r_phi_1_ = 0.0 |
float | sum_w_ = 0.0 |
Definition at line 9 of file ClusterShapes.h.
|
inline |
|
inline |
Definition at line 43 of file ClusterShapes.h.
References Init().
|
inline |
Definition at line 44 of file ClusterShapes.h.
|
default |
|
inline |
Definition at line 48 of file ClusterShapes.h.
References ClusterShapes(), and alignCSCRings::r.
|
inline |
float ClusterShapes::Eta | ( | ) | const |
Definition at line 75 of file ClusterShapes.cc.
References sum_eta_, and sum_w_.
Referenced by SigmaEtaEta(), SigmaEtaPhi(), and SigmaEtaR().
void ClusterShapes::Init | ( | float | e, |
float | eta, | ||
float | phi, | ||
float | r = 0. |
||
) |
Definition at line 43 of file ClusterShapes.cc.
References alignCSCRings::e, PVValHelper::eta, log, M_PI, n_, alignCSCRings::r, sum_e2_, sum_e_, sum_eta2_, sum_eta_, sum_eta_phi_0_, sum_eta_phi_1_, sum_eta_r_, sum_logE_, sum_phi2_0_, sum_phi2_1_, sum_phi_0_, sum_phi_1_, sum_r2_, sum_r_, sum_r_phi_0_, sum_r_phi_1_, sum_w_, and w.
Referenced by ClusterShapes().
|
inline |
|
inline |
ClusterShapes ClusterShapes::operator+ | ( | const ClusterShapes & | x | ) |
Definition at line 6 of file ClusterShapes.cc.
References fwrapper::cs.
void ClusterShapes::operator+= | ( | const ClusterShapes & | x | ) |
Definition at line 12 of file ClusterShapes.cc.
References emax_, n_, sum_e2_, sum_e_, sum_eta2_, sum_eta_, sum_eta_phi_0_, sum_eta_phi_1_, sum_eta_r_, sum_logE_, sum_phi2_0_, sum_phi2_1_, sum_phi_0_, sum_phi_1_, sum_r2_, sum_r_, sum_r_phi_0_, sum_r_phi_1_, and sum_w_.
|
default |
float ClusterShapes::Phi | ( | ) | const |
Definition at line 97 of file ClusterShapes.cc.
References isPhi0_, SigmaPhiPhi(), sum_phi_0_, sum_phi_1_, and sum_w_.
float ClusterShapes::R | ( | ) | const |
Definition at line 76 of file ClusterShapes.cc.
References sum_r_, and sum_w_.
Referenced by SigmaEtaR(), SigmaRPhi(), and SigmaRR().
float ClusterShapes::SigmaEtaEta | ( | ) | const |
float ClusterShapes::SigmaEtaPhi | ( | ) | const |
Definition at line 108 of file ClusterShapes.cc.
References Eta(), isPhi0_, SigmaPhiPhi(), sum_eta_phi_0_, sum_eta_phi_1_, sum_phi_0_, sum_phi_1_, and sum_w_.
float ClusterShapes::SigmaEtaR | ( | ) | const |
float ClusterShapes::SigmaPhiPhi | ( | ) | const |
Definition at line 82 of file ClusterShapes.cc.
References isPhi0_, sum_phi2_0_, sum_phi2_1_, sum_phi_0_, sum_phi_1_, and sum_w_.
Referenced by Phi(), SigmaEtaPhi(), and SigmaRPhi().
float ClusterShapes::SigmaRPhi | ( | ) | const |
Definition at line 117 of file ClusterShapes.cc.
References isPhi0_, R(), SigmaPhiPhi(), sum_phi_0_, sum_phi_1_, sum_r_phi_0_, sum_r_phi_1_, and sum_w_.
float ClusterShapes::SigmaRR | ( | ) | const |
|
private |
Definition at line 16 of file ClusterShapes.h.
Referenced by operator+=().
|
mutableprivate |
Definition at line 38 of file ClusterShapes.h.
Referenced by Phi(), SigmaEtaPhi(), SigmaPhiPhi(), and SigmaRPhi().
|
mutableprivate |
Definition at line 39 of file ClusterShapes.h.
|
private |
Definition at line 14 of file ClusterShapes.h.
Referenced by Init(), N(), and operator+=().
|
private |
Definition at line 12 of file ClusterShapes.h.
Referenced by eD(), Init(), and operator+=().
|
private |
Definition at line 11 of file ClusterShapes.h.
Referenced by eD(), Init(), LogEoverE(), and operator+=().
|
private |
Definition at line 25 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaEtaEta().
|
private |
Definition at line 19 of file ClusterShapes.h.
Referenced by Eta(), Init(), and operator+=().
|
private |
Definition at line 34 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaEtaPhi().
|
private |
Definition at line 35 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaEtaPhi().
|
private |
Definition at line 31 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaEtaR().
|
private |
Definition at line 13 of file ClusterShapes.h.
Referenced by Init(), LogEoverE(), and operator+=().
|
private |
Definition at line 27 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaPhiPhi().
|
private |
Definition at line 28 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaPhiPhi().
|
private |
Definition at line 22 of file ClusterShapes.h.
Referenced by Init(), operator+=(), Phi(), SigmaEtaPhi(), SigmaPhiPhi(), and SigmaRPhi().
|
private |
Definition at line 23 of file ClusterShapes.h.
Referenced by Init(), operator+=(), Phi(), SigmaEtaPhi(), SigmaPhiPhi(), and SigmaRPhi().
|
private |
Definition at line 26 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaRR().
|
private |
Definition at line 20 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and R().
|
private |
Definition at line 32 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaRPhi().
|
private |
Definition at line 33 of file ClusterShapes.h.
Referenced by Init(), operator+=(), and SigmaRPhi().
|
private |
Definition at line 18 of file ClusterShapes.h.
Referenced by Eta(), Init(), operator+=(), Phi(), R(), SigmaEtaEta(), SigmaEtaPhi(), SigmaEtaR(), SigmaPhiPhi(), SigmaRPhi(), and SigmaRR().