Skip to content
Snippets Groups Projects
Commit 38409434 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Hard coding fadc parameters as to avoid ev type 125

This avoids the requirment to have evtype 125 at the start of the run.
This is to allow the online monitor to start mid run.

	modified:   src/THcHitList.cxx
parent a68acd8a
No related branches found
No related tags found
No related merge requests found
Pipeline #2095 passed with stages
in 10 minutes and 4 seconds
......@@ -399,12 +399,17 @@ Int_t THcHitList::DecodeToHitList( const THaEvData& evdata, Bool_t suppresswarni
if (fPSE125) {
if(!fHaveFADCInfo) {
fNSA = fPSE125->GetNSA(d->crate);
fNSB = fPSE125->GetNSB(d->crate);
fNPED = fPSE125->GetNPED(d->crate);
//fNSA = fPSE125->GetNSA(d->crate);
//fNSB = fPSE125->GetNSB(d->crate);
//fNPED = fPSE125->GetNPED(d->crate);
// Hard coding for now so we don't need event typ 125 at the start of run.
fNSA = 26;
fNSB = 3;
fNPED = 4;
fHaveFADCInfo = kTRUE;
}
// Set F250 parameters.
}
//std::cout << fNSA << ", " << fNSB << ", " << fNPED << "\n";
// Set F250 parameters.
rawhit->SetF250Params(fNSA, fNSB, fNPED);
}
......
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