- Int_t lutSize = 0x1 << inputWidth; // 2^inputwidth elements
- Int_t* resultingLUT = new Int_t[lutSize]; // create LUT
- for (Int_t iLUTentry = 0; iLUTentry < lutSize; iLUTentry++) { // init LUT
- resultingLUT[iLUTentry] = 0;
- }
- for (Int_t iEntry = 0; iEntry < results->GetSize(); iEntry++) {
- resultingLUT[(*results)[iEntry]] = initValue;
- }
+ Int_t lutSize = 0x1 << inputWidth; // 2^inputwidth elements
+ Int_t* resultingLUT = new Int_t[lutSize]; // create LUT
+ for (Int_t iLUTentry = 0; iLUTentry < lutSize; iLUTentry++) { // init LUT
+ resultingLUT[iLUTentry] = 0;
+ }
+ for (Int_t iEntry = 0; iEntry < results->GetSize(); iEntry++) {
+ resultingLUT[(*results)[iEntry]] = initValue;
+ }