12 #ifndef DataFormats_EvtPlane_h
13 #define DataFormats_EvtPlane_h
33 void addLevel(
int level,
double ang,
double sumsin,
double sumcos);
43 float qy(
int level = 2)
const {
return sumSin(level); }
44 float qx(
int level = 2)
const {
return sumCos(level); }
45 float q(
int level = 2)
const {
48 float vn(
int level = 2)
const {
return (
q(level) > 0 && fabs(
sumw()) > 0) ?
q(level) / fabs(
sumw()) : 0.; }
void addLevel(int level, double ang, double sumsin, double sumcos)
float qy(int level=2) const
float sumCos(int level=2) const
std::vector< EvtPlane > EvtPlaneCollection
float angle(int level=2) const
float vn(int level=2) const
EvtPlane(int epindx=0, int level=2, double planeA=0, double sumSin=0, double sumCos=0, double sumw=0, double sumw2=0, double pe=0, double pe2=0, uint mult=0)
float qx(int level=2) const
float sumSin(int level=2) const
float q(int level=2) const
Power< A, B >::type pow(const A &a, const B &b)