#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.
References ClusterShapes(), MillePedeFileConverter_cfg::e, PVValHelper::eta, Init(), and alignCSCRings::r.
|
default |
|
inline |
Definition at line 48 of file ClusterShapes.h.
References ClusterShapes(), Eta(), Phi(), R(), alignCSCRings::r, SigmaEtaEta(), SigmaPhiPhi(), and SigmaRR().
|
inline |
Definition at line 67 of file ClusterShapes.h.
References operator+(), operator+=(), operator=(), mathSSE::sqrt(), and sum_e_.
float ClusterShapes::Eta | ( | ) | const |
Definition at line 80 of file ClusterShapes.cc.
References sum_eta_, and sum_w_.
Referenced by Add(), SigmaEtaEta(), SigmaEtaPhi(), and SigmaEtaR().
void ClusterShapes::Init | ( | float | e, |
float | eta, | ||
float | phi, | ||
float | r = 0. |
||
) |
Definition at line 48 of file ClusterShapes.cc.
References MillePedeFileConverter_cfg::e, PVValHelper::eta, cmsBatch::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(), and ~ClusterShapes().
|
inline |
|
inline |
Definition at line 60 of file ClusterShapes.h.
References n_, SigmaEtaPhi(), SigmaEtaR(), and SigmaRPhi().
ClusterShapes ClusterShapes::operator+ | ( | const ClusterShapes & | x | ) |
Definition at line 6 of file ClusterShapes.cc.
References fwrapper::cs.
Referenced by eD().
void ClusterShapes::operator+= | ( | const ClusterShapes & | x | ) |
Definition at line 14 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_.
Referenced by eD().
|
default |
Referenced by eD().
float ClusterShapes::Phi | ( | ) | const |
Definition at line 106 of file ClusterShapes.cc.
References isPhi0_, SigmaPhiPhi(), sum_phi_0_, sum_phi_1_, and sum_w_.
Referenced by Add().
float ClusterShapes::R | ( | ) | const |
Definition at line 81 of file ClusterShapes.cc.
References sum_r_, and sum_w_.
Referenced by Add(), SigmaEtaR(), SigmaRPhi(), and SigmaRR().
float ClusterShapes::SigmaEtaEta | ( | ) | const |
float ClusterShapes::SigmaEtaPhi | ( | ) | const |
Definition at line 116 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_.
Referenced by N().
float ClusterShapes::SigmaEtaR | ( | ) | const |
Definition at line 114 of file ClusterShapes.cc.
References Eta(), R(), sum_eta_r_, and sum_w_.
Referenced by N().
float ClusterShapes::SigmaPhiPhi | ( | ) | const |
Definition at line 88 of file ClusterShapes.cc.
References isPhi0_, sum_phi2_0_, sum_phi2_1_, sum_phi_0_, sum_phi_1_, and sum_w_.
Referenced by Add(), Phi(), SigmaEtaPhi(), and SigmaRPhi().
float ClusterShapes::SigmaRPhi | ( | ) | const |
Definition at line 125 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_.
Referenced by N().
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 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(), 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().