// Author: J.Kral
#include <TClonesArray.h>
-#include <iostream>
-#include <bitset>
#include "AliLog.h"
#include "AliEmcalTriggerPatchInfo.h"
triggerMainJet = 0;
triggerMainGammaSimple = 0;
triggerMainJetSimple = 0;
+ triggerMainLevel0 = 0;
// go throuth the trigger channels, real first, then offline
while( NextTrigger( isOfflineSimple ) ){
AliEmcalTriggerPatchInfo* AliEmcalTriggerMaker::ProcessPatch( TriggerMakerTriggerType_t type, Bool_t isOfflineSimple ){
- Int_t globCol, globRow, tBits, cellAbsId[4], posOffset;
+ Int_t globCol, globRow, tBits, cellAbsId[4], posOffset(0);
Int_t absId, adcAmp;
Int_t i, j, k, cmCol, cmRow, cmiCellCol, cmiCellRow;
Double_t amp, ca, cmiCol, cmiRow;
case kTMEMCalLevel0:
posOffset = 1;
break;
+ default:
+ posOffset = 0;
+ break;
};
fGeom->GetAbsFastORIndexFromPositionInEMCAL( globCol+posOffset, globRow+posOffset, absId );
// convert to the 4 absId of the cells composing the trigger channel
case kTMEMCalLevel0:
posOffset = 0;
break;
+ default:
+ posOffset = 0;
+ break;
};
fGeom->GetAbsFastORIndexFromPositionInEMCAL( globCol+posOffset, globRow+posOffset, absId );