Skip to content

Commit

Permalink
CMSSW coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
bryates committed Jan 14, 2025
1 parent 4faf3ca commit 66cdf77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions TrackletAlgorithm/MatchEngineUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ inline void step(const VMStub<VMSType> stubmem[4][1<<(kNbitsrzbinMP+kNbitsphibin
#endif

inline void set_empty() {
static const emptyUnitClass<MatchEngineUnitBase<VMProjType>::kNBitsBuffer> EmptyUnitClass;
static const EmptyUnitClass<MatchEngineUnitBase<VMProjType>::kNBitsBuffer> EmptyUnitClass;
empty_ = EmptyUnitClass.lut[(readindex_,writeindex_)];
//empty_ = emptyUnit<MatchEngineUnitBase<VMProjType>::kNBitsBuffer>()[(readindex_,writeindex_)];
}
Expand All @@ -293,7 +293,7 @@ inline void step(const VMStub<VMSType> stubmem[4][1<<(kNbitsrzbinMP+kNbitsphibin
}

inline bool nearFull() {
static const nearFull3Class<MatchEngineUnitBase<VMProjType>::kNBitsBuffer> NearFull3Class;
static const NearFull3Class<MatchEngineUnitBase<VMProjType>::kNBitsBuffer> NearFull3Class;
return NearFull3Class.lut[(readindex_,writeindex_)];
//return nearFull3Unit<MatchEngineUnitBase<VMProjType>::kNBitsBuffer>()[(readindex_,writeindex_)];
}
Expand Down
4 changes: 2 additions & 2 deletions TrackletAlgorithm/MatchEngineUnit_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static bool nearFullUnitBool(ap_uint<kNBitsBuffer> rptr, ap_uint<kNBitsBuffer> w
}

template<int kNBitsBuffer>
class nearFull3Class {
class NearFull3Class {
public:
ap_uint<(1 << (2 * kNBitsBuffer))> lut;
nearFull3Class() {
Expand Down Expand Up @@ -100,7 +100,7 @@ static bool nearFull4UnitBool(ap_uint<kNBitsBuffer> rptr, ap_uint<kNBitsBuffer>
}

template<int kNBitsBuffer>
class emptyUnitClass {
class EmptyUnitClass {
public:
ap_uint<(1 << (2 * kNBitsBuffer))> lut;
emptyUnitClass() {
Expand Down

0 comments on commit 66cdf77

Please sign in to comment.