Skip to content

Commit 57be30e

Browse files
author
afurs
committed
FT0 LUT prepared as Singleton for DigitBlockFT0 usage
1 parent a25a55c commit 57be30e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • DataFormats/Detectors/FIT/FT0/include/DataFormatsFT0

DataFormats/Detectors/FIT/FT0/include/DataFormatsFT0/LookUpTable.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,16 @@ class LookUpTable
216216
};
217217

218218
//Singleton for LookUpTable
219-
class SingleLUT:public LookUpTable
219+
class SingleLUT : public LookUpTable
220220
{
221221
private:
222-
SingleLUT():LookUpTable(LookUpTable::readTable()) {}
222+
SingleLUT() : LookUpTable(LookUpTable::readTable()) {}
223223
SingleLUT(const SingleLUT&) = delete;
224224
SingleLUT& operator=(SingleLUT&) = delete;
225+
225226
public:
226-
static SingleLUT& Instance() {
227+
static SingleLUT& Instance()
228+
{
227229
static SingleLUT instanceLUT;
228230
return instanceLUT;
229231
}

0 commit comments

Comments
 (0)