AliPhysics  323987d (323987d)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DrawAnaCaloTrackQA.C File Reference

Plot analysis QA histograms from EMCal PWG-GA wagon. More...

Go to the source code of this file.

Functions

void DrawAnaCaloTrackQA (TString listName="Pi0IM_GammaTrackCorr_EMCAL_default", TString fileName="AnalysisResults.root", Bool_t export=kFALSE)
 
void CaloQA ()
 
void TrackQA ()
 
void Pi0QA ()
 
void CorrelationQA ()
 
void MCQA ()
 
void GetFileAndList (TString fileName, TString listName, Bool_t export)
 
TObjectGetHisto (TString histoName)
 
void ScaleAxis (TAxis *a, Double_t scale)
 
void ScaleXaxis (TH1 *h, Double_t scale)
 

Variables

TListlist = 0
 
TFile * file = 0
 
TString histoTag = ""
 
Int_t color [] ={kBlack,kRed,kOrange+1,kYellow+1,kGreen+2,kBlue,kCyan+1,kViolet,kMagenta+2,kGray}
 

Detailed Description

Plot analysis QA histograms from EMCal PWG-GA wagon.

Macro to plot few selected histograms to QA data productions at 0th order Analysis performed with the wagon AddTaskPi0IMGammaCorrQA.C It generates 5 eps plots, each containing 2 to 4 canvases

To execute: root -q -b -l DrawAnaCaloTrackQA.C'("Pi0IM_GammaTrackCorr_EMCAL_default","AnalysisResults.root")' The input list name might change depending on the wagon / data type In case output file is too large, possiblity to dump the list content in a sepate file: export = kTRUE

Author
: Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file DrawAnaCaloTrackQA.C.

Function Documentation

void CaloQA ( )

Plot basic calorimeter QA histograms.

Definition at line 74 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void CorrelationQA ( )

Plot basic cluster-track correlation histograms.

Definition at line 581 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void DrawAnaCaloTrackQA ( TString  listName = "Pi0IM_GammaTrackCorr_EMCAL_default",
TString  fileName = "AnalysisResults.root",
Bool_t  export = kFALSE 
)

Main method, produce the plots for the 5 different types of analysis:

  • Calorimeter QA in CaloQA method
  • Track QA in TrackQA method
  • Invariant mass plots in Pi0QA method
  • Cluster-track correlation plots in CorrelationQA method
  • Dedicated generated particles QA in MCQA method Input:
    Parameters
    listNameName of list with histograms in file
    fileNameFile name
    exportexport list with histograms to separate file, intereting in case of big output file.

Definition at line 35 of file DrawAnaCaloTrackQA.C.

void GetFileAndList ( TString  fileName,
TString  listName,
Bool_t  export 
)

Open the file and list containing the histograms

Definition at line 901 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

TObject* GetHisto ( TString  histoName)

Check if the list is available, if not get the histo directly from file

Definition at line 923 of file DrawAnaCaloTrackQA.C.

Referenced by CaloQA(), CorrelationQA(), MCQA(), Pi0QA(), and TrackQA().

void MCQA ( )

Plot basic generated particle distribution histograms.

Definition at line 693 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void Pi0QA ( )

Plot basic invariant mass QA

Definition at line 343 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void ScaleAxis ( TAxis a,
Double_t  scale 
)

Scale axis by a constant factor used just to scale degrees to rad in a single histogram in the MC case

Definition at line 934 of file DrawAnaCaloTrackQA.C.

Referenced by ScaleXaxis().

void ScaleXaxis ( TH1 h,
Double_t  scale 
)

Scale x axis by a constant factor used just to scale degrees to rad in a single histogram in the MC case

Definition at line 963 of file DrawAnaCaloTrackQA.C.

Referenced by MCQA().

void TrackQA ( )

Plot basic hybrid tracks histograms.

Definition at line 277 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

Variable Documentation

TFile* file = 0

Definition at line 19 of file DrawAnaCaloTrackQA.C.

Referenced by AddTrigVars(), ProofRailway::AuxFile(), CheckEF(), CheckMergedOverlap(), CheckQAFile(), ClassImp(), AliOADBForward::Close(), EventTimeSorter::CloseInput(), CompareSubs(), Convert(), ConvertOne(), FastAnalysis::CopyEgHistogram(), GraphSysErr::CopyKeys(), CreateChain(), DoStandardForDs(), Draw123(), DrawBeforeAfter(), DrawCorrAcc2(), DrawCorrCentralSecMap2(), DrawCorrELoss(), DrawCorrSecMap2(), DrawCorrVtxBias(), DrawCuts(), DrawDeltas2(), DrawELossPoisson(), DrawEmpirical(), DrawEP(), DrawEvaluateTriggers(), DrawFlowPDF(), DrawKs(), DrawMCResult(), DrawNeighbors(), DrawOccupancy(), DrawRecAnaEloss(), DrawSPDComparison(), DrawSteps(), AliForwarddNdetaTask::CentralityBin::End(), Extract(), ExtractGSE(), ExtractGSE2(), ExtractGSEs(), Extractor::ExtractObject(), AliAnalysisTaskCaloFilter::FillAODHeader(), AliAnalysisTaskEMCALClusterize::FillAODHeader(), fitD0(), GetCent(), GetDeltas(), GetFileAndList(), FastSim::GetGAlice(), GetGraph(), GetHisto(), GetHists(), FastSim::GetKine(), GetMid(), AliJetEmbeddingFromPYTHIATask::GetNextFile(), AliJetEmbeddingFromAODTask::GetNextFile(), GetOne(), Unfolder::GetTop(), SummaryMCTrackDrawer::Init(), SummaryAODDrawer::Init(), FastAnalysis::Init(), EPosSim::Init(), AliAnalysisTaskEMCALTriggerQA::InitGeometry(), LoadAnalysisManager(), LoadHandler(), AliAnalysisTaskRhoBase::LoadRhoFunction(), AliLatexTable::LoadTeXFromFileAndPrintASCII(), main(), MakeCorrSecMap(), MakeELossFit::MakeELossFit(), AliStarEventReader::MakeFileListFromFile(), DetailsComparer::MakeTitlePage(), QAPlotter::MakeTree(), FastSim::MoveAliceFiles(), Trend::NextFile(), AliAnalysisTaskJetMatching::Notify(), FastAnalysis::Notify(), TupleSelector::Notify(), EPosSim::Notify(), AliOADBForward::Open(), EmpiricalMaker::OpenFile(), OpenFile(), AliTrackletdNdetaPost::OpenFile(), AliTrackletdNdeta::OpenFile(), AliTrackletAODUtils::OpenFile(), PeriodAnalysis(), PlotEfficiency(), PlotIntegratedMuonEfficiency(), PlotIntegratedMuonEfficiencyPerDE(), PlotIntegratedMuonEfficiencyVsX(), PlotMuonEfficiency(), PlotMuonEfficiencyPerDE(), PlotMuonEfficiencyPerDEVsRun(), PlotMuonEfficiencyVsRun(), PlotMuonEfficiencyVsX(), PlotMuonEfficiencyVsXY(), ProcessFile(), ProcessOne(), AliAnalysisTaskEMCALTimeCalib::ProduceCalibConsts(), AliAnalysisTaskEMCALTimeCalib::ProduceOffsetForSMsV2(), FastAnalysis::ProofLoad(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::PythiaInfoFromFile(), AliAnalysisHelperJetTasks::PythiaInfoFromFile(), HighPtTracks::AliHighPtReconstructionEfficiency::PythiaInfoFromFile(), AliAnalysisTaskEmcalLight::PythiaInfoFromFile(), AliAnalysisTaskEmcal::PythiaInfoFromFile(), QAplots(), AliEMCALTriggerOfflineQAPP::ReadFastORBadChannelFromFile(), AliEmcalTriggerMakerKernel::ReadFastORBadChannelFromFile(), AliEmcalTriggerMakerKernel::ReadFastORPedestalFromFile(), ReadFCM(), ELossTimeTask::ReadMap(), AliEMCALTriggerOfflineQAPP::ReadOfflineBadChannelFromFile(), AliEmcalTriggerMakerKernel::ReadOfflineBadChannelFromFile(), ReadWeights(), SummaryMultDistsDrawer::Run(), SummaryUnfoldedDrawer::Run(), SummarydNdetaDrawer::Run(), SummaryMCCorrDrawer::Run(), SummaryMCTrackDrawer::Run(), SummaryAODDrawer::Run(), Calculation::Run(), EmpiricalMaker::Run(), DetailsComparer::Run(), dNdetaDrawer::Run(), FastAnalysis::Run(), EPosSim::Run(), ScalerTrending(), ScanDirectory(), Scanner::ScanDirectory(), ChainBuilder::ScanDirectory(), TupleSelector::ScanDirectory(), SetAndCheckOCDB(), dNdetaDrawer::SetEmpirical(), AliCaloTrackReader::SetEventTriggerBit(), dNdetaDrawer::SetFinalMC(), SimpledNdeta(), AliAnaCaloChannelAnalysis::SummarizeResults(), AliAnaCaloChannelAnalysis::SummarizeResultsByFlag(), SummaryAODDrawer::SummarizeSharing(), SummaryAODDrawer::SummarizeSteps(), AliEmcalPhysicsSelectionTask::Terminate(), terminateQA(), TestSPD(), Trending2ELoss(), trendingCluster(), TrigEffTrending(), AliOADBForward::Table::Update(), AliOADBForward::Update(), UpdateTag(), AliEsdSkimTask::UserCreateOutputObjects(), AliAnalysisTaskPIDflowQA::UserExec(), AliCopyHeaderTask::UserExec(), EventTimeTask::UserNotify(), WithSysError(), and WriteFCM().

TString histoTag = ""

Definition at line 20 of file DrawAnaCaloTrackQA.C.

TList* list = 0

Definition at line 18 of file DrawAnaCaloTrackQA.C.

Referenced by AliForwardFlowTaskQC::VertexBin::AddOutput(), AliFlowAnalysisWithQCumulants::BookAndNestListsForDifferentialFlow(), AliFlowAnalysisCRC::BookAndNestListsForDifferentialFlow(), AliAnalysisTaskMuonQA::BuildListOfTriggers(), AliAnaInsideClusterInvariantMass::CheckLocalMaximaMCOrigin(), CheckOCDBFile(), ClassImp(), CreateChain(), AliForwardFlowTaskQC::VertexBin::CumulantsTerminate(), AliForwardUtil::RingHistos::DefineOutputList(), DrawEventSelection(), DrawOutputCentrality(), DrawOutputPID(), DrawOutputTrack(), DrawProjections(), dNdetaDrawer::FetchOne(), AliAnalysisTaskEmcalTriggerPatchClusterMatch::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchJetMatch::FillHistograms(), AliAnalysisVertexingHF::FillListOfCuts(), AliForwardMultiplicityBase::Finalize(), AliAODRecoDecayHF::GetCuts(), GetDeltaScale(), AliFlowAnalysisWithMultiparticleCorrelations::GetHistogramWithWeights(), AliForwardUtil::RingHistos::GetOutputList(), AvailableSoftware::GetPackage(), AliAnaWeights::GetPythiaInfoFromFile(), LoadAlirootOnProof(), AliForwardMultiplicityBase::MakeRingdNdeta(), AliAnalysisTaskJetMatching::Notify(), PlotEfficiency(), GridRailway::PostSetup(), AliAnalysisHelperJetTasks::PrintDirectorySize(), ProcessHEPData(), AliAnalysisTaskEMCALTimeCalib::ProduceCalibConsts(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::PythiaInfoFromFile(), AliAnalysisTaskCounter::PythiaInfoFromFile(), AliAnalysisHelperJetTasks::PythiaInfoFromFile(), HighPtTracks::AliHighPtReconstructionEfficiency::PythiaInfoFromFile(), AliAnalysisTaskEmcalLight::PythiaInfoFromFile(), AliAnalysisTaskEmcal::PythiaInfoFromFile(), QuickDraw(), AliAnalysisTaskFlowStrange::RebinDecayVn(), AliAnalysisTaskFlowStrangee::RebinDecayVn(), AliAnalysisTaskEmcalJetFlavourTagExample::Run(), AliAnalysisTaskEmcalJetTriggerMatcher::Run(), AliAnalysisTaskEmcalJetHadEPpid::Run(), AliJetEmbeddingFromAODTask::SetFileList(), AliFlowAnalysisWithLeeYangZeros::SetFirstRunList(), AliJetFlowTools::SetInputList(), AliFlowLYZEventPlane::SetSecondRunList(), AliFlowAnalysisWithLYZEventPlane::SetSecondRunList(), Unfolder::StackLegend(), AliBaseAODTask::Terminate(), AliBaseESDTask::Terminate(), TestEtaPhi(), AliAnalysisTaskCaloTrackCorrelation::UserCreateOutputObjects(), AliAnalysisTaskCaloTrackCorrelationM::UserCreateOutputObjects(), AliAnalysisTaskHJetDphi::UserExec(), and AliAnalysisTaskHJetDphi::UserNotify().