Skip to content
Snippets Groups Projects
Commit 9b18118e authored by flavigny's avatar flavigny
Browse files

* Some Fix in BigRIPS analysis

parent aaae8074
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ std::cout << ">> adc : " << adc << std::endl;
if(NLFired>0){
AvSum = AvSum/NLFired;
SqSum = std::pow(SqSum,1/NLFired);
SqSum = std::pow(SqSum,1./NLFired);
RawAvSum.push_back(AvSum);
RawSqSum.push_back(SqSum);
CalAvSum.push_back(ch2mev_0[id] + AvSum * ch2mev_1[id]);
......
......@@ -190,8 +190,13 @@ void TBigRIPSPlasticPhysics::PreTreat(){
T.push_back((TR_cal+TL_cal)/2.);
if(tmp.FQL.size()==1 && tmp.FQR.size()==1){
TSlew.push_back((TRSlew_cal+TLSlew_cal)/2.);
}
}
}else{
TSlew.push_back(-99999);
}
}else{
T.push_back(-99999);
TSlew.push_back(-99999);
}
//Simply fill QL and QR
if(tmp.FQL.size()==1){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment