1 #ifndef ALICONVERSIONMESONCUTS_H 2 #define ALICONVERSIONMESONCUTS_H 4 #include "AliAODpidUtil.h" 7 #include "AliAODTrack.h" 8 #include "AliESDtrack.h" 10 #include "AliAODTrack.h" 11 #include "AliMCEvent.h" 12 #include "AliAnalysisCuts.h" 14 #include "AliAODMCParticle.h" 24 class AliAnalysisCuts;
Bool_t fAcceptMesonMass
flag to distinguish rejecting and accepting meson mass window for further analysis ...
AliCaloPhotonCuts * fCaloPhotonCuts
CaloPhotonCutObject belonging to same main task.
void SetLightOutput(Bool_t flag)
Bool_t SetSelectionWindowMergedCut(Int_t selectionCut)
Bool_t UseElecSharingCut()
Int_t fSelectionWindowCut
selection window for merged ana in mass
AliConversionMesonCuts & operator=(const AliConversionMesonCuts &)
Double_t fMaxOpanCutMeson
TH1F * fHistoDCARMesonPrimVtxAfter
void FillElectonLabelArray(AliAODConversionPhoton *photon, Int_t nV0)
void SetDefaultSmearing(Double_t p0, Double_t p1, Double_t p2)
Bool_t SetBackgroundScheme(Int_t BackgroundScheme)
Bool_t MesonIsSelectedMCPiZeroGamma(TParticle *fMCMother, AliMCEvent *mcEvent, Int_t &labelNeutPion, Int_t &labelGamma, Double_t fRapidityShift=0)
Double_t GetSidebandMixingLow() const
Double_t GetSidebandMixingRightLow() const
virtual Bool_t IsSelected(TList *)
void SetEnableOpeningAngleCut(Bool_t isOn)
Double_t GetSidebandMixingHigh() const
TList * GetCutHistograms()
Float_t FunctionMaxMassCut(Float_t e)
Double_t fDCARMesonPrimVtxCut
cut value for the maximum distance in R between the production point of the Meson & the primary verte...
Double_t fSidebandMixingLeftHigh
Double_t fRapidityCutMeson
max value for meson rapidity
Bool_t fBackgroundUseSidebandBothSides
Int_t BackgroundHandlerType()
Bool_t SetNumberOfBGEvents(Int_t NumberOfBGEvents)
Int_t fMode
running mode of ConversionMesonCuts to select different sets of cut parameters for different running ...
Bool_t MesonIsSelectedMCChiC(TParticle *fMCMother, AliMCEvent *mcEvent, Int_t &, Int_t &, Int_t &, Double_t fRapidityShift=0.)
Bool_t MesonIsSelectedAODMC(AliAODMCParticle *MCMother, TClonesArray *AODMCArray, Double_t fRapidityShift=0.)
Double_t GetSidebandMixingLeftLow() const
Bool_t RejectSharedElectronV0s(AliAODConversionPhoton *photon, Int_t nV0, Int_t nV0s)
Double_t GetAcceptMassFlag() const
void InitCutHistograms(TString name="", Bool_t additionalHists=kFALSE)
Bool_t SetAlphaMesonMergedCut(Int_t alphaMesonCut)
Double_t fSelectionHigh
higher meson inv mass window for further selection
TH1F * fHistoDCAGGMesonBefore
Bool_t MesonIsSelectedMCEtaPiPlPiMiGamma(TParticle *fMCMother, AliMCEvent *mcEvent, Int_t &labelNegPion, Int_t &labelPosPion, Int_t &labelGamma, Double_t fRapidityShift=0)
Bool_t UseRotationMethod()
Bool_t SetToCloseV0sCut(Int_t toClose)
Bool_t UseSidebandMixing()
Double_t fSidebandMixingLow
Bool_t MesonIsSelectedMCDalitz(TParticle *fMCMother, AliMCEvent *mcEvent, Int_t &labelelectron, Int_t &labelpositron, Int_t &labelgamma, Double_t fRapidityShift=0.)
Double_t GetRapidityCutValue()
TH1F * fHistoInvMassAfter
Int_t GetIsMergedClusterCut()
Float_t fOpeningAngle
min opening angle for meson
Bool_t fDoBG
flag to intialize BG
Bool_t MesonIsSelectedMCPiPlPiMiPiZero(TParticle *fMCMother, AliMCEvent *mcEvent, Int_t &labelNegPion, Int_t &labelPosPion, Int_t &labelNeutPion, Double_t fRapidityShift=0)
virtual ~AliConversionMesonCuts()
Bool_t SetSelectionWindowCut(Int_t selectionCut)
Bool_t UseSidebandMixingBothSides()
TH1F * fHistoDCAZMesonPrimVtxBefore
Double_t GetSidebandMixingRightHigh() const
Bool_t MesonIsSelectedAODMCDalitz(AliAODMCParticle *MCMother, TClonesArray *AODMCArray, Int_t &labelelectron, Int_t &labelpositron, Int_t &labelgamma, Double_t fRapidityShift=0.)
void SetCaloMesonCutsObject(AliCaloPhotonCuts *cuts)
Int_t fNDegreeRotationPMForBG
Bool_t SetDCAGammaGammaCut(Int_t DCAGammaGamma)
Float_t FunctionMinMassCut(Float_t e)
Bool_t UseLikeSignMixing()
Bool_t fUseTrackMultiplicityForBG
flag to use track multiplicity for meson bg estimation (else V0 mult)
Bool_t fBackgroundUseLikeSign
Bool_t SetCutIds(TString cutString)
Class handling all kinds of selection cuts for Gamma Calo analysis.
Bool_t SetRapidityMesonCut(Int_t RapidityMesonCut)
Bool_t SetAlphaMesonCut(Int_t alphaMesonCut)
Double_t fAlphaCutMeson
max value for meson alpha cut
void SetFillCutHistograms(TString name="")
void SmearParticle(AliAODConversionPhoton *photon)
Bool_t RejectToCloseV0s(AliAODConversionPhoton *photon, TList *photons, Int_t nV0)
Double_t GetSelectionLow() const
void SetIsMergedClusterCut(Int_t merged)
TH2F * fHistoMesonCuts
bookkeeping for meson cuts
Bool_t UseTrackMultiplicity()
Bool_t fUsePtmaxMethodForBG
flag to apply Ptmax method
void SetOpeningAngleCut(Float_t OpeningAngle)
TObjString * fCutString
cut number used for analysis
Double_t fSidebandMixingHigh
Double_t GetSidebandMixingLeftHigh() const
Double_t fMinPt
min pT cut
Double_t fSidebandMixingRightHigh
void SmearVirtualPhoton(AliAODConversionPhoton *photon)
Bool_t fEnableMinOpeningAngleCut
flag to enable min opening angle cut
Int_t fIsMergedClusterCut
flag for merged cluster and di cluster analysis
Bool_t fDoMinPtCut
do min pT cut
Int_t GetNumberOfBGEvents()
Double_t fSidebandMixingRightLow
Double_t GetSelectionHigh() const
Bool_t MesonIsSelectedPiZeroGammaAngle(AliAODConversionMother *omega, AliAODConversionMother *pi0, AliAODConversionPhoton *gamma, Bool_t DoPiZeroAngleCut, TF1 *maxfit, Double_t lowerFactor, Double_t upperFactor)
Int_t fElectronLabelArraySize
Bool_t UseToCloseV0sCut()
Bool_t fEnableMassCut
flag to enable mass cut
Bool_t fUseMCPSmearing
flag
Bool_t MesonIsSelectedMC(TParticle *fMCMother, AliMCEvent *mcEvent, Double_t fRapidityShift=0.)
Bool_t fDoLightOutput
switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
static const char * fgkCutNames[kNCuts]
Bool_t fEnableOneCellDistCut
flag to enable 1 cell dist cut
Bool_t SetDCAZMesonPrimVtxCut(Int_t DCAZMesonPrimVtx)
AliConversionMesonCuts(const char *name="MesonCuts", const char *title="Meson Cuts")
void PrintCutsWithValues()
Class handling all kinds of selection cuts for Gamma Conversion analysis.
Bool_t MesonIsSelected(AliAODConversionMother *pi0, Bool_t IsSignal=kTRUE, Double_t fRapidityShift=0., Int_t leadingCellID1=0, Int_t leadingCellID2=0)
Double_t fMinOpanCutMeson
TH2F * fHistoMesonBGCuts
bookkeeping for meson bg cuts
TH1F * fHistoInvMassBefore
Bool_t fBackgroundUseSideband
Int_t * fElectronLabelArray
Double_t GetMinPt() const
Bool_t SetMaxOpanMesonCut(Int_t maxOpanMesonCut)
Double_t fSelectionLow
lower meson inv mass window for further selection
Bool_t fDCARMesonPrimVtxCutOn
cut flag for the maximum distance in R between the production point of the Meson & the primary vertex...
Bool_t SetSharedElectronCut(Int_t sharedElec)
TH2F * fHistoDCAZMesonPrimVtxAfter
TH1F * fHistoDCARMesonPrimVtxBefore
Bool_t SetMinPtCut(Int_t PtCut)
Bool_t fDCAZMesonPrimVtxCutOn
cut flag for the maximum distance in Z between the production point of the Meson & the primary vertex...
Bool_t SetNDegreesForRotationMethod(Int_t DegreesForRotationMethod)
TH1F * fHistoDCAGGMesonAfter
Bool_t fDoBGProbability
flag to use probability method for meson bg estimation
Bool_t SetMinOpanMesonCut(Int_t minOpanMesonCut)
void SetRunningMode(Int_t mode)
Double_t fPSigSmearingCte
Bool_t MesonIsSelectedByMassCut(AliAODConversionMother *meson, Int_t nominalRange)
Bool_t fUseRotationMethodInBG
flag to apply rotation method for meson bg estimation
Double_t fAlphaMinCutMeson
min value for meson alpha cut
TLorentzVector SmearElectron(TLorentzVector particle)
TList * fHistograms
List of QA histograms.
Bool_t SetMesonKind(Int_t mesonKind)
Double_t fDCAGammaGammaCut
cut value for the maximum distance between the two photons [cm]
Bool_t fDCAGammaGammaCutOn
cut flag for the maximum distance between the two photons
Bool_t InitializeCutsFromCutString(const TString analysisCutSelection)
Bool_t SetDCARMesonPrimVtxCut(Int_t DCARMesonPrimVtx)
Double_t fSidebandMixingLeftLow
Bool_t SetMCPSmearing(Int_t useMCPSmearing)
Bool_t SetCut(cutIds cutID, Int_t cut)
Double_t fDCAZMesonPrimVtxCut
cut value for the maximum distance in Z between the production point of the Meson & the primary verte...
virtual Bool_t IsSelected(TObject *)