]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/RESONANCES/AliRsnCutEventUtils.h
Adding macro to plot <Ncoll>
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnCutEventUtils.h
CommitLineData
4742db9a 1//
2// Class AliRsnCutEventUtils
3//
4// It works with ESD and AOD events.
5//
6// authors: F. Bellini (fbellini@cern.ch)
7
8#ifndef ALIRSNCUTEVENTUTILS_H
9#define ALIRSNCUTEVENTUTILS_H
10
11#include "AliRsnCut.h"
12
13class AliVVertex;
14class AliAnalysisUtils;
15
16class AliRsnCutEventUtils : public AliRsnCut {
17 public:
18
19 AliRsnCutEventUtils(const char *name = "cutEventUtils", Bool_t rmFirstEvInChunck = kFALSE, Bool_t checkPileUppA2013 = kTRUE);
20 AliRsnCutEventUtils(const AliRsnCutEventUtils &copy);
21 AliRsnCutEventUtils &operator=(const AliRsnCutEventUtils &copy);
22 virtual ~AliRsnCutEventUtils() {;};
23
24 void SetRemovePileUppA2013(Bool_t doit = kTRUE) {fCheckPileUppA2013 = doit;}
25 void SetRemoveFirstEvtInChunk(Bool_t doit = kTRUE) {fIsRmFirstEvInChunck = doit;}
26 void SetUseMVPlpSelection(Bool_t useMVPlpSelection = kFALSE) { fUseMVPlpSelection = useMVPlpSelection;}
536339fc 27 void SetUseVertexSelection2013pA(Bool_t zvtxpA2013 = kTRUE) {fUseVertexSelection2013pA = zvtxpA2013;}
4742db9a 28 Bool_t IsSelected(TObject *object);
29 AliAnalysisUtils* GetAnalysisUtils() { return fUtils; }
30 void SetAnalysisUtils(AliAnalysisUtils* utils){ fUtils = utils; }
31 void SetMinPlpContribMV(Int_t minPlpContribMV) { fMinPlpContribMV = minPlpContribMV;}
32 void SetMinPlpContribSPD(Int_t minPlpContribSPD) { fMinPlpContribSPD = minPlpContribSPD;}
33
34 private:
35
36 Bool_t fIsRmFirstEvInChunck; // if kTRUE, remove the first event in the chunk (pA2013)
37 Bool_t fCheckPileUppA2013; // check and reject pileupped events (pA2013)
38 Bool_t fUseMVPlpSelection; // check for pile-up from multiple vtx
39 Int_t fMinPlpContribMV; // min. n. of MV pile-up contributors
40 Int_t fMinPlpContribSPD; // min. n. of pile-up contributors from SPD
536339fc 41 Bool_t fUseVertexSelection2013pA;// check and reject vertex of events for pA2013
42
4742db9a 43 AliAnalysisUtils * fUtils; //pointer to the AliAnalysisUtils object
44
536339fc 45 ClassDef(AliRsnCutEventUtils, 2)
4742db9a 46
47 };
48
49#endif