Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 18, 2024
1 parent 71fd2aa commit ee51194
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion TrigScint/include/TrigScint/Firmware/clusterproducer.h
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
void copyHit1(Hit One, Hit Two);
void copyHit2(Hit One, Hit Two);
void clusterproducer_ref(Hit inHit[NHITS], Cluster outClus[NCLUS]);
std::array<Cluster,NCLUS> clusterproducer_sw(Hit inHit[NHITS]);
std::array<Cluster, NCLUS> clusterproducer_sw(Hit inHit[NHITS]);
void clusterproducer_hw(Hit inHit[NHITS], Cluster outClus[NCLUS]);

#endif
2 changes: 1 addition & 1 deletion TrigScint/src/TrigScint/Firmware/clusterproducer_sw.cxx
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "TrigScint/Firmware/clusterproducer.h"
#include "TrigScint/Firmware/objdef.h"

std::array<Cluster,NCLUS> clusterproducer_sw(Hit inHit[NHITS]) {
std::array<Cluster, NCLUS> clusterproducer_sw(Hit inHit[NHITS]) {
ap_int<12> SEEDTHR = 30;
ap_int<12> CLUSTHR = 30;

Expand Down
6 changes: 3 additions & 3 deletions TrigScint/src/TrigScint/TrigScintFirmwareTracker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void TrigScintFirmwareTracker::produce(framework::Event &event) {
// post-call cleanup before looping over the clusters and putting them into
// Point i which is feed into track producer
int counterN = 0;
std::array<Cluster,NCLUS> Point1 = clusterproducer_sw(HPad1);
std::array<Cluster, NCLUS> Point1 = clusterproducer_sw(HPad1);
int topSeed = 0;
for (int i = 0; i < NCLUS; i++) {
if ((Point1[i].Seed.Amp < 450) and (Point1[i].Seed.Amp > 30) and
Expand All @@ -238,7 +238,7 @@ void TrigScintFirmwareTracker::produce(framework::Event &event) {
}
}
}
std::array<Cluster,NCLUS> Point2 = clusterproducer_sw(HPad2);
std::array<Cluster, NCLUS> Point2 = clusterproducer_sw(HPad2);
topSeed = 0;
for (int i = 0; i < NCLUS; i++) {
if ((Point2[i].Seed.Amp < 450) and (Point2[i].Seed.Amp > 30) and
Expand All @@ -252,7 +252,7 @@ void TrigScintFirmwareTracker::produce(framework::Event &event) {
}
}
}
std::array<Cluster,NCLUS> Point3 = clusterproducer_sw(HPad3);
std::array<Cluster, NCLUS> Point3 = clusterproducer_sw(HPad3);
topSeed = 0;
for (int i = 0; i < NCLUS; i++) {
if ((Point3[i].Seed.Amp < 450) and (Point3[i].Seed.Amp > 30) and
Expand Down

0 comments on commit ee51194

Please sign in to comment.