33 for(
int j=0;j<nOutVar;j++){
45 if(_nPN==0) val[iPN]=pn0;
48 if(pn!=0) val[iPNoPN]=val[iPN]/pn;
51 if(pn0!=0) val[iPNoPN0]=val[iPN]/pn0;
54 if(pn1!=0) val[iPNoPN1]=val[iPN]/pn1;
57 for(
int ivar=0;ivar<nOutVar;ivar++){
58 mom[ivar]->addEntry(val[ivar]);
65 cuts[0][ivar]=mean-2.0*sig;
66 cuts[1][ivar]=mean+2.0*sig;
67 if(
cuts[0][ivar]<0)
cuts[0][ivar]=0.0 ;
69 mom[ivar]->setCut(
cuts[0][ivar],
cuts[1][ivar]);
80 std::vector<double>
res;
84 res.push_back(mom[ivar]->getMean());
85 res.push_back(mom[ivar]->getRMS());
86 res.push_back(mom[ivar]->getM3());
87 res.push_back(mom[ivar]->getNevt());
88 res.push_back(mom[ivar]->getMin());
89 res.push_back(mom[ivar]->getMax());
std::vector< double > getPN()
void addEntry(double, double, double)
std::vector< double > getPNoPN1()
void setPNoPN0Cut(double, double)
void setPNCut(double, double)
std::vector< double > getPNoPN0()
std::vector< double > get(int)
void setPNoPNCut(double, double)
void setCut(int, double, double)
void setPNoPN1Cut(double, double)
std::vector< double > getPNoPN()