Added new cuts for (TPC pid & TOF match) and (TPC pid & TOF veto) for K* pA analysis
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnCutSetDaughterParticle.h
CommitLineData
9cdd5474 1#ifndef ALIRSNCUTSETDAUGHTERPARTICLE_H
2#define ALIRSNCUTSETDAUGHTERPARTICLE_H
3
4//
5// Cuts collection for selecting good daughter candidates for rsn analysis
6//Requires:
7// 1) choice of existing cuts among the enum list
8// 2) PID ipothesis for the daughter particle
9//
10// Author: Francesca Bellini (fbellini@cern.ch)
11//
12
13#include "AliVTrack.h"
14#include "AliRsnCut.h"
15#include "AliRsnCutSet.h"
16#include "AliRsnCutTrackQuality.h"
17#include "AliRsnCutPIDNSigma.h"
18#include "AliRsnCutTOFMatch.h"
6b5662ca 19#include "AliRsnCutPhi.h"
9cdd5474 20
21class AliRsnCutSetDaughterParticle : public AliRsnCutSet {
22
23public:
24
25 enum ERsnDaughterCutSet {
e6952ec7 26 kNoCuts,
27 kQualityStd2010,
9664d398 28 kQualityStd2011,
e6952ec7 29 kTOFMatch,
30 kFastTPCpidNsigma,
31 kFastTOFpidNsigma,
32 kTPCTOFpidKstarPP2010,
33 kTOFpidKstarPbPb2010,
34 kTOFTPCmismatchKstarPbPb2010,
6b5662ca 35 kTOFMatchTRD2010,
36 kTOFMatchNoTRD2010,
37 kTOFpidKstarPbPbTRD2010,
38 kTOFpidKstarPbPbNoTRD2010,
9664d398 39 kTOFMatchTPCpidNsigma,
40 kQualityStd2010TRD,
41 kQualityStd2010NoTRD,
b307bb43 42 kTOFMatchPPB2011, //pA analysis
43 kTPCpidKstarPPB2011,
44 kTOFpidKstarPPB2011,
45 kTPCTOFpidKstarPPB2011,
319ac306 46 kTPCpidTOFvetoKStarPPB2011, //TPC pid with TOF veto
47 kTPCpidMatchPPB2011, //Match with nsigma = fNsigmaTPC
e6952ec7 48 kNDaughterCuts
49 };
50
9cdd5474 51 AliRsnCutSetDaughterParticle();
e6952ec7 52 AliRsnCutSetDaughterParticle(const char *name,
53 AliRsnCutSetDaughterParticle::ERsnDaughterCutSet cutSetID,
54 AliPID::EParticleType pid,
55 Float_t nsigmaFast,
56 Int_t AODfilterBit);
9cdd5474 57 AliRsnCutSetDaughterParticle(const AliRsnCutSetDaughterParticle &copy);
58 AliRsnCutSetDaughterParticle &operator=(const AliRsnCutSetDaughterParticle &copy);
a6430459 59 virtual ~AliRsnCutSetDaughterParticle();
e6952ec7 60
9cdd5474 61 void Init();
e6952ec7 62 void SetNsigmaForFastTPCpid(Float_t nsigma) {fNsigmaTPC=nsigma; return;};
63 void SetNsigmaForFastTOFpid(Float_t nsigma) {fNsigmaTOF=nsigma; return;};
64 void SetAODTrackCutFilterBit(Int_t ibit) {fAODTrkCutFilterBit=ibit; return;}
9cdd5474 65 //getters
e6952ec7 66 const char *GetAppliedDaughterCutSetName() { return GetName();}
b307bb43 67 Int_t GetAppliedDaughterCutSetId() { return fAppliedCutSetID;}
e6952ec7 68 const AliRsnCutTrackQuality *GetQualityCut() {return fCutQuality;};
9cdd5474 69
70private:
71
72 AliPID::EParticleType fPID; // PID for track
73 AliRsnCutSetDaughterParticle::ERsnDaughterCutSet fAppliedCutSetID; // ID of applied cut
74 Float_t fNsigmaTPC; // number of TPC sigmas for fast pid cut only
e6952ec7 75 Float_t fNsigmaTOF; // number of TOF sigmas for fast pid cut only
76 AliRsnCutTrackQuality *fCutQuality; //pointer to quality cut object
a6430459 77 Int_t fAODTrkCutFilterBit; //AOD filter bit for track cuts
78 ClassDef(AliRsnCutSetDaughterParticle, 2) // cut definitions for K*
9cdd5474 79
80};
81
82#endif