ROOT logo
AliRoot » PWGGA » GAMMACONV » AliConversionCuts

class AliConversionCuts: public AliAnalysisCuts


 Class handling all kinds of selection cuts for
 Gamma Conversion analysis


Function Members (Methods)

public:
AliConversionCuts(const AliConversionCuts&)
AliConversionCuts(const char* name = "V0Cuts", const char* title = "V0 Cuts")
virtual~AliConversionCuts()
voidTObject::AbstractMethod(const char* method) const
Bool_tAcceptanceCut(TParticle* particle, TParticle* ePos, TParticle* eNeg)
Bool_tAcceptanceCuts(AliConversionPhotonBase* photon)
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tArmenterosQtCut(AliConversionPhotonBase* photon)
Bool_tAsymmetryCut(AliConversionPhotonBase* photon, AliVEvent* event)
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
Bool_tCorrectedTPCClusterCut(AliConversionPhotonBase* photon, AliVEvent* event)
Bool_tCosinePAngleCut(const AliConversionPhotonBase* photon, AliVEvent* event) const
Bool_tdEdxCuts(AliVTrack* track)
virtual voidTObject::Delete(Option_t* option = "")MENU
UChar_tDeterminePhotonQualityAOD(AliAODConversionPhoton*, AliVEvent*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
voidDoEtaShift(Bool_t doEtaShift)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
Bool_tElectronIsSelectedMC(TParticle* particle, AliStack* fMCStack)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
Bool_tEventIsSelected(AliVEvent* fInputEvent, AliVEvent* fMCEvent)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
voidFillElectonLabelArray(AliAODConversionPhoton* photon, Int_t nV0)
voidFillPhotonCutIndex(Int_t photoncut)
voidFillV0EtaAfterdEdxCuts(Float_t v0Eta)
voidFillV0EtaBeforedEdxCuts(Float_t v0Eta)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TList*GetAcceptedHeader()
Int_t*GetAcceptedHeaderEnd()
TString*GetAcceptedHeaderNames()
Int_t*GetAcceptedHeaderStart()
Double_tGetCentrality(AliVEvent* event)
voidGetCentralityRange(Double_t* range)
voidGetCorrectEtaShiftFromPeriod(TString periodName)
Double_tGetCosineOfPointingAngle(const AliConversionPhotonBase* photon, AliVEvent* event) const
TList*GetCutHistograms()
TStringGetCutNumber()
Bool_tGetDoEtaShift()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static AliESDtrack*GetESDTrack(AliESDEvent* event, Int_t label)
Double_tGetEtaCut()
Double_tGetEtaShift()
Int_tGetEventQuality()
virtual UInt_tAliAnalysisCuts::GetFilterMask() const
Int_tGetFirstTPCRow(Double_t radius)
TString*GetFoundHeader()
virtual const char*TObject::GetIconName() const
Int_tGetInPlaneOutOfPlaneCut()
Bool_tGetIsFromPileup()
Int_tGetMultiplicityMethod()
Int_tGetNAcceptedHeaders()
virtual const char*TNamed::GetName() const
voidGetNotRejectedParticles(Int_t rejection, TList* HeaderList, AliVEvent* MCEvent)
Int_tGetNumberOfContributorsVtx(AliVEvent* event)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual TList*AliAnalysisCuts::GetOutput()
AliPIDResponse*GetPIDResponse()
virtual UInt_tAliVCuts::GetSelectionMask(const TObject*)
Int_tGetSignalRejection()
TStringGetSpecialTriggerName()
static AliConversionCuts*GetStandardCuts2010PbPb()
static AliConversionCuts*GetStandardCuts2010pp()
virtual TObject*AliAnalysisCuts::GetStatistics(Option_t*) const
virtual const char*TNamed::GetTitle() const
static AliVTrack*GetTrack(AliVEvent* event, Int_t label)
virtual UInt_tTObject::GetUniqueID() const
Float_tGetWeightForMeson(TString period, Int_t index, AliStack* MCStack, AliVEvent* InputEvent = 0x0)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Bool_tHasV0AND()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidAliAnalysisCuts::Init()
voidInitAODpidUtil(Int_t type)
voidInitCutHistograms(TString name = "", Bool_t preCut = kTRUE)
Bool_tInitializeCutsFromCutString(const TString analysisCutSelection)
Bool_tInitPIDResponse()
Bool_tInPlaneOutOfPlaneCut(Double_t photonPhi, Double_t eventPlaneAngle = -100, Bool_t fill = kTRUE)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsCentralitySelected(AliVEvent* fInputEvent, AliVEvent* fMCEvent = NULL)
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Int_tIsEventAcceptedByConversionCut(AliConversionCuts* ReaderCuts, AliVEvent* InputEvent, AliMCEvent* MCEvent, Int_t isHeavyIon)
virtual Bool_tTObject::IsFolder() const
Int_tIsHeavyIon()
Bool_tTObject::IsOnHeap() const
Int_tIsParticleFromBGEvent(Int_t index, AliStack* MCStack, AliVEvent* InputEvent = 0x0)
Bool_tIsSDDFired()
virtual Bool_tIsSelected(TObject*)
virtual Bool_tIsSelected(TList*)
virtual Bool_tTNamed::IsSortable() const
Int_tIsSpecialTrigger()
Bool_tIsTriggerSelected(AliVEvent* fInputEvent)
Bool_tTObject::IsZombie() const
voidLoadReweightingHistosMCFromFile()
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Long64_tAliAnalysisCuts::Merge(TCollection*)
Bool_tMesonIsSelected(AliAODConversionMother* pi0, Bool_t IsSignal = kTRUE)
Bool_tMesonIsSelectedMC(TParticle* fMCMother, AliStack* fMCStack, Bool_t bMCDaughtersInAcceptance = kFALSE)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AliConversionCuts&operator=(const AliConversionCuts&)
virtual voidTObject::Paint(Option_t* option = "")
Bool_tPhotonCuts(AliConversionPhotonBase* photon, AliVEvent* event)
Bool_tPhotonIsSelected(AliConversionPhotonBase* photon, AliVEvent* event)
Bool_tPhotonIsSelectedAODMC(AliAODMCParticle* particle, TClonesArray* aodmcArray, Bool_t checkForConvertedGamma = kTRUE)
Bool_tPhotonIsSelectedMC(TParticle* particle, AliStack* fMCStack, Bool_t checkForConvertedGamma = kTRUE)
Bool_tPIDProbabilityCut(AliConversionPhotonBase* photon, AliVEvent* event)
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidPrintCuts()
voidPrintCutsWithValues()
Bool_tPsiPairCut(const AliConversionPhotonBase* photon) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
Bool_tRejectSharedElectronV0s(AliAODConversionPhoton* photon, Int_t nV0, Int_t nV0s)
Bool_tRejectToCloseV0s(AliAODConversionPhoton* photon, TList* photons, Int_t nV0)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kAny)
virtual UInt_tAliAnalysisCuts::Selected() const
voidSelectSpecialTrigger(UInt_t offlineTriggerMask = AliVEvent::kAny, TString TriggerClassName = "AliVEvent::kAny")
Bool_tSelectV0Finder(Bool_t onfly)
voidSetAcceptedHeader(TList* HeaderList)
voidSetAddedSignalPDGCode(Int_t addedSignalPDGcode)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tSetCentralityMax(Int_t centralityBin)
Bool_tSetCentralityMin(Int_t useCentrality)
Bool_tSetChi2GammaCut(Int_t chi2GammaCut)
Bool_tSetCosPAngleCut(Int_t cosCut)
Bool_tSetCut(AliConversionCuts::cutIds cutID, Int_t cut)
Bool_tSetCutIds(TString cutString)
Bool_tSetDCARPhotonPrimVtxCut(Int_t DCARPhotonPrimVtx)
Bool_tSetDCAZPhotonPrimVtxCut(Int_t DCAZPhotonPrimVtx)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tSetEtaCut(Int_t etaCut)
voidSetEtaShift(Double_t etaShift)
voidSetEtaShift(TString pPbOrPbp)
voidSetFillCutHistograms(TString name = "", Bool_t preCut = kTRUE)
virtual voidAliAnalysisCuts::SetFilterMask(UInt_t mask)
Bool_tSetInPlaneOutOfPlane(Int_t inOutPlane)
Bool_tSetIsHeavyIon(Int_t isHeavyIon)
Bool_tSetLowPRejectionCuts(Int_t LowPRejectionSigmaCut)
Bool_tSetMaxMomPiondEdxCut(Int_t piMaxMomdedxSigmaCut)
Bool_tSetMinMomPiondEdxCut(Int_t piMinMomdedxSigmaCut)
Bool_tSetMultiplicityMethod(Int_t multiplicityMethod)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tSetPhotonAsymmetryCut(Int_t doPhotonAsymmetryCut)
voidSetPIDResponse(AliPIDResponse* pidResponse)
voidSetPreSelectionCutFlag(Bool_t preSelFlag)
Bool_tSetPsiPairCut(Int_t psiCut)
Bool_tSetQtMaxCut(Int_t QtMaxCut)
Bool_tSetRCut(Int_t RCut)
Bool_tSetRejectExtraSignalsCut(Int_t extraSignal)
Bool_tSetRemovePileUp(Int_t removePileUp)
virtual voidAliAnalysisCuts::SetSelected(Bool_t dec)
Bool_tSetSelectSpecialTrigger(Int_t selectSpecialTrigger)
Bool_tSetSelectSubTriggerClass(Int_t selectSpecialSubTriggerClass)
Bool_tSetSharedElectronCut(Int_t sharedElec)
Bool_tSetSinglePtCut(Int_t singlePtCut)
virtual voidTNamed::SetTitle(const char* title = "")MENU
Bool_tSetToCloseV0sCut(Int_t toClose)
Bool_tSetTOFElectronPIDCut(Int_t TOFelectronPID)
Bool_tSetTPCClusterCut(Int_t clsTPCCut)
Bool_tSetTPCdEdxCutElectronLine(Int_t ededxSigmaCut)
Bool_tSetTPCdEdxCutPionLine(Int_t pidedxSigmaCut)
Bool_tSetTRDElectronCut(Int_t TRDElectronCut)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUseReweightingWithHistogramFromFile(Bool_t pi0reweight = kTRUE, Bool_t etareweight = kFALSE, Bool_t k0sreweight = kFALSE, TString path = "$ALICE_ROOT/PWGGA/GammaConv/MCSpectraInput.root", TString histoNamePi0 = "", TString histoNameEta = "", TString histoNameK0s = "", TString fitNamePi0 = "", TString fitNameEta = "", TString fitNameK0s = "")
Bool_tSetV0Finder(Int_t v0FinderType)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
Bool_tSpecificTrackCuts(AliAODTrack* negTrack, AliAODTrack* posTrack, Int_t& cutIndex)
Bool_tSpecificTrackCuts(AliESDtrack* negTrack, AliESDtrack* posTrack, Int_t& cutIndex)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTracksAreSelected(AliVTrack* negTrack, AliVTrack* posTrack)
Bool_tUpdateCutString()
virtual voidTObject::UseCurrentStyle()
Bool_tUseElecSharingCut()
Bool_tUseToCloseV0sCut()
Bool_tVertexZCut(AliVEvent* fInputEvent)
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum cutIds { kisHeavyIon
kCentralityMin
kCentralityMax
kSelectSpecialTriggerAlias
kSelectSubTriggerClass
kremovePileUp
kExtraSignals
kv0FinderType
ketaCut
kRCut
ksinglePtCut
kclsTPCCut
kededxSigmaCut
kpidedxSigmaCut
kpiMomdedxSigmaCut
kpiMaxMomdedxSigmaCut
kLowPRejectionSigmaCut
kTOFelectronPID
kQtMaxCut
kchi2GammaCut
kPsiPair
kdoPhotonAsymmetryCut
kCosPAngle
kElecShare
kToCloseV0s
kDcaRPrimVtx
kDcaZPrimVtx
kInPlaneOutOfPlane
kNCuts
};
enum photonCuts { kPhotonIn
kOnFly
kNoTracks
kTrackCuts
kdEdxCuts
kConvPointFail
kPhotonCuts
kEventPlane
kPhotonOut
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
Int_tfCuts[28]
static const char*fgkCutNames[28]
protected:
Int_tfAddedSignalPDGCode
Int_tfCentralityMaxcentrality selection upper bin value
Int_tfCentralityMincentrality selection lower bin value
Double_tfChi2CutConversionchi2cut
Float_tfConversionPointXArrayArray with conversion Point x
Float_tfConversionPointYArrayArray with conversion Point y
Float_tfConversionPointZArrayArray with conversion Point z
Float_tfCosPAngleCut
TObjString*fCutStringcut number used for analysis
Double_tfDCARPrimVtxCutcut value for the maximum distance in R between the photon & the primary vertex [cm]
Double_tfDCAZPrimVtxCutcut value for the maximum distance in Z between the photon & the primary vertex [cm]
Int_tfDetectorCentralitycentrality detecotor V0M or CL1
Bool_tfDo2DPsiPairChi2
Bool_tfDo2DQtSelect gammas using ellipse cut
Bool_tfDoEtaShiftFlag for Etashift
Double_tfDoKaonRejectionLowPKaon rejection at low p
Bool_tfDoPhotonAsymmetryCutflag to use the PhotonAsymetryCut
Bool_tfDoPhotonQualitySelectionCut
Double_tfDoPionRejectionLowPPion rejection at low p
Double_tfDoProtonRejectionLowPProton rejection at low p
Bool_tfDoQtGammaSelectionSelect gammas using qtMax
Bool_tfDoReweightHistoMCEtaFlag for reweighting Eta input with histogram
Bool_tfDoReweightHistoMCK0sFlag for reweighting K0s input with histogram
Bool_tfDoReweightHistoMCPi0Flag for reweighting Pi0 input with histogram
Bool_tfDoSharedElecCut
Bool_tfDoTOFsigmaCutflag to use TOF pid cut RRnewTOF
Bool_tfDoTRDPIDflag to use TRD pid
Bool_tfDoToCloseV0sCut
Bool_tfDodEdxSigmaCutflag to use the dEdxCut based on sigmas
Int_tfElectronArraySizeSize of electron array
Int_t*fElectronLabelArray[fElectronArraySize]
Double_tfEtaCuteta cut
Double_tfEtaCutMineta cut
Double_tfEtaShift
Int_tfEventQualityEventQuality
TF1*fFitDataEtafit to eta spectrum in Data
TF1*fFitDataK0sfit to K0s spectrum in Data
TF1*fFitDataPi0fit to pi0 spectrum in Data
TString*fGeneratorNames[fnHeaders]
Bool_tfHasV0ANDV0AND Offline Trigger
TList*fHeaderList
TList*fHistograms
Int_tfInPlaneOutOfPlaneIn-Plane Out-Of Plane Analysis
Int_tfIsHeavyIonflag for heavy ion
Bool_tfIsSDDFiredSDD FIRED to select with SDD events
Double_tfLineCutZRSlopelinecut
Double_tfLineCutZRSlopeMinlinecut
Double_tfLineCutZValuelinecut
Double_tfLineCutZValueMinlinecut
Double_tfMaxRr cut
Double_tfMaxVertexZmax z offset of vertex
Double_tfMaxZz cut
Double_tfMinClsTPCminimum clusters in the TPC
Double_tfMinClsTPCToFminimum clusters to findable clusters
Double_tfMinPPhotonAsymmetryCutMin Momentum for Asymmetry Cut
Double_tfMinPhotonAsymmetryAsymmetry Cut
Double_tfMinRr cut
Int_tfModCentralityClassallows to select smaller centrality classes
Int_tfMultiplicityMethodselected multiplicity method
Double_tfNSigmaMassnsigma cut
Int_tfNSpecialSubTriggerOptions
TStringTNamed::fNameobject identifier
TStringfNameFitDataEtaFit name for fit to spectrum of etas in Data
TStringfNameFitDataK0sFit name for fit to spectrum of k0s in Data
TStringfNameFitDataPi0Fit name for fit to spectrum of pi0s in Data
TStringfNameHistoReweightingEtaHistogram name for reweighting Eta
TStringfNameHistoReweightingK0sHistogram name for reweighting K0s
TStringfNameHistoReweightingPi0Histogram name for reweighting Pi0
Int_t*fNotRejectedEnd[fnHeaders]
Int_t*fNotRejectedStart[fnHeaders]
UInt_tfOfflineTriggerMaskTask processes collision candidates only
Float_tfOpeningAnglemin opening angle for meson
Double_tfPIDMaxPnSigmaAbovePionLinesigma cut
Double_tfPIDMinPKaonRejectionLowPMomentum limit to apply kaon rejection
Double_tfPIDMinPPionRejectionLowPMomentum limit to apply proton rejection
Double_tfPIDMinPProtonRejectionLowPMomentum limit to apply proton rejection
Double_tfPIDMinPnSigmaAbovePionLinesigma cut
Double_tfPIDProbabilityCutNegativeParticle
Double_tfPIDProbabilityCutPositiveParticle
AliPIDResponse*fPIDResponse
Double_tfPIDTRDEfficiencyrequired electron efficiency for TRD PID
Double_tfPIDnSigmaAboveElectronLinesigma cut
Double_tfPIDnSigmaAbovePionLinesigma cut
Double_tfPIDnSigmaAbovePionLineHighPtsigma cut
Double_tfPIDnSigmaAtLowPAroundKaonLinesigma cut
Double_tfPIDnSigmaAtLowPAroundPionLinesigma cut
Double_tfPIDnSigmaAtLowPAroundProtonLinesigma cut
Double_tfPIDnSigmaBelowElectronLinesigma cut
TStringfPathTrFReweightingPath for file used in reweighting
Int_tfPhotonQualityCut
Bool_tfPreSelCutFlag for preselection cut used in V0Reader
Float_tfPsiPairCut
Double_tfPtCutpt cut
Double_tfQtMaxMaximum Qt from Armenteros to select Gammas
TRandom3fRandom
Int_tfRejectExtraSignals
Bool_tfRemovePileUpflag
Double_tfSinglePtCutpt cut for electron/positron
Int_tfSpecialSubTriggerflag
TStringfSpecialSubTriggerNameName of the Special Triggers
Int_tfSpecialTriggerflag
TStringfSpecialTriggerNameName of the Special Triggers
TStringTNamed::fTitleobject title
Double_tfTofPIDnSigmaAboveElectronLinesigma cut RRnewTOF
Double_tfTofPIDnSigmaBelowElectronLinesigma cut RRnewTOF
Bool_tfTriggerSelectedManuallyFlag for manual trigger selection
Bool_tfUseCorrectedTPCClsInfoflag to use corrected tpc cl info
Bool_tfUseEtaMinCutflag
Bool_tfUseOnFlyV0Finderflag
Bool_tfUseTOFpidflag to use tof pid
AliAnalysisUtils*fUtils
Double_tfXVertexCutvertex cut
Double_tfYVertexCutvertex cut
Double_tfZVertexCutvertexcut
Double_tfminV0Dist
Int_tfnHeadersNumber of Headers
TH1F*hAcceptanceCutsbookkeeping for acceptance cuts
TH2F*hArmenterosafterarmenteros podolanski plot after cuts
TH2F*hArmenterosbeforearmenteros podolanski plot before cuts
TH1F*hCentralitycentrality distribution for selected events
TH2F*hCentralityVsNumberOfPrimaryTrackscentrality distribution for selected events
TH1F*hCutIndexbookkeeping for cuts
TH1F*hEtaDistV0seta-distribution of all V0s after Finder selection
TH1F*hEtaDistV0sAfterdEdxCutseta-distribution of all V0s after Finder selection after dEdx cuts
TH1F*hEventPlanePhiEventPlaneAngle Minus Photon Angle
TH1F*hInvMassaftere+e- inv mass distribution after cuts
TH1F*hInvMassbeforee+e- inv mass distribution before cuts
TH1F*hPhotonCutsbookkeeping for photon specific cuts
TH2F*hPsiPairDeltaPhiafterTOF Sigma after cuts
TH1D*hReweightMCHistEtahistogram input for reweighting Eta
TH1D*hReweightMCHistK0shistogram input for reweighting K0s
TH1D*hReweightMCHistPi0histogram input for reweighting Pi0
TH2F*hTOFSigafterTOF Sigma after cuts
TH2F*hTOFSigbeforeTOF Sigma before cuts
TH2F*hTOFbeforeTOF before cuts
TH2F*hTPCdEdxSigafterTPC Sigm dEdx after cuts
TH2F*hTPCdEdxSigbeforeTPC Sigma dEdx before cuts
TH2F*hTPCdEdxafterTPC dEdx after cuts
TH2F*hTPCdEdxbeforeTPC dEdx before cuts
TH1F*hTrackCutsbookkeeping for track cuts
TH1F*hTriggerClassfired offline trigger class
TH1F*hTriggerClassSelectedselected fired offline trigger class
TH1F*hV0EventCutsbookkeeping for event selection cuts
TH1F*hVertexZvertex z distribution for selected events
TH1F*hdEdxCutsbookkeeping for dEdx cuts

Class Charts

Inheritance Chart:
TNamed
AliVCuts
AliAnalysisCuts
AliConversionCuts

Function documentation

AliConversionCuts(const char* name = "V0Cuts", const char* title = "V0 Cuts")
AliConversionCuts(const AliConversionCuts& )
 Copy Constructor
~AliConversionCuts()
 Destructor
Deleting fHistograms leads to seg fault it it's added to output collection of a task
 if(fHistograms)
    delete fHistograms;
 fHistograms = NULL;
void InitCutHistograms(TString name = "", Bool_t preCut = kTRUE)
Bool_t InitPIDResponse()
 Set Pointer to AliPIDResponse
Bool_t EventIsSelected(AliVEvent* fInputEvent, AliVEvent* fMCEvent)
 Process Event Selection
Bool_t PhotonIsSelectedMC(TParticle* particle, AliStack* fMCStack, Bool_t checkForConvertedGamma = kTRUE)
 MonteCarlo Photon Selection
Bool_t PhotonIsSelectedAODMC(AliAODMCParticle* particle, TClonesArray* aodmcArray, Bool_t checkForConvertedGamma = kTRUE)
 MonteCarlo Photon Selection
Bool_t PhotonCuts(AliConversionPhotonBase* photon, AliVEvent* event)
Bool_t CorrectedTPCClusterCut(AliConversionPhotonBase* photon, AliVEvent* event)
Bool_t PhotonIsSelected(AliConversionPhotonBase* photon, AliVEvent* event)
Selection of Reconstructed Photons
Bool_t ArmenterosQtCut(AliConversionPhotonBase* photon)
Bool_t AcceptanceCuts(AliConversionPhotonBase* photon)
 Exclude certain areas for photon reconstruction
Bool_t SpecificTrackCuts(AliAODTrack* negTrack, AliAODTrack* posTrack, Int_t& cutIndex)
 Track Cuts which require AOD/ESD specific implementation
Bool_t SpecificTrackCuts(AliESDtrack* negTrack, AliESDtrack* posTrack, Int_t& cutIndex)
 Track Cuts which require AOD/ESD specific implementation
Bool_t TracksAreSelected(AliVTrack* negTrack, AliVTrack* posTrack)
 Track Selection for Photon Reconstruction
Bool_t dEdxCuts(AliVTrack* track)
 Electron Identification Cuts for Photon reconstruction
Bool_t AsymmetryCut(AliConversionPhotonBase* photon, AliVEvent* event)
 Cut on Energy Assymetry
AliVTrack * GetTrack(AliVEvent* event, Int_t label)
Returns pointer to the track with given ESD label
(Important for AOD implementation, since Track array in AOD data is different
from ESD array, but ESD tracklabels are stored in AOD Tracks)
AliESDtrack * GetESDTrack(AliESDEvent* event, Int_t label)
Returns pointer to the track with given ESD label
(Important for AOD implementation, since Track array in AOD data is different
from ESD array, but ESD tracklabels are stored in AOD Tracks)
Bool_t PIDProbabilityCut(AliConversionPhotonBase* photon, AliVEvent* event)
 Cut on Electron Probability for Photon Reconstruction
Bool_t AcceptanceCut(TParticle* particle, TParticle* ePos, TParticle* eNeg)
 MC Acceptance Cuts
(Certain areas were excluded for photon reconstruction)
Bool_t UpdateCutString()
Update the cut string (if it has been created yet)
void LoadReweightingHistosMCFromFile()
Bool_t InitializeCutsFromCutString(const TString analysisCutSelection)
 Initialize Cuts from a given Cut string
Bool_t SetCut(AliConversionCuts::cutIds cutID, Int_t cut)
Set individual cut ID
void PrintCuts()
 Print out current Cut Selection
void PrintCutsWithValues()
 Print out current Cut Selection with value
Bool_t SetIsHeavyIon(Int_t isHeavyIon)
Bool_t SetCentralityMin(Int_t useCentrality)
 Set Cut
Bool_t SetCentralityMax(Int_t centralityBin)
 Set Cut
Bool_t SetSelectSpecialTrigger(Int_t selectSpecialTrigger)
Bool_t SetSelectSubTriggerClass(Int_t selectSpecialSubTriggerClass)
Bool_t SetMultiplicityMethod(Int_t multiplicityMethod)
 Set Cut
Bool_t SetRemovePileUp(Int_t removePileUp)
Bool_t SetRejectExtraSignalsCut(Int_t extraSignal)
Bool_t SetV0Finder(Int_t v0FinderType)
Bool_t SetEtaCut(Int_t etaCut)
Bool_t SetRCut(Int_t RCut)
 Set Cut
Bool_t SetSinglePtCut(Int_t singlePtCut)
Bool_t SetTPCClusterCut(Int_t clsTPCCut)
Bool_t SetTPCdEdxCutElectronLine(Int_t ededxSigmaCut)
Bool_t SetTPCdEdxCutPionLine(Int_t pidedxSigmaCut)
Bool_t SetMinMomPiondEdxCut(Int_t piMinMomdedxSigmaCut)
Bool_t SetMaxMomPiondEdxCut(Int_t piMaxMomdedxSigmaCut)
Bool_t SetLowPRejectionCuts(Int_t LowPRejectionSigmaCut)
Bool_t SetTOFElectronPIDCut(Int_t TOFelectronPID)
 Set Cut
Bool_t SetQtMaxCut(Int_t QtMaxCut)
Bool_t SetChi2GammaCut(Int_t chi2GammaCut)
Bool_t SetPsiPairCut(Int_t psiCut)
Bool_t SetPhotonAsymmetryCut(Int_t doPhotonAsymmetryCut)
 Set Cut
Bool_t SetCosPAngleCut(Int_t cosCut)
Bool_t SetSharedElectronCut(Int_t sharedElec)
Bool_t SetToCloseV0sCut(Int_t toClose)
Bool_t SetTRDElectronCut(Int_t TRDElectronCut)
Bool_t SetDCAZPhotonPrimVtxCut(Int_t DCAZPhotonPrimVtx)
 Set Cut
Bool_t SetDCARPhotonPrimVtxCut(Int_t DCARPhotonPrimVtx)
 Set Cut
Bool_t SetInPlaneOutOfPlane(Int_t inOutPlane)
 Set Cut
Double_t GetCentrality(AliVEvent* event)
Bool_t IsCentralitySelected(AliVEvent* fInputEvent, AliVEvent* fMCEvent = NULL)
Bool_t VertexZCut(AliVEvent* fInputEvent)
 Cut on z position of primary vertex
Int_t GetNumberOfContributorsVtx(AliVEvent* event)
 returns number of contributors to the vertex
Bool_t IsTriggerSelected(AliVEvent* fInputEvent)
Int_t GetFirstTPCRow(Double_t radius)
 Get first TPC row
Bool_t CosinePAngleCut(const AliConversionPhotonBase* photon, AliVEvent* event) const
Check if passes cosine of pointing angle cut
Double_t GetCosineOfPointingAngle(const AliConversionPhotonBase* photon, AliVEvent* event) const
 calculates the pointing angle of the recalculated V0
Bool_t PsiPairCut(const AliConversionPhotonBase* photon) const
TString GetCutNumber()
 returns TString with current cut number
void FillElectonLabelArray(AliAODConversionPhoton* photon, Int_t nV0)
Bool_t RejectSharedElectronV0s(AliAODConversionPhoton* photon, Int_t nV0, Int_t nV0s)
Bool_t RejectToCloseV0s(AliAODConversionPhoton* photon, TList* photons, Int_t nV0)
void GetNotRejectedParticles(Int_t rejection, TList* HeaderList, AliVEvent* MCEvent)
Int_t IsParticleFromBGEvent(Int_t index, AliStack* MCStack, AliVEvent* InputEvent = 0x0)
Int_t IsEventAcceptedByConversionCut(AliConversionCuts* ReaderCuts, AliVEvent* InputEvent, AliMCEvent* MCEvent, Int_t isHeavyIon)
Float_t GetWeightForMeson(TString period, Int_t index, AliStack* MCStack, AliVEvent* InputEvent = 0x0)
AliConversionCuts* GetStandardCuts2010PbPb()
Create and return standard 2010 PbPb cuts
AliConversionCuts* GetStandardCuts2010pp()
Create and return standard 2010 PbPb cuts
void GetCorrectEtaShiftFromPeriod(TString periodName)
Bool_t InPlaneOutOfPlaneCut(Double_t photonPhi, Double_t eventPlaneAngle = -100, Bool_t fill = kTRUE)
UChar_t DeterminePhotonQualityAOD(AliAODConversionPhoton* , AliVEvent* )
void InitAODpidUtil(Int_t type)
Bool_t SetCutIds(TString cutString)
void SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kAny)
void SelectSpecialTrigger(UInt_t offlineTriggerMask = AliVEvent::kAny, TString TriggerClassName = "AliVEvent::kAny")
void SetAcceptedHeader(TList* HeaderList)
{fHeaderList = HeaderList;}
void SetPreSelectionCutFlag(Bool_t preSelFlag)
{fPreSelCut = preSelFlag;}
TString * GetFoundHeader()
{return fGeneratorNames;}
Int_t GetEventQuality()
{return fEventQuality;}
Bool_t GetIsFromPileup()
{return fRemovePileUp;}
AliConversionCuts& operator=(const AliConversionCuts& )
Bool_t IsSelected(TObject* )
{return kTRUE;}
Bool_t IsSelected(TList* )
{return kTRUE;}
void GetCentralityRange(Double_t* range)
{range[0]=10*fCentralityMin;range[1]=10*fCentralityMax;}
Bool_t ElectronIsSelectedMC(TParticle* particle, AliStack* fMCStack)
Bool_t MesonIsSelected(AliAODConversionMother* pi0, Bool_t IsSignal = kTRUE)
Bool_t MesonIsSelectedMC(TParticle* fMCMother, AliStack* fMCStack, Bool_t bMCDaughtersInAcceptance = kFALSE)
void SetPIDResponse(AliPIDResponse* pidResponse)
{fPIDResponse = pidResponse;}
AliPIDResponse * GetPIDResponse()
{ return fPIDResponse;}
void SetFillCutHistograms(TString name = "", Bool_t preCut = kTRUE)
TList * GetCutHistograms()
{return fHistograms;}
void FillPhotonCutIndex(Int_t photoncut)
{if(hCutIndex)hCutIndex->Fill(photoncut);}
void FillV0EtaBeforedEdxCuts(Float_t v0Eta)
{if(hEtaDistV0s)hEtaDistV0s->Fill(v0Eta);}
void FillV0EtaAfterdEdxCuts(Float_t v0Eta)
void SetEtaShift(Double_t etaShift)
void SetEtaShift(TString pPbOrPbp)
Double_t GetEtaShift()
{return fEtaShift;}
Bool_t GetDoEtaShift()
{return fDoEtaShift;}
void DoEtaShift(Bool_t doEtaShift)
{fDoEtaShift = doEtaShift;}
Bool_t SelectV0Finder(Bool_t onfly)
void SetUseReweightingWithHistogramFromFile(Bool_t pi0reweight = kTRUE, Bool_t etareweight = kFALSE, Bool_t k0sreweight = kFALSE, TString path = "$ALICE_ROOT/PWGGA/GammaConv/MCSpectraInput.root", TString histoNamePi0 = "", TString histoNameEta = "", TString histoNameK0s = "", TString fitNamePi0 = "", TString fitNameEta = "", TString fitNameK0s = "")
Bool_t HasV0AND()
{return fHasV0AND;}
Bool_t IsSDDFired()
{return fIsSDDFired;}
Int_t IsSpecialTrigger()
{return fSpecialTrigger;}
TString GetSpecialTriggerName()
Int_t GetInPlaneOutOfPlaneCut()
void SetAddedSignalPDGCode(Int_t addedSignalPDGcode)
 Request Flags
{fAddedSignalPDGCode = addedSignalPDGcode;}
Int_t IsHeavyIon()
{return fIsHeavyIon;}
Bool_t UseElecSharingCut()
Bool_t UseToCloseV0sCut()
Int_t GetMultiplicityMethod()
Double_t GetEtaCut()
{return fEtaCut;}
Int_t GetSignalRejection()
Int_t GetNAcceptedHeaders()
{return fnHeaders; }
TString * GetAcceptedHeaderNames()
{return fGeneratorNames;}
Int_t * GetAcceptedHeaderStart()
Int_t * GetAcceptedHeaderEnd()
{return fNotRejectedEnd;}
TList* GetAcceptedHeader()
{return fHeaderList;}