6 #include <FairLogger.h>
8 #include <Math/Point2D.h>
9 #include <Math/Point3D.h>
10 #include <Math/Point3Dfwd.h>
26 if ((pos.X() < -9000 || pos.Y() < -9000) && pad->
GetPadNum() != -1)
27 LOG(error) <<
" AtPSAHitPErTB::Analysis Warning! Wrong Coordinates for Pad : " << pad->
GetPadNum() << std::endl;
30 LOG(ERROR) <<
"Pedestal should be subtracted to use this class!";
36 double traceIntegral = 0;
37 for (Int_t iTb = 0; iTb <
fNumTbs; iTb++) {
44 traceIntegral += adc[iTb];
47 hit->SetTimeStamp(iTb);
48 hits.push_back(std::move(hit));
53 for (
auto &hit : hits)
54 hit->SetTraceIntegral(traceIntegral);
61 if (limits.first >= limits.second) {
62 std::cout <<
" Warning AtPSA::SetTBLimits - Wrong Time Bucket limits. Setting default limits (0,512) ... "