returns kTRUE if the event is to be counted for normalization
(pass event selection cuts OR has no primary vertex)
*/
-void AliNormalizationCounter::StoreEvent(AliVEvent *event,AliRDHFCuts *rdCut,Bool_t mc){
+void AliNormalizationCounter::StoreEvent(AliVEvent *event,AliRDHFCuts *rdCut,Bool_t mc, Int_t multiplicity){
//
Bool_t isEventSelected = rdCut->IsEventSelected(event);
Int_t runNumber = event->GetRunNumber();
// Evaluate the multiplicity
- Int_t multiplicity = Multiplicity(event);
+ if(multiplicity==-9999) Multiplicity(event);
//Find CINT1B
AliESDEvent *eventESD = (AliESDEvent*)event;
void Add(const AliNormalizationCounter*);
void SetESD(Bool_t flag){fESD=flag;}
void SetStudyMultiplicity(Bool_t flag, Float_t etaRange){ fMultiplicity=flag; fMultiplicityEtaRange=etaRange; }
- void StoreEvent(AliVEvent*,AliRDHFCuts *,Bool_t mc=kFALSE);
+ void StoreEvent(AliVEvent*,AliRDHFCuts *,Bool_t mc=kFALSE, Int_t multiplicity=-9999);
void StoreCandidates(AliVEvent*, Int_t nCand=0,Bool_t flagFilter=kTRUE);
TH1D* DrawAgainstRuns(TString candle="candid(filter)",Bool_t drawHist=kTRUE);
TH1D* DrawRatio(TString candle1="candid(filter)",TString candle2="triggered");