fPeriod(period),
fMaxAbsVertexZ(10.),
fManualV0EPCalc(false),
+ fModuleEnabled({true}),
fOutputContainer(0x0),
fNonLinCorr(0),
fEvent(0x0),
fCentNMixed = nMixed;
}
+//_____________________________________________________________________________
+void AliAnalysisTaskPi0Flow::SetEnablePHOSModule(int module, Bool_t enable)
+{
+ if( module < 1 || 5 < module )
+ AliFatal("PHOS Module must be between 1 and 5");
+ fModuleEnabled[module-1] = enable;
+}
//________________________________________________________________________
Int_t mod = relId[0] ;
Int_t cellX = relId[2];
Int_t cellZ = relId[3] ;
+ if ( ! fModuleEnabled[mod-1] )
+ continue;
if ( !IsGoodChannel("PHOS",mod,cellX,cellZ) )
continue ; // reject if not.
void SetEventMixingRPBinning(UInt_t nBins) { fNEMRPBins = nBins; }
void SetMaxAbsVertexZ(Float_t z) { fMaxAbsVertexZ = z; }
void SetManualV0EPCalc(Bool_t manCalc = true) {fManualV0EPCalc = manCalc;}
+ void SetEnablePHOSModule(int module, Bool_t enable = true);
void SetPHOSBadMap(Int_t mod,TH2I * badMapHist);
//Where to read AODB object with EP calibration if not default
Period fPeriod;
Float_t fMaxAbsVertexZ; // in cm
Bool_t fManualV0EPCalc;
+ Bool_t fModuleEnabled[5];
TList * fOutputContainer; //final histogram container