AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
charmCutsOptimization.C File Reference
#include <fstream>
#include <Riostream.h>
#include <TSystem.h>
#include <TMath.h>
#include <TH1F.h>
#include <TF1.h>
#include <TFile.h>
#include <TCanvas.h>
#include <TClonesArray.h>
#include <TStyle.h>
#include <TLegend.h>
#include <TGraphErrors.h>
#include <TGraph.h>
#include <TMultiGraph.h>
#include <TKey.h>
#include <TObjectTable.h>
#include <TDatabasePDG.h>
#include <TPaveText.h>
#include <TText.h>
#include <AliMultiDimVector.h>
#include "AliHFMassFitter.h"
#include <AliSignificanceCalculator.h>
Include dependency graph for charmCutsOptimization.C:

Go to the source code of this file.

Functions

Bool_t Data (TH1F *h, Double_t *rangefit, Bool_t writefit, Double_t &sgn, Double_t &errsgn, Double_t &bkg, Double_t &errbkg, Double_t &sgnf, Double_t &errsgnf, Double_t &sigmafit, Int_t &status)
 
Bool_t BinCounting (TH1F *h, Double_t *rangefit, Bool_t writefit, Double_t &sgn, Double_t &errsgn, Double_t &bkg, Double_t &errbkg, Double_t &sgnf, Double_t &errsgnf, Int_t &status)
 
Bool_t MC (TH1F *hs, TH1F *hb, Double_t &sgn, Double_t &errsgn, Double_t &bkg, Double_t &errbkg, Double_t &sgnf, Double_t &errsgnf, Double_t &sigmaused, Int_t &status)
 
Bool_t charmCutsOptimization (Bool_t isData=kTRUE, TString part="both", TString centr="no", Bool_t writefit=kTRUE, Int_t minentries=50, Double_t *rangefit=0x0, Bool_t useBinCounting=kTRUE)
 
Double_t ExpoBkgWoPeak (Double_t *x, Double_t *par)
 
Double_t PowerBkgWoPeak (Double_t *x, Double_t *par)
 
Double_t PowerExpoBkgWoPeak (Double_t *x, Double_t *par)
 
void showMultiDimVector (Int_t n=2, Int_t which=0, Bool_t plotErrors=kFALSE, Bool_t readfromfile=kFALSE, Bool_t fixedrange=kFALSE, Bool_t fixedplane=kFALSE)
 
void DrawSigmas (TH2F *h2cuts)
 
Int_t GetNHistFromIndices (AliMultiDimVector *vct, Int_t ptbin, Int_t *indices)
 
Int_t GetNHistFromValues (AliMultiDimVector *vct, Int_t ptbin, Float_t *values)
 
Int_t * GetRangeHistFromValues (AliMultiDimVector *vct, Int_t ptbin, Bool_t *valsgiven, Float_t *values, Int_t &nhistinrange)
 
Float_t * GetCutValuesFromNHist (AliMultiDimVector *vct, Int_t ptbin, Int_t nhist)
 
void DrawPossibilities (Int_t ptbin, Bool_t *valsgiven, Float_t *values, TString path="./", Int_t decCh=2)
 
void Merge2Bins (Int_t b1, Int_t b2, TString pathin="./", Int_t decCh=2, TString part="both")
 
void SubtractBkg (Int_t nhisto)
 

Variables

Double_t nsigma =3
 
Int_t decCh =2
 
Int_t fitbtype =5
 
Int_t rebin =2
 
Double_t sigma =0.0005
 
Int_t pdg
 
Double_t mass
 
Double_t sigmaCut =0.035
 
Double_t errSgnCut =0.4
 
Double_t nSigmaMeanCut =4.
 
ofstream outcheck
 
ofstream outdetail
 
Bool_t reject = true
 

Function Documentation

Bool_t BinCounting ( TH1F *  h,
Double_t *  rangefit,
Bool_t  writefit,
Double_t &  sgn,
Double_t &  errsgn,
Double_t &  bkg,
Double_t &  errbkg,
Double_t &  sgnf,
Double_t &  errsgnf,
Int_t &  status 
)

Definition at line 535 of file charmCutsOptimization.C.

Referenced by charmCutsOptimization().

Bool_t charmCutsOptimization ( Bool_t  isData = kTRUE,
TString  part = "both",
TString  centr = "no",
Bool_t  writefit = kTRUE,
Int_t  minentries = 50,
Double_t *  rangefit = 0x0,
Bool_t  useBinCounting = kTRUE 
)

4 because hMass_, hSgn_,hBkg_,hRfl_

Definition at line 66 of file charmCutsOptimization.C.

Bool_t Data ( TH1F *  h,
Double_t *  rangefit,
Bool_t  writefit,
Double_t &  sgn,
Double_t &  errsgn,
Double_t &  bkg,
Double_t &  errbkg,
Double_t &  sgnf,
Double_t &  errsgnf,
Double_t &  sigmafit,
Int_t &  status 
)

Definition at line 371 of file charmCutsOptimization.C.

Referenced by AliJetFlowTools::AddTLatex(), AddTrigVars(), AliTrackContainer::AliTrackContainer(), AliFlowAnalysisWithMixedHarmonics::BookAllEventByEventQuantities(), AliFlowAnalysisWithQCumulants::BookAndNestListsForDifferentialFlow(), AliFlowAnalysisCRC::BookAndNestListsForDifferentialFlow(), AliFlowAnalysisWithMixedHarmonics::BookDifferential(), AliAnalysisTaskMultiparticleFemtoscopy::BookEverythingForBackground(), AliFlowAnalysisWithQCumulants::BookEverythingForBootstrap(), AliFlowAnalysisCRC::BookEverythingForBootstrap(), AliFlowAnalysisWithCumulants::BookEverythingForCalculationVsMultiplicity(), AliAnalysisTaskMultiparticleFemtoscopy::BookEverythingForControlHistograms(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForControlHistograms(), AliFlowAnalysisWithQCumulants::BookEverythingForControlHistograms(), AliFlowAnalysisCRC::BookEverythingForControlHistograms(), AliAnalysisTaskMultiparticleFemtoscopy::BookEverythingForCorrelationFunctions(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForCorrelations(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForDiffCorrelations(), AliFlowAnalysisWithQCumulants::BookEverythingForDifferentialFlow(), AliFlowAnalysisCRC::BookEverythingForDifferentialFlow(), AliFlowAnalysisWithCumulants::BookEverythingForDiffFlow(), AliFlowAnalysisWithFittingQDistribution::BookEverythingForDistributions(), AliFlowAnalysisWithQCumulants::BookEverythingForDistributions(), AliFlowAnalysisCRC::BookEverythingForDistributions(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForEbECumulants(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForEtaGaps(), AliFlowAnalysisWithQCumulants::BookEverythingForIntegratedFlow(), AliFlowAnalysisCRC::BookEverythingForIntegratedFlow(), AliFlowAnalysisWithNestedLoops::BookEverythingForMH(), AliFlowAnalysisWithQCumulants::BookEverythingForMixedHarmonics(), AliFlowAnalysisCRC::BookEverythingForMixedHarmonics(), AliFlowAnalysisWithQCumulants::BookEverythingForNestedLoops(), AliFlowAnalysisCRC::BookEverythingForNestedLoops(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForQcumulants(), AliFlowAnalysisWithMultiparticleCorrelations::BookEverythingForSymmetryPlanes(), AliFlowAnalysisWithMCEventPlane::BookObjectsForMixedHarmonics(), AliFlowAnalysisWithMultiparticleCorrelations::CalculateQcumulants(), AliAnaCalorimeterQA::CellHistograms(), charmCutsOptimization(), AliAnalysisTaskSESignificance::CheckConsistency(), AliCaloTrackReader::CheckEventTriggers(), ClassImp(), AliAnaCalorimeterQA::ClusterLoopHistograms(), CompareFitTypes(), completeProd(), CreateEMCALRunQA(), AliHFMultiTrials::CreateHistos(), AliAnalysisTaskSEDplus::CreateImpactParameterHistos(), AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::DefineCascTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineCascTreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineCorrelationTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineCorrelationTreeVariables(), AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::DefineEleTreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineEleTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineEleTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineMCCascTreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineMCEleTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineMCEleTreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineMCGenPairTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineMCGenPairTreeVariables(), AliAnalysisTaskSELc2pK0sfromAODtracks::DefineMCProtonTreeVariables(), AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::DefineMCTreeVariables(), AliAnalysisTaskSELc2pK0sfromAODtracks::DefineMCTreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineMCTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineMCTreeVariables(), AliAnalysisTaskSELc2pK0sfromAODtracks::DefineMCV0TreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineMCV0TreeVariables(), AliAnalysisTaskSELc2pK0sfromAODtracks::DefineProtonTreeVariables(), AliAnalysisTaskSEXicPlus2XiPiPifromAODtracks::DefineTreeVariables(), AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::DefineTreeVariables(), AliAnalysisTaskSELc2V0bachelor::DefineTreeVariables(), AliAnalysisTaskSELc2pK0sfromAODtracks::DefineTreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineTreeVariables(), AliAnalysisTaskSEXic2eleXifromAODtracks::DefineTreeVariables(), AliAnalysisTaskSELc2pK0sfromAODtracks::DefineV0TreeVariables(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DefineV0TreeVariables(), AliAnalysisTaskCombinHF::DoMixingWithCuts(), AliAnalysisTaskCombinHF::DoMixingWithPools(), AliMTRChEffAnalysis::DrawEffTrend(), DrawEventSelection(), DrawProductionComparison(), AliMTRChEffAnalysis::DrawStatContribution(), AliEMCALTriggerOfflineQAPP::EventCompleted(), AliAnaPi0::FillAcceptanceHistograms(), AliAnaParticleJetLeadingConeCorrelation::FillJetHistos(), AliAnalysisTaskSEDStarCharmFraction::FillRegionHistogram(), AliFlowAnalysisWithQCumulants::FinalizeCorrectionTermsForNUAIntFlow(), AliFlowAnalysisCRC::FinalizeCorrectionTermsForNUAIntFlow(), AliAnaPi0EbE::GetAnalysisCuts(), AliAnaClusterPileUp::GetAnalysisCuts(), AliAnaInsideClusterInvariantMass::GetAnalysisCuts(), AliAnaPhoton::GetAnalysisCuts(), AliAnaElectron::GetAnalysisCuts(), AliAnaPi0::GetAnalysisCuts(), AliAnaCalorimeterQA::GetAnalysisCuts(), AliAnaParticleIsolation::GetAnalysisCuts(), AliCaloTrackAODReader::GetCreateControlHistograms(), AliCaloTrackReader::GetCreateControlHistograms(), AliAnaChargedParticles::GetCreateOutputObjects(), AliAnaParticleHadronCorrelation::GetCreateOutputObjects(), AliAnaPi0EbE::GetCreateOutputObjects(), AliAnaClusterPileUp::GetCreateOutputObjects(), AliAnaPhotonConvInCalo::GetCreateOutputObjects(), AliAnaInsideClusterInvariantMass::GetCreateOutputObjects(), AliAnaPhoton::GetCreateOutputObjects(), AliAnaElectron::GetCreateOutputObjects(), AliAnaPi0::GetCreateOutputObjects(), AliAnaCalorimeterQA::GetCreateOutputObjects(), AliAnaGeneratorKine::GetCreateOutputObjects(), AliAnaParticleIsolation::GetCreateOutputObjects(), AliCaloTrackReader::GetEventPlaneAngle(), GetFileAndList(), AliAnaCaloTrackCorrMaker::GetOutputContainer(), AliFlowAnalysisWithScalarProduct::GetOutputHistograms(), AliFlowAnalysisWithQCumulants::GetPointersFor2DDiffFlowHistograms(), AliFlowAnalysisCRC::GetPointersFor2DDiffFlowHistograms(), AliFlowAnalysisWithMixedHarmonics::GetPointersForAllEventProfiles(), AliFlowAnalysisWithMultiparticleCorrelations::GetPointersForControlHistograms(), AliFlowAnalysisWithQCumulants::GetPointersForControlHistograms(), AliFlowAnalysisCRC::GetPointersForControlHistograms(), AliFlowAnalysisWithMultiparticleCorrelations::GetPointersForCorrelations(), AliFlowAnalysisWithQCumulants::GetPointersForDiffFlowHistograms(), AliFlowAnalysisCRC::GetPointersForDiffFlowHistograms(), AliFlowAnalysisWithCumulants::GetPointersForDiffFlowObjects(), AliFlowAnalysisWithNestedLoops::GetPointersForMH(), AliFlowAnalysisWithMixedHarmonics::GetPointersForResultsHistograms(), AliMCParticleContainer::GetTitle(), AliParticleContainer::GetTitle(), AliClusterContainer::GetTitle(), AliTrackContainer::GetTitle(), AliJetContainer::GetTitle(), GetTriggerLists(), AliCaloTrackReader::GetTriggerPatches(), THistManager::histname(), AliFlowAnalysisWithScalarProduct::Init(), AliAnaCalorimeterQA::Init(), AliEMCALTriggerOfflineQAPP::Init(), AliCFTaskVertexingHFCutVarFDSub::Init(), AliCFTaskVertexingHF::Init(), AliAnalysisTaskSEDvsMultiplicity::Init(), AliAnalysisTaskSEDvsEventShapes::Init(), AliRDHFCuts::IsEventSelected(), AliAnaParticlePartonCorrelation::MakeAnalysisFillAOD(), AliAnaParticleJetFinderCorrelation::MakeAnalysisFillAOD(), AliAnaPhoton::MakeAnalysisFillAOD(), AliAnaElectron::MakeAnalysisFillAOD(), AliAnaParticleIsolation::MakeAnalysisFillAOD(), AliAnaParticleJetLeadingConeCorrelation::MakeAnalysisFillAOD(), AliAnaParticlePartonCorrelation::MakeAnalysisFillHistograms(), AliAnaParticleJetFinderCorrelation::MakeAnalysisFillHistograms(), AliAnaParticleHadronCorrelation::MakeAnalysisFillHistograms(), AliAnaClusterPileUp::MakeAnalysisFillHistograms(), AliAnaPi0EbE::MakeAnalysisFillHistograms(), AliAnaPi0::MakeAnalysisFillHistograms(), AliAnaCalorimeterQA::MakeAnalysisFillHistograms(), AliAnaInsideClusterInvariantMass::MakeAnalysisFillHistograms(), AliAnaParticleJetLeadingConeCorrelation::MakeAnalysisFillHistograms(), MakeAODInputChain(), AliAnaParticleJetLeadingConeCorrelation::MakeAODJet(), AliJetFlowTools::MakeAU(), AliAnaParticleHadronCorrelation::MakeChargedCorrelation(), AliAnaPi0EbE::MakeInvMassInCalorimeter(), AliAnaPi0EbE::MakeInvMassInCalorimeterAndCTS(), AliAnaParticleJetLeadingConeCorrelation::MakeJetFromAOD(), AliAnaPi0EbE::MakeShowerShapeIdentification(), MakeSummary(), AliRDHFCuts::MakeTable(), PlotMuonEfficiency(), PlotMuonEfficiencyPerDE(), PlotMuonEfficiencyPerDEVsRun(), PlotMuonEfficiencyVsRun(), PlotMuonQA(), AliJetFlowTools::PostProcess(), AliAnaClusterPileUp::Print(), AliAnaPi0EbE::Print(), AliAnaPhoton::Print(), AliAnaElectron::Print(), AliAnaCalorimeterQA::Print(), AliAnaParticleIsolation::Print(), AliCaloPID::Print(), AliAnaInsideClusterInvariantMass::Print(), AliEmcalJet::Print(), AliAODPidHF::PrintAll(), AliAnalysisTaskEMCALPi0CalibSelection::PrintInfo(), AliAnalysisTaskTriggerRates::PrintRates(), AliMultiDimVector::PrintStatus(), AliRDHFCuts::PrintTrigger(), AliAnalysisTaskJetV2::PrintTriggerSummary(), ProcessCanvasCentralityPercentile(), ProcessCanvasPhysSelCut(), ProcessCanvasPhysSelCutCentrality(), ProcessCanvasRelativeTriggerContent(), ProcessCanvasTriggerContent(), AliEMCALTriggerOfflineQAPP::ProcessPatch(), AliEmcalTriggerMaker::ProcessPatch(), AliMultiDimVector::Project(), ReadFilesForCompilation(), AliAnalysisTaskFlowStrange::RebinDecayVn(), AliAnalysisTaskFlowStrangee::RebinDecayVn(), AliCaloTrackReader::RejectLEDEvents(), ScalerTrending(), AliCaloTrackReader::SetEventTriggerBit(), AliAnalysisTaskSEDStarCharmFraction::SetUpList(), AliFlowAnalysisWithMultiparticleCorrelations::SetWeightsHist(), showMultiDimVector(), SuperimposeBBToTPCSignal(), AliAnalysisTaskMuonCuts::Terminate(), AliAnalysisTaskTrigChEff::Terminate(), AliAnalysisTaskMuonFakes::Terminate(), AliAnalysisTaskMuonTrackingEff::Terminate(), AliCFTaskVertexingHFCutVarFDSub::Terminate(), AliCFTaskVertexingHF::Terminate(), TPCBetheBloch(), TrigEffTrending(), AliAnalysisTaskEmcalHighMultTrigger::UserCreateOutputObjects(), AliAnalysisTaskTriggerRates::UserCreateOutputObjects(), AliAnalysisTaskV0sInJets::UserCreateOutputObjects(), AliAnalysisTaskMuonQA::UserCreateOutputObjects(), AliAnalysisTaskMultiparticleCorrelations::UserCreateOutputObjects(), AliAnalysisTaskMuonFakes::UserCreateOutputObjects(), AliAnalysisTaskV0sInJetsEmcal::UserCreateOutputObjects(), AliEmcalPicoTrackInGridMaker::UserCreateOutputObjects(), AliAnalysisTaskSED0MassCutVarFDSub::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetMassStructure::UserCreateOutputObjects(), AliAnalysisTaskSECharmFraction::UserCreateOutputObjects(), AliAnalysisTaskSED0Mass::UserCreateOutputObjects(), AliAnalysisTaskSEHFQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalMissingEnergy::UserCreateOutputObjects(), AliAnalysisTaskFakeJets::UserCreateOutputObjects(), AliAnalysisTaskSubJetFraction::UserCreateOutputObjects(), AliAnalysisTaskEmcalQGTagging::UserCreateOutputObjects(), AliAnalysisTaskSEDs::UserCreateOutputObjects(), AliAnalysisTaskEmcalIteratorTest::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetShapesMC::UserCreateOutputObjects(), AliAnalysisTaskMuonPerformance::UserCreateOutputObjects(), AliAnalysisTaskEMCALTriggerQA::UserCreateOutputObjects(), AliAnalysisTaskSELc2V0bachelorTMVA::UserCreateOutputObjects(), AliAnalysisTaskHJetSpectra::UserCreateOutputObjects(), AliAnalysisTaskSELambdacTMVA::UserCreateOutputObjects(), AliEmcalTriggerMaker::UserCreateOutputObjects(), AliAnalysisTaskTriggerRates::UserExec(), AliAnalysisTaskFullppJet::UserExec(), and AliAnalysisTaskEMCALPi0CalibSelection::UserExec().

void DrawPossibilities ( Int_t  ptbin,
Bool_t *  valsgiven,
Float_t *  values,
TString  path = "./",
Int_t  decCh = 2 
)

Definition at line 1103 of file charmCutsOptimization.C.

void DrawSigmas ( TH2F *  h2cuts)

Definition at line 977 of file charmCutsOptimization.C.

Double_t ExpoBkgWoPeak ( Double_t *  x,
Double_t *  par 
)

Definition at line 492 of file charmCutsOptimization.C.

Referenced by BinCounting().

Float_t* GetCutValuesFromNHist ( AliMultiDimVector vct,
Int_t  ptbin,
Int_t  nhist 
)

Definition at line 1088 of file charmCutsOptimization.C.

Int_t GetNHistFromIndices ( AliMultiDimVector vct,
Int_t  ptbin,
Int_t *  indices 
)

Definition at line 1001 of file charmCutsOptimization.C.

Int_t GetNHistFromValues ( AliMultiDimVector vct,
Int_t  ptbin,
Float_t *  values 
)

Definition at line 1017 of file charmCutsOptimization.C.

Referenced by GetRangeHistFromValues().

Int_t* GetRangeHistFromValues ( AliMultiDimVector vct,
Int_t  ptbin,
Bool_t *  valsgiven,
Float_t *  values,
Int_t &  nhistinrange 
)

Definition at line 1038 of file charmCutsOptimization.C.

Referenced by DrawPossibilities().

Bool_t MC ( TH1F *  hs,
TH1F *  hb,
Double_t &  sgn,
Double_t &  errsgn,
Double_t &  bkg,
Double_t &  errbkg,
Double_t &  sgnf,
Double_t &  errsgnf,
Double_t &  sigmaused,
Int_t &  status 
)

Definition at line 462 of file charmCutsOptimization.C.

Referenced by charmCutsOptimization().

void Merge2Bins ( Int_t  b1,
Int_t  b2,
TString  pathin = "./",
Int_t  decCh = 2,
TString  part = "both" 
)

4 because hMass_, hSgn_,hBkg_,hRfl_

Definition at line 1194 of file charmCutsOptimization.C.

Double_t PowerBkgWoPeak ( Double_t *  x,
Double_t *  par 
)

Definition at line 505 of file charmCutsOptimization.C.

Referenced by BinCounting().

Double_t PowerExpoBkgWoPeak ( Double_t *  x,
Double_t *  par 
)

Definition at line 519 of file charmCutsOptimization.C.

Referenced by BinCounting().

void showMultiDimVector ( Int_t  n = 2,
Int_t  which = 0,
Bool_t  plotErrors = kFALSE,
Bool_t  readfromfile = kFALSE,
Bool_t  fixedrange = kFALSE,
Bool_t  fixedplane = kFALSE 
)

Definition at line 658 of file charmCutsOptimization.C.

void SubtractBkg ( Int_t  nhisto)

Definition at line 1377 of file charmCutsOptimization.C.

Variable Documentation

Double_t errSgnCut =0.4

Definition at line 38 of file charmCutsOptimization.C.

Referenced by Data().

Int_t fitbtype =5

Definition at line 31 of file charmCutsOptimization.C.

Referenced by BinCounting(), and Data().

Double_t mass

Definition at line 35 of file charmCutsOptimization.C.

Referenced by AliHFMassFitter::AddFunctionsToHisto(), AliHFMassFitterVAR::AddFunctionsToHisto(), AliAnalysisTaskVnV0::Analyze(), BinCounting(), AliAnalysisTaskDmesonJets::CalculateMassLimits(), AliRDHFCutsLctoeleLambdafromAODtracks::CalculatePhotonMass(), charmCutsOptimization(), ClassImp(), AliJetModelCopyTracks::CopyTracks(), Data(), AliPWGHistoTools::dMtdptFunction(), AliEmcalJetByJetCorrection::Eval(), AliAnalysisTaskSESignificance::FillDplus(), AliAnalysisTaskSESignificance::FillDstar(), AliAnalysisTaskBackFlucRandomCone::FillHistograms(), AliAnalysisTaskCombinHF::FillHistos(), AliAnalysisTaskSEDvsMultiplicity::FillMCMassHistos(), AliAnaPi0::FillMCVersusRecDataHistograms(), AliAnalysisTaskCombinHF::FillMEHistos(), AliAnalysisTaskCombinHF::FillMEHistosLS(), AliAnaInsideClusterInvariantMass::FillNLMDiffCutHistograms(), FitMassSpectra(), AliTrackContainer::GetAcceptMomentum(), AliPWGHistoTools::GetdNdmtFromdNdpt(), AliPWGHistoTools::GetdNdptFromdNdmt(), AliHelperPID::GetMass(), AliTrackContainer::GetMomentum(), AliParticleContainer::GetMomentumFromParticle(), AliTrackContainer::GetMomentumFromTrack(), AliTrackContainer::GetNextAcceptMomentum(), AliTrackContainer::GetNextMomentum(), AliAnaPi0EbE::HasPairSameMCMother(), AliPWGFunc::IntegrandBG(), AliPWGFunc::IntegrandTest(), AliPWGFunc::IntegrandTsallis(), AliAnaCalorimeterQA::InvariantMassHistograms(), AliAnaParticleHadronCorrelation::InvMassHisto(), AliAnalysisTaskSELambdac::IspiKpResonant(), AliAnalysisTaskSELambdac::IspKpiResonant(), AliAnaInsideClusterInvariantMass::MakeAnalysisFillHistograms(), AliAnaPi0EbE::MakeInvMassInCalorimeter(), AliAnaPi0EbE::MakeInvMassInCalorimeterAndCTS(), AliAnaPi0EbE::MakeShowerShapeIdentification(), AliAnalysisTaskFlowStrange::MakeToyEvent(), AliAnalysisTaskFlowStrangee::MakeToyEvent(), MC(), ReadDvsMultiplicity(), AliAnalysisTaskFlowStrange::RebinDecayVn(), AliAnalysisTaskFlowStrangee::RebinDecayVn(), AliRDHFCutsLctopKpi::ReconstructKF(), AliJetEmbeddingFromGenTask::Run(), AliJetEmbeddingTask::Run(), AliAnalysisTaskEmcalJetHF::SelectPhotonicElectron(), AliJetEmbeddingTask::SetMass(), AliHFMultiTrials::SetMass(), AliAnalysisTaskSESignificance::SetMassLimits(), AliAnalysisTaskSEDvsEventShapes::SetMassLimits(), AliAnalysisTaskSEDvsMultiplicity::SetMassLimits(), AliAnalysisTaskFlavourJetCorrelations::SetMassLimits(), AliAnalysisTaskSEDmesonsFilterCJ::SetMassLimits(), AliHFMassFitterVAR::SetParticlePdgMass(), AliEmcalPythiaInfo::SetParton6(), AliEmcalPythiaInfo::SetParton7(), AliHFMassFitterVAR::Signal(), AliHFMassFitter::Signal(), AliPWGFunc::StaticBGdNdPt(), AliPWGFunc::StaticTest(), AliPWGFunc::StaticTsallisdNdPt(), AliPWGFunc::StaticUA1Func(), AliPWGFunc::StaticUA1FuncOneOverPt(), AliRDHFCutsXictoeleXifromAODtracks::TagConversions(), AliRDHFCutsLctoeleLambdafromAODtracks::TagConversions(), AliRDHFCutsXictoeleXifromAODtracks::TagConversionsSameSign(), AliRDHFCutsLctoeleLambdafromAODtracks::TagConversionsSameSign(), AliAnalysisTaskPIDflowQA::TPCTOFagree(), AliFlowTrackCuts::TPCTOFagree(), AliAnalysisTaskSELc2V0bachelor::TrackRotation(), AliAnalysisTaskMuonFakes::UserExec(), AliAnalysisTaskSEDStarSpectra::UserExec(), AliAnalysisTaskPhiFlow::UserExec(), AliAnalysisTaskSEDvsMultiplicity::UserExec(), AliAnalysisTaskSEDvsEventShapes::UserExec(), and AliAnalysisTaskSELambdac::VertexingKF().

Double_t nSigmaMeanCut =4.

Definition at line 39 of file charmCutsOptimization.C.

Referenced by Data().

ofstream outcheck

Definition at line 42 of file charmCutsOptimization.C.

Referenced by charmCutsOptimization(), and Data().

ofstream outdetail

Definition at line 43 of file charmCutsOptimization.C.

Referenced by charmCutsOptimization(), and Data().

Int_t pdg

Definition at line 34 of file charmCutsOptimization.C.

Referenced by AliAnalysisTaskFullppJet::AnalyzeSecondaryContribution(), AliAnalysisTaskSELc2V0bachelorTMVA::CallKFVertexing(), charmCutsOptimization(), AliAnalysisTaskSELc2V0bachelorTMVA::CheckBachelor(), AliAnalysisTaskSELc2V0bachelorTMVA::CheckK0S(), AliAnaInsideClusterInvariantMass::CheckLocalMaximaMCOrigin(), AliAnaCalorimeterQA::ClusterLoopHistograms(), AliAnaPhoton::FillAcceptanceHistograms(), AliAnaParticleIsolation::FillAcceptanceHistograms(), AliAnaPi0::FillAcceptanceHistograms(), AliCaloTrackMCReader::FillCalorimeters(), AliEmcalTrackingQATask::FillHistograms(), AliCaloTrackMCReader::FillInputEvent(), AliAnalysisTaskSELc2V0bachelorTMVA::FillMCHisto(), AliAnaChargedParticles::FillPrimaryHistograms(), AliFlowOnTheFlyEventGenerator::Find(), AliAnaParticleJetFinderCorrelation::FindMCgenInfo(), AliCaloPID::GetIdentifiedParticleTypeFromBayesWeights(), AliMCAnalysisUtils::GetJets(), AliMCAnalysisUtils::GetMother(), AliMCAnalysisUtils::GetMotherWithPDG(), AliAnalysisTaskHJetDphi::GetParticleType(), AliAnaGeneratorKine::GetXE(), AliAODRecoDecayHF2Prong::InvMassD0(), AliAODRecoDecayHF4Prong::InvMassD0(), AliAODRecoDecayHF2Prong::InvMassD0bar(), AliAODRecoDecayHF4Prong::InvMassD0bar(), AliAODRecoDecayHF3Prong::InvMassDplus(), AliAODRecoDecayHF3Prong::InvMassDsKKpi(), AliAODRecoDecayHF3Prong::InvMassDspiKK(), AliAODRecoDecayHF2Prong::InvMassJPSIee(), AliAODRecoDecayHF3Prong::InvMassLcpiKp(), AliAODRecoDecayHF3Prong::InvMassLcpKpi(), AliAODRecoCascadeHF::InvMassLctoK0sP(), AliAODRecoCascadeHF::InvMassLctoLambdaPi(), AliAODRecoCascadeHF3Prong::InvMassPiXiPi(), AliAnaGeneratorKine::IsLeadingAndIsolated(), AliAnaOmegaToPi0Gamma::MakeAnalysisFillHistograms(), AliAnaPi0EbE::MakeAnalysisFillHistograms(), AliAnaPhoton::MakeAnalysisFillHistograms(), AliAnaElectron::MakeAnalysisFillHistograms(), AliAnaParticleIsolation::MakeAnalysisFillHistograms(), AliAnaParticleHadronCorrelation::MakeMCChargedCorrelation(), AliAODRecoCascadeHF3Prong::MatchToMCCascade(), AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::MatchToMCCascade(), AliAnalysisTaskSEXic2eleXifromAODtracks::MatchToMCCascade(), AliAnaCalorimeterQA::MCHistograms(), AliFlowTrackCuts::PassesCuts(), AliJetEmbeddingFromGenTask::Run(), AliCFVertexingHFCascade::SetPDGbachelor(), AliCFVertexingHFCascade::SetPDGcascade(), HighPtTracks::AliReducedJetConstituent::SetPdgCode(), HighPtTracks::AliReducedClusterParticle::SetPdgCode(), HighPtTracks::AliReducedJetParticle::SetPdgCode(), AliCFVertexingHFCascade::SetPDGneutrDaugh(), AliCFVertexingHFCascade::SetPDGneutrDaughForMC(), AliCFVertexingHFCascade::SetPDGneutrDaughNegative(), AliCFVertexingHFCascade::SetPDGneutrDaughPositive(), AliMCHFParticleSelector::SetSpecialPDG(), AliHFAODMCParticleContainer::SetSpecialPDG(), AliAnalysisTaskSESelectHF4Prong::StudyMCTruth(), AliAnalysisTaskSECompareHF::UserExec(), AliAnalysisTaskCheckHFMCProd::UserExec(), AliAnalysisTaskSEHFQA::UserExec(), and VertexResolutionsFromCmpHF().

Double_t sigma =0.0005

Definition at line 33 of file charmCutsOptimization.C.

Referenced by BinCounting(), Data(), and DrawSigmas().

Double_t sigmaCut =0.035

Definition at line 37 of file charmCutsOptimization.C.

Referenced by Data().