AliPhysics  2aaea23 (2aaea23)
AliConversionCuts.h
Go to the documentation of this file.
1 #ifndef ALICONVERSIONCUTS_H
2 #define ALICONVERSIONCUTS_H
3 
4 // Class handling all kinds of selection cuts for Gamma Conversion analysis
5 // Authors: Svein Lindal, Daniel Lohner *
6 
7 //***********************************************************************************
8 //***********************************************************************************
9 //***********************************************************************************
10 //***********************************************************************************
11 //***********************************************************************************
12 // WARNING: this class is no longer supported,
13 // please use AliConversionPhotonCuts and AliConvEventCuts
14 //***********************************************************************************
15 //***********************************************************************************
16 //***********************************************************************************
17 //***********************************************************************************
18 //***********************************************************************************
19 
20 #include "AliAODpidUtil.h"
22 #include "AliAODConversionMother.h"
23 #include "AliAODTrack.h"
24 #include "AliESDtrack.h"
25 #include "AliVTrack.h"
26 #include "AliAODTrack.h"
27 #include "AliMCEvent.h"
28 #include "AliAnalysisCuts.h"
29 #include "TH1F.h"
30 #include "TF1.h"
31 #include "AliAnalysisUtils.h"
32 #include "AliAnalysisManager.h"
33 
34 class AliESDEvent;
35 class AliAODEvent;
37 class AliKFVertex;
38 class TH1F;
39 class TH2F;
40 class TF1;
41 class AliPIDResponse;
42 class AliAnalysisCuts;
43 class iostream;
44 class TList;
45 class AliAnalysisManager;
46 class AliAODMCParticle;
47 
48 using namespace std;
49 
50 class AliConversionCuts : public AliAnalysisCuts {
51 
52  public:
53 
54 
55  enum cutIds {
84  kNCuts
85  };
86 
87  enum photonCuts {
88  kPhotonIn=0,
96  kPhotonOut
97  };
98 
99 
100  Bool_t SetCutIds(TString cutString);
101  Int_t fCuts[kNCuts];
102  Bool_t SetCut(cutIds cutID, Int_t cut);
103  Bool_t UpdateCutString();
104 
105 
106  static const char * fgkCutNames[kNCuts];
107 
108  Double_t GetCosineOfPointingAngle(const AliConversionPhotonBase * photon, AliVEvent * event) const;
109 
110 
111  Bool_t InitializeCutsFromCutString(const TString analysisCutSelection);
112  void SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kAny) {
113  fOfflineTriggerMask = offlineTriggerMask;
114  fTriggerSelectedManually = kTRUE;
115  }
116  void SelectSpecialTrigger(UInt_t offlineTriggerMask = AliVEvent::kAny, TString TriggerClassName = "AliVEvent::kAny" ) {
117  fOfflineTriggerMask = offlineTriggerMask;
118  fSpecialTriggerName = TriggerClassName;
119  cout << fSpecialTriggerName.Data() << endl;
120 
121  }
122  void FillElectonLabelArray(AliAODConversionPhoton* photon, Int_t nV0);
123  void SetAcceptedHeader(TList *HeaderList){fHeaderList = HeaderList;}
124  void SetPreSelectionCutFlag(Bool_t preSelFlag){fPreSelCut = preSelFlag;}
125  TString *GetFoundHeader(){return fGeneratorNames;}
126 
127  Int_t GetEventQuality(){return fEventQuality;}
128  Bool_t GetIsFromPileup(){return fRemovePileUp;}
129 
130  AliConversionCuts(const char *name="V0Cuts", const char * title="V0 Cuts");
132  AliConversionCuts& operator=(const AliConversionCuts&);
133 
134  virtual ~AliConversionCuts(); //virtual destructor
135 
136  static AliConversionCuts * GetStandardCuts2010PbPb();
137  static AliConversionCuts * GetStandardCuts2010pp();
138 
139  virtual Bool_t IsSelected(TObject* /*obj*/){return kTRUE;}
140  virtual Bool_t IsSelected(TList* /*list*/) {return kTRUE;}
141 
142  TString GetCutNumber();
143 
144  void GetCentralityRange(Double_t range[2]){range[0]=10*fCentralityMin;range[1]=10*fCentralityMax;}
145 
146  // Cut Selection
147  Bool_t EventIsSelected(AliVEvent *fInputEvent, AliMCEvent *fMCEvent);
148  Int_t IsEventAcceptedByConversionCut(AliConversionCuts *ReaderCuts, AliVEvent *InputEvent, AliMCEvent *MCEvent, Int_t isHeavyIon);
149  Bool_t PhotonIsSelected(AliConversionPhotonBase * photon, AliVEvent * event);
150  Bool_t PhotonIsSelectedMC(TParticle *particle,AliMCEvent *mcEvent,Bool_t checkForConvertedGamma=kTRUE);
151  Bool_t PhotonIsSelectedAODMC(AliAODMCParticle *particle,TClonesArray *aodmcArray,Bool_t checkForConvertedGamma=kTRUE);
152  Bool_t ElectronIsSelectedMC(TParticle *particle,AliMCEvent *mcEvent);
153  Bool_t TracksAreSelected(AliVTrack * negTrack, AliVTrack * posTrack);
154  Bool_t MesonIsSelected(AliAODConversionMother *pi0,Bool_t IsSignal=kTRUE);
155  Bool_t MesonIsSelectedMC(TParticle *fMCMother,AliMCEvent *mcEvent, Bool_t bMCDaughtersInAcceptance=kFALSE);
156 
157  void InitAODpidUtil(Int_t type);
158  Bool_t InitPIDResponse();
159 
160  void SetPIDResponse(AliPIDResponse * pidResponse) {fPIDResponse = pidResponse;}
161  AliPIDResponse * GetPIDResponse() { return fPIDResponse;}
162 
163  void PrintCuts();
164  void PrintCutsWithValues();
165 
166  void InitCutHistograms(TString name="",Bool_t preCut = kTRUE);
167  void SetFillCutHistograms(TString name="",Bool_t preCut = kTRUE){if(!fHistograms){InitCutHistograms(name,preCut);};}
168  TList *GetCutHistograms(){return fHistograms;}
169  void FillPhotonCutIndex(Int_t photoncut){if(hCutIndex)hCutIndex->Fill(photoncut);}
170  void FillV0EtaBeforedEdxCuts(Float_t v0Eta){if(hEtaDistV0s)hEtaDistV0s->Fill(v0Eta);}
171  void FillV0EtaAfterdEdxCuts(Float_t v0Eta){if(hEtaDistV0sAfterdEdxCuts)hEtaDistV0sAfterdEdxCuts->Fill(v0Eta);}
172  void SetEtaShift(Double_t etaShift) {
173  fEtaShift = etaShift;
174  }
175  void SetEtaShift(TString pPbOrPbp) {
176  Double_t etaShift = 0.0;
177  if(!pPbOrPbp.CompareTo("pPb")) etaShift = -0.465;
178  else if(!pPbOrPbp.CompareTo("Pbp")) etaShift = 0.465;
179 
180  fEtaShift = etaShift;
181  }
182  Double_t GetEtaShift() {return fEtaShift;}
183  Bool_t GetDoEtaShift(){return fDoEtaShift;}
184  void DoEtaShift(Bool_t doEtaShift){fDoEtaShift = doEtaShift;}
185  void GetCorrectEtaShiftFromPeriod(TString periodName);
186 
187  static AliVTrack * GetTrack(AliVEvent * event, Int_t label);
188  static AliESDtrack *GetESDTrack(AliESDEvent * event, Int_t label);
189 
191  Bool_t SpecificTrackCuts(AliAODTrack * negTrack, AliAODTrack * posTrack,Int_t &cutIndex);
192  Bool_t SpecificTrackCuts(AliESDtrack * negTrack, AliESDtrack * posTrack,Int_t &cutIndex);
193  Bool_t AcceptanceCuts(AliConversionPhotonBase *photon);
194  Bool_t AcceptanceCut(TParticle *particle, TParticle * ePos,TParticle* eNeg);
195  Bool_t dEdxCuts(AliVTrack * track);
196  Bool_t ArmenterosQtCut(AliConversionPhotonBase *photon);
197  Bool_t AsymmetryCut(AliConversionPhotonBase *photon,AliVEvent *event);
198  Bool_t PIDProbabilityCut(AliConversionPhotonBase *photon, AliVEvent * event);
200  if(onfly == fUseOnFlyV0Finder) return kTRUE;
201  else return kFALSE;
202  }
203  Bool_t PhotonCuts(AliConversionPhotonBase *photon,AliVEvent *event);
204  Bool_t CorrectedTPCClusterCut(AliConversionPhotonBase *photon, AliVEvent * event);
205  Bool_t PsiPairCut(const AliConversionPhotonBase * photon) const;
206  Bool_t CosinePAngleCut(const AliConversionPhotonBase * photon, AliVEvent * event) const;
207  Bool_t RejectSharedElectronV0s(AliAODConversionPhoton* photon, Int_t nV0, Int_t nV0s);
208  Bool_t RejectToCloseV0s(AliAODConversionPhoton* photon, TList *photons, Int_t nV0);
209  Int_t IsParticleFromBGEvent(Int_t index, AliMCEvent *mcEvent, AliVEvent *InputEvent = 0x0);
210  void GetNotRejectedParticles(Int_t rejection, TList *HeaderList, AliVEvent *MCEvent);
211  void SetUseReweightingWithHistogramFromFile( Bool_t pi0reweight=kTRUE, Bool_t etareweight=kFALSE, Bool_t k0sreweight=kFALSE, TString path="$ALICE_PHYSICS/PWGGA/GammaConv/MCSpectraInput.root",
212  TString histoNamePi0 = "", TString histoNameEta = "", TString histoNameK0s = "",
213  TString fitNamePi0 = "", TString fitNameEta = "", TString fitNameK0s ="" ) {
214  AliInfo(Form("enabled reweighting for: pi0 : %i, eta: %i, K0s: %i",pi0reweight, etareweight, k0sreweight));
215  fDoReweightHistoMCPi0 = pi0reweight;
216  fDoReweightHistoMCEta = etareweight;
217  fDoReweightHistoMCK0s = k0sreweight;
218  fPathTrFReweighting=path;
219  fNameHistoReweightingPi0 =histoNamePi0;
220  fNameHistoReweightingEta =histoNameEta;
221  fNameHistoReweightingK0s =histoNameK0s;
222  fNameFitDataPi0 =fitNamePi0;
223  fNameFitDataEta =fitNameEta;
224  fNameFitDataK0s =fitNameK0s;
225 
226  }
227  void LoadReweightingHistosMCFromFile ();
228  UChar_t DeterminePhotonQualityAOD(AliAODConversionPhoton*, AliVEvent*);
229  // Event Cuts
230  Bool_t IsCentralitySelected(AliVEvent *fInputEvent, AliMCEvent *fMCEvent = NULL);
231  Double_t GetCentrality(AliVEvent *event);
232  Bool_t GetUseNewMultiplicityFramework(TString period);
233  Int_t GetNumberOfContributorsVtx(AliVEvent *event);
234  Bool_t VertexZCut(AliVEvent *fInputEvent);
235  Bool_t IsTriggerSelected(AliVEvent *fInputEvent);
236  Bool_t HasV0AND(){return fHasV0AND;}
237  Bool_t IsSDDFired(){return fIsSDDFired;}
238  Int_t IsSpecialTrigger(){return fSpecialTrigger;}
239  TString GetSpecialTriggerName(){return fSpecialTriggerName;}
240  Bool_t InPlaneOutOfPlaneCut(Double_t photonPhi, Double_t eventPlaneAngle = -100, Bool_t fill = kTRUE);
241  Int_t GetInPlaneOutOfPlaneCut(){return fInPlaneOutOfPlane;}
242 
243 
244  // Set Individual Cuts
245  Bool_t SetRCut(Int_t RCut);
246  Bool_t SetV0Finder(Int_t v0FinderType);
247  Bool_t SetChi2GammaCut(Int_t chi2GammaCut);
248  Bool_t SetTPCdEdxCutPionLine(Int_t pidedxSigmaCut);
249  Bool_t SetTPCdEdxCutElectronLine(Int_t ededxSigmaCut);
250  Bool_t SetSinglePtCut(Int_t singlePtCut);
251  Bool_t SetTPCClusterCut(Int_t clsTPCCut);
252  Bool_t SetEtaCut(Int_t etaCut);
253  Bool_t SetMinMomPiondEdxCut(Int_t piMinMomdedxSigmaCut);
254  Bool_t SetMaxMomPiondEdxCut(Int_t piMaxMomdedxSigmaCut);
255  Bool_t SetLowPRejectionCuts(Int_t LowPRejectionSigmaCut);
256  Bool_t SetQtMaxCut(Int_t QtMaxCut);
257  Bool_t SetTOFElectronPIDCut(Int_t TOFelectronPID);
258  Bool_t SetTRDElectronCut(Int_t TRDElectronCut);
259  Bool_t SetCentralityMin(Int_t useCentrality);
260  Bool_t SetIsHeavyIon(Int_t isHeavyIon);
261  Bool_t SetCentralityMax(Int_t centralityBin);
262  Bool_t SetPhotonAsymmetryCut(Int_t doPhotonAsymmetryCut);
263  Bool_t SetRemovePileUp(Int_t removePileUp);
264  Bool_t SetMultiplicityMethod(Int_t multiplicityMethod);
265  Bool_t SetSelectSpecialTrigger(Int_t selectSpecialTrigger);
266  Bool_t SetSelectSubTriggerClass (Int_t selectSpecialSubTriggerClass);
267  Bool_t SetCosPAngleCut(Int_t cosCut);
268  Bool_t SetPsiPairCut(Int_t psiCut);
269  Bool_t SetSharedElectronCut(Int_t sharedElec);
270  Bool_t SetToCloseV0sCut(Int_t toClose);
271  Bool_t SetRejectExtraSignalsCut(Int_t extraSignal);
272  Bool_t SetDCARPhotonPrimVtxCut(Int_t DCARPhotonPrimVtx);
273  Bool_t SetDCAZPhotonPrimVtxCut(Int_t DCAZPhotonPrimVtx);
274  Bool_t SetInPlaneOutOfPlane(Int_t inOutPlane);
275  void SetAddedSignalPDGCode(Int_t addedSignalPDGcode) {fAddedSignalPDGCode = addedSignalPDGcode;}
276  // Request Flags
277 
278  Int_t IsHeavyIon(){return fIsHeavyIon;}
279  Int_t GetFirstTPCRow(Double_t radius);
280  Float_t GetWeightForMeson(TString period, Int_t index, AliMCEvent *mcEvent, AliVEvent *InputEvent = 0x0);
281 
282  Bool_t UseElecSharingCut(){return fDoSharedElecCut;}
283  Bool_t UseToCloseV0sCut(){return fDoToCloseV0sCut;}
284  Int_t GetMultiplicityMethod(){return fMultiplicityMethod;}
285  Double_t GetEtaCut(){return fEtaCut;}
286  Int_t GetSignalRejection(){return fRejectExtraSignals;}
287  Int_t GetNAcceptedHeaders(){return fnHeaders; }
288  TString * GetAcceptedHeaderNames(){return fGeneratorNames;}
289  Int_t * GetAcceptedHeaderStart(){return fNotRejectedStart;}
290  Int_t * GetAcceptedHeaderEnd(){return fNotRejectedEnd;}
291  TList* GetAcceptedHeader(){return fHeaderList;}
292 
293 
294  protected:
297  AliPIDResponse *fPIDResponse;
298 
299 
300  Int_t fEventQuality; // EventQuality
301  //cuts
302  Double_t fMaxR; //r cut
303  Double_t fMinR; //r cut
304  Double_t fEtaCut; //eta cut
305  Double_t fEtaCutMin; //eta cut
306  Double_t fPtCut; // pt cut
307  Double_t fSinglePtCut; // pt cut for electron/positron
308  Double_t fMaxZ; //z cut
309  Double_t fMinClsTPC; // minimum clusters in the TPC
310  Double_t fMinClsTPCToF; // minimum clusters to findable clusters
318  Bool_t fDodEdxSigmaCut; // flag to use the dEdxCut based on sigmas
319  Bool_t fDoTOFsigmaCut; // flag to use TOF pid cut RRnewTOF
320  Double_t fPIDTRDEfficiency; // required electron efficiency for TRD PID
321  Bool_t fDoTRDPID; // flag to use TRD pid
325  Double_t fTofPIDnSigmaBelowElectronLine; // sigma cut RRnewTOF
330  Double_t fDoKaonRejectionLowP; // Kaon rejection at low p
331  Double_t fDoProtonRejectionLowP; // Proton rejection at low p
332  Double_t fDoPionRejectionLowP; // Pion rejection at low p
336  Double_t fPIDMinPKaonRejectionLowP; // Momentum limit to apply kaon rejection
337  Double_t fPIDMinPProtonRejectionLowP; // Momentum limit to apply proton rejection
338  Double_t fPIDMinPPionRejectionLowP; // Momentum limit to apply proton rejection
339  Bool_t fDoQtGammaSelection; // Select gammas using qtMax
340  Bool_t fDo2DQt; // Select gammas using ellipse cut
341  Double_t fQtMax; // Maximum Qt from Armenteros to select Gammas
342  Double_t fXVertexCut; //vertex cut
343  Double_t fYVertexCut; //vertex cut
344  Double_t fZVertexCut; // vertexcut
345  Double_t fNSigmaMass; //nsigma cut
348  Bool_t fDoPhotonAsymmetryCut; // flag to use the PhotonAsymetryCut
349  Double_t fMinPPhotonAsymmetryCut; // Min Momentum for Asymmetry Cut
350  Double_t fMinPhotonAsymmetry; // Asymmetry Cut
351  Int_t fIsHeavyIon; // flag for heavy ion
352  Int_t fDetectorCentrality; // centrality detecotor V0M or CL1
353  Int_t fModCentralityClass; // allows to select smaller centrality classes
354  Double_t fMaxVertexZ; // max z offset of vertex
355  Int_t fCentralityMin; // centrality selection lower bin value
356  Int_t fCentralityMax; // centrality selection upper bin value
357  Bool_t fUseCorrectedTPCClsInfo; // flag to use corrected tpc cl info
358  Bool_t fUseTOFpid; // flag to use tof pid
359  Int_t fMultiplicityMethod; // selected multiplicity method
363  Float_t fOpeningAngle; // min opening angle for meson
373  UInt_t fOfflineTriggerMask; // Task processes collision candidates only
374  Bool_t fHasV0AND; // V0AND Offline Trigger
375  Bool_t fIsSDDFired; // SDD FIRED to select with SDD events
376  TRandom3 fRandom; //
377  Int_t fElectronArraySize; // Size of electron array
378  Int_t *fElectronLabelArray; //[fElectronArraySize]
379  Double_t fDCAZPrimVtxCut; // cut value for the maximum distance in Z between the photon & the primary vertex [cm]
380  Double_t fDCARPrimVtxCut; // cut value for the maximum distance in R between the photon & the primary vertex [cm]
381  Int_t fInPlaneOutOfPlane; // In-Plane Out-Of Plane Analysis
382  Float_t fConversionPointXArray; // Array with conversion Point x
383  Float_t fConversionPointYArray; // Array with conversion Point y
384  Float_t fConversionPointZArray; // Array with conversion Point z
385  Int_t fnHeaders; // Number of Headers
386  Int_t *fNotRejectedStart; //[fnHeaders]
387  Int_t *fNotRejectedEnd; //[fnHeaders]
388  TString *fGeneratorNames; //[fnHeaders]
389  TObjString *fCutString; // cut number used for analysis
391  AliAnalysisUtils *fUtils;
393  Bool_t fDoEtaShift; // Flag for Etashift
394  Bool_t fDoReweightHistoMCPi0; // Flag for reweighting Pi0 input with histogram
395  Bool_t fDoReweightHistoMCEta; // Flag for reweighting Eta input with histogram
396  Bool_t fDoReweightHistoMCK0s; // Flag for reweighting K0s input with histogram
397  TString fPathTrFReweighting; // Path for file used in reweighting
398  TString fNameHistoReweightingPi0; //Histogram name for reweighting Pi0
399  TString fNameHistoReweightingEta; //Histogram name for reweighting Eta
400  TString fNameHistoReweightingK0s; //Histogram name for reweighting K0s
401  TString fNameFitDataPi0; //Fit name for fit to spectrum of pi0s in Data
402  TString fNameFitDataEta; //Fit name for fit to spectrum of etas in Data
403  TString fNameFitDataK0s; //Fit name for fit to spectrum of k0s in Data
404  // Histograms
405  TH1F* hEtaDistV0s; //eta-distribution of all V0s after Finder selection
406  TH1F* hEtaDistV0sAfterdEdxCuts; //eta-distribution of all V0s after Finder selection after dEdx cuts
407  TH1F *hdEdxCuts; // bookkeeping for dEdx cuts
408  TH2F *hTPCdEdxbefore; // TPC dEdx before cuts
409  TH2F *hTPCdEdxafter; // TPC dEdx after cuts
410  TH2F *hTPCdEdxSigbefore; // TPC Sigma dEdx before cuts
411  TH2F *hTPCdEdxSigafter; // TPC Sigm dEdx after cuts
412  TH2F *hTOFbefore; // TOF before cuts
413  TH2F *hTOFSigbefore; // TOF Sigma before cuts
414  TH2F *hTOFSigafter; // TOF Sigma after cuts
415  TH2F *hPsiPairDeltaPhiafter; // TOF Sigma after cuts
416  TH1F *hTrackCuts; // bookkeeping for track cuts
417  TH1F *hPhotonCuts; // bookkeeping for photon specific cuts
418  TH1F *hInvMassbefore; // e+e- inv mass distribution before cuts
419  TH2F *hArmenterosbefore; // armenteros podolanski plot before cuts
420  TH1F *hInvMassafter; // e+e- inv mass distribution after cuts
421  TH2F *hArmenterosafter; // armenteros podolanski plot after cuts
422  TH1F *hAcceptanceCuts; // bookkeeping for acceptance cuts
423  TH1F *hCutIndex; // bookkeeping for cuts
424  TH1F *hV0EventCuts; // bookkeeping for event selection cuts
425  TH1F *hCentrality; // centrality distribution for selected events
426  TH2F *hCentralityVsNumberOfPrimaryTracks; // centrality distribution for selected events
427  TH1F *hVertexZ; // vertex z distribution for selected events
428  TH1F *hEventPlanePhi; //EventPlaneAngle Minus Photon Angle
429  TH1F *hTriggerClass; //fired offline trigger class
430  TH1F *hTriggerClassSelected; //selected fired offline trigger class
431  TH1D *hReweightMCHistPi0; //histogram input for reweighting Pi0
432  TH1D *hReweightMCHistEta; //histogram input for reweighting Eta
433  TH1D *hReweightMCHistK0s; //histogram input for reweighting K0s
434  TF1 *fFitDataPi0; //fit to pi0 spectrum in Data
435  TF1 *fFitDataEta; //fit to eta spectrum in Data
436  TF1 *fFitDataK0s; //fit to K0s spectrum in Data
438  Bool_t fPreSelCut; // Flag for preselection cut used in V0Reader
439  Bool_t fTriggerSelectedManually; // Flag for manual trigger selection
440  TString fSpecialTriggerName; // Name of the Special Triggers
441  TString fSpecialSubTriggerName; // Name of the Special Triggers
443 private:
444 
445  ClassDef(AliConversionCuts,10)
446 };
447 
448 
450  if (!fPIDResponse) fPIDResponse = new AliAODpidUtil();
451  Double_t alephParameters[5];
452  // simulation
453  alephParameters[0] = 2.15898e+00/50.;
454  alephParameters[1] = 1.75295e+01;
455  alephParameters[2] = 3.40030e-09;
456  alephParameters[3] = 1.96178e+00;
457  alephParameters[4] = 3.91720e+00;
458  fPIDResponse->GetTOFResponse().SetTimeResolution(80.);
459 
460  // data
461  if (type==1){
462  alephParameters[0] = 0.0283086/0.97;
463  alephParameters[1] = 2.63394e+01;
464  alephParameters[2] = 5.04114e-11;
465  alephParameters[3] = 2.12543e+00;
466  alephParameters[4] = 4.88663e+00;
467  fPIDResponse->GetTOFResponse().SetTimeResolution(130.);
468  fPIDResponse->GetTPCResponse().SetMip(50.);
469  }
470 
471  fPIDResponse->GetTPCResponse().SetBetheBlochParameters(
472  alephParameters[0],alephParameters[1],alephParameters[2],
473  alephParameters[3],alephParameters[4]);
474 
475  fPIDResponse->GetTPCResponse().SetSigma(3.79301e-03, 2.21280e+04);
476 }
477 
478 
479 #endif
480 
481 //***********************************************************************************
482 //***********************************************************************************
483 //***********************************************************************************
484 //***********************************************************************************
485 //***********************************************************************************
486 // WARNING: this class is no longer supported,
487 // please use AliConversionPhotonCuts and AliConvEventCuts
488 //***********************************************************************************
489 //***********************************************************************************
490 //***********************************************************************************
491 //***********************************************************************************
492 //***********************************************************************************
Double_t fPIDMinPPionRejectionLowP
Double_t fTofPIDnSigmaAboveElectronLine
AliPIDResponse * fPIDResponse
Double_t fPIDnSigmaAbovePionLine
double Double_t
Definition: External.C:58
Double_t fPIDMinPProtonRejectionLowP
Definition: External.C:236
const char * title
Definition: MakeQAPdf.C:27
Double_t fPIDMinPKaonRejectionLowP
void SetEtaShift(TString pPbOrPbp)
void GetCentralityRange(Double_t range[2])
void SetAddedSignalPDGCode(Int_t addedSignalPDGcode)
void SelectSpecialTrigger(UInt_t offlineTriggerMask=AliVEvent::kAny, TString TriggerClassName="AliVEvent::kAny")
void SetPreSelectionCutFlag(Bool_t preSelFlag)
void SetUseReweightingWithHistogramFromFile(Bool_t pi0reweight=kTRUE, Bool_t etareweight=kFALSE, Bool_t k0sreweight=kFALSE, TString path="$ALICE_PHYSICS/PWGGA/GammaConv/MCSpectraInput.root", TString histoNamePi0="", TString histoNameEta="", TString histoNameK0s="", TString fitNamePi0="", TString fitNameEta="", TString fitNameK0s="")
TString * GetAcceptedHeaderNames()
TString * GetFoundHeader()
void FillPhotonCutIndex(Int_t photoncut)
void FillV0EtaBeforedEdxCuts(Float_t v0Eta)
Int_t * GetAcceptedHeaderStart()
TString fNameHistoReweightingEta
void FillV0EtaAfterdEdxCuts(Float_t v0Eta)
Double_t fPIDnSigmaAboveElectronLine
Int_t * GetAcceptedHeaderEnd()
AliAnalysisUtils * fUtils
int Int_t
Definition: External.C:63
Double_t fDoProtonRejectionLowP
unsigned int UInt_t
Definition: External.C:33
float Float_t
Definition: External.C:68
Double_t fPIDProbabilityCutNegativeParticle
void SetAcceptedHeader(TList *HeaderList)
Definition: External.C:212
TH2F * hCentralityVsNumberOfPrimaryTracks
void SetEtaShift(Double_t etaShift)
Double_t fPIDnSigmaAtLowPAroundKaonLine
virtual Bool_t IsSelected(TObject *)
void SelectCollisionCandidates(UInt_t offlineTriggerMask=AliVEvent::kAny)
Double_t fPIDnSigmaAtLowPAroundPionLine
Double_t fMinPPhotonAsymmetryCut
Bool_t SelectV0Finder(Bool_t onfly)
TString fNameHistoReweightingK0s
Double_t fTofPIDnSigmaBelowElectronLine
Double_t fPIDnSigmaAbovePionLineHighPt
Bool_t fDoPhotonQualitySelectionCut
Double_t fPIDnSigmaBelowElectronLine
TObjString * fCutString
AliPIDResponse * GetPIDResponse()
Double_t fPIDnSigmaAtLowPAroundProtonLine
void DoEtaShift(Bool_t doEtaShift)
Double_t fPIDMaxPnSigmaAbovePionLine
void SetFillCutHistograms(TString name="", Bool_t preCut=kTRUE)
void SetPIDResponse(AliPIDResponse *pidResponse)
bool Bool_t
Definition: External.C:53
TString GetSpecialTriggerName()
void InitAODpidUtil(Int_t type)
TString fNameHistoReweightingPi0
Double_t fPIDProbabilityCutPositiveParticle
Double_t fPIDMinPnSigmaAbovePionLine
virtual Bool_t IsSelected(TList *)