fRow(-1),
fColumn(-1),
fCaloFlag(0),
- fFilter(0),
fNModules(0),
fNRCU(0),
fNSides(0),
fRow(-1),
fColumn(-1),
fCaloFlag(0),
- fFilter(0),
fNModules(0),
fNRCU(0),
fNSides(0),
// reset PHOS/EMCAL raw stream params
AliAltroRawStreamV3::Reset();
fModule = fRow = fColumn = -1;
- fFilter = fCaloFlag = 0;
+ fCaloFlag = 0;
fCalo="";
}
if (AliAltroRawStreamV3::NextChannel()) {
ApplyAltroMapping();
- if ( fFilter > 0 ) { // some data should be filtered out
- if ( (fFilter & (1<<fCaloFlag)) != 0) {
- // this particular data should be filtered out
- return NextChannel(); // go to the next address instead
- }
- }
return kTRUE;
}
else
Bool_t IsLEDMonData() const {return (fCaloFlag == kLEDMonData);}
Int_t GetCaloFlag() const { return fCaloFlag; }
- Int_t GetFilter() const { return fFilter; }
-
- void SkipData(EAliCaloFlag caloFlag=kLEDMonData)
- { fFilter |= (1<<caloFlag); }
protected:
Int_t fRow; // index of current row
Int_t fColumn; // index of current column
Int_t fCaloFlag; // low (0) or (1) high gain; see enum EAliCaloFlag above
- Int_t fFilter; // default 0 = let everything through
Int_t fNModules; // number of (super)modules
Int_t fNRCU; // number of RCU per (super)module
Int_t fNSides; // Division of EMCal in "A" "C" sides
Bool_t fExternalMapping; // use external mapping or create a default one
AliAltroMapping *fMapping[20]; // pointers to ALTRO mapping
- ClassDef(AliCaloRawStreamV3, 2) // class for reading PHOS/EMCAL raw digits
+ ClassDef(AliCaloRawStreamV3, 3) // class for reading PHOS/EMCAL raw digits
};