34 for(
int j=0;
j<nOutVar;
j++){
46 if(_nPN==0) val[iPN]=pn0;
49 if(pn!=0) val[iPNoPN]=val[iPN]/pn;
52 if(pn0!=0) val[iPNoPN0]=val[iPN]/pn0;
55 if(pn1!=0) val[iPNoPN1]=val[iPN]/pn1;
58 for(
int ivar=0;ivar<nOutVar;ivar++){
59 mom[ivar]->addEntry(val[ivar]);
66 cuts[0][ivar]=mean-2.0*sig;
67 cuts[1][ivar]=mean+2.0*sig;
68 if(cuts[0][ivar]<0)cuts[0][ivar]=0.0 ;
70 mom[ivar]->setCut(cuts[0][ivar],cuts[1][ivar]);
81 std::vector<double> res;
85 res.push_back(mom[ivar]->getMean());
86 res.push_back(mom[ivar]->getRMS());
87 res.push_back(mom[ivar]->getM3());
88 res.push_back(mom[ivar]->getNevt());
89 res.push_back(mom[ivar]->getMin());
90 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()