|
O2-DQ User Interface 1.0.0
|
Firstly, clone repository in your workspace
git clone https://github.com/ctolon/PythonInterfaceOOP.git
Before you start, you need to do the installations in the readme file
P.S. Don't forget to install the O2 enviroment before running the scripts
Ex. alienv enter O2Physics/latest,QualityControl/latest
Assuming you have installed the argcomplete package, don't forget to source the bash script again in your O2 enviroment.
source argcomplete.sh
If you don't have time to read the documentation follow these steps:
For Linux Based System:
alienv enter O2Physics/latest,QualityControl/latest (Load Your alienv, if you want you can install lxplus version without using QC)pip install argcomplete and pip3 install argcompletesource argcomplete.shFor MacOS Based System:
brew install bashalienv enter O2Physics/latest,QualityControl/latest (Load Your alienv, if you want you can install lxplus version without using QC)pip install argcomplete and pip3 install argcompleteexec bash (temporary bash shell)source argcomplete.shif not works:
sudo chsh -s /bin/bash <username>source argcomplete.shif you used the command sudo chsh -s /bin/bash <username> after you are done with the scripts (It converts your system shell zsh to bash):
sudo chsh -s /bin/zsh <username> (It converts your system shell bash to zsh)if you used the command exec bash you don't need to do anything.
You can Found MC Datas, pre-made JSON config files and DQ Skimmed datas for tutorial at: Click Here password: DQ
Create a new folder in pythonInterfaceOOP directory with mkdir Datas and move the downloaded datas here.
You can found Real Data for pp at : Click Here
You can found Real Data for PbPb at : Click Here
or Click Here
P.S: Dont forget the change name of AO2D.root files for interface and Move this datas to you previously create Datas Folder.
For PbPb Data : AO2D.root to AO2D_PbPbDataRun2_LHC15o.root
For pp Data : AO2D.root to AO2D_ppDataRun3_LHC22c.root
If you downloaded these datasets, you can start.
| Workflow | Dataset | Skimmed | Process | Type | Col Syst |
|---|---|---|---|---|---|
tableMakerMC | LHC21i3d2 | No | MuonOnlyWithCovOnlyBCs | J/ψ → μ+ μ− | pp |
dqEfficiency | LHC21i3d2 | Yes | JpsiToMuMu | J/ψ → μ+ μ− | pp |
tableMakerMC | LHC21i3b | No | BarrelOnlyOnlyBCs | J/ψ → e+ e− | pp |
dqEfficiency | LHC21i3b | Yes | JpsiToEE | J/ψ → e+ e− | pp |
tableMakerMC | LHC21i3f2 | No | BarrelOnlyOnlyBCs | hB → J/ψ + X, J/ψ → e+ e− | pp |
dqEfficiency | LHC21i3f2 | Yes | JpsiToEE | hB → J/ψ + X, J/ψ → e+ e− | pp |
| Workflow | Dataset | Skimmed | Process | Selection | Col Syst |
|---|---|---|---|---|---|
tableMaker | LHC15o | No | BarrelOnlyWithCentOnlyBCs | J/ψ → e+ e− | PbPb |
tableReader | LHC15o | Yes | JpsiToEE | J/ψ → e+ e− | PbPb |
tableMaker | LHC15o | No | FullWithCentBarrelOnlyWithQvectorOnlyBCs | J/ψ → e+ e− | PbPb |
tableReader | LHC15o | Yes | VnJpsiToEE | J/ψ → e+ e− | PbPb |
dqFlow | LHC15o | No | - | - | PbPb |
v0Selector | LHC15o | No | - | - | PbPb |
tableMaker | LHC22c | No | MuonOnlyWithCovOnlyBCs | J/ψ → μ+ μ− | pp |
tableReader | LHC22c | Yes | JpsiToMuMuVertexing | J/ψ → μ+ μ− | pp |
filterPP | fwdprompt | No | eventSelection barrelTrackSelection muonSelection | All Events | pp |
| Workflow | Dataset | Process | Type | Col Syst |
|---|---|---|---|---|
dqEfficiency | AO2D_Bc100 | JpsiToMuMuVertexingdileptonTrackDimuonMuonSelection | Bc → J/ψ → (μ+ μ−) + μ | pp |
tableReader | LHC15o | JpsiToEEdileptonHadron | dileptonhadron | PbPb |
TO BE ADDED IN TUTORIALS (Not Prepared Yet):
| Workflow | Dataset | Process | Type | Col Syst |
|---|---|---|---|---|
dqEfficiency | AO2D_Bplus | JpsiToMuMuVertexingdileptonTrackDimuonMuonSelection | B+ → J/ψ + K, → J/ψ → e+ e− | pp |
Reduced DQ skimmed data list created with tableMaker/tableMakerMC:
| Data | Dataset | Used Workflow | Selected Processes (from tableMaker) |
|---|---|---|---|
reducedAod_ppMC_LHC21i3d2.root | LHC21i3d2 | tableMakerMC | MuonOnlyWithCovOnlyBCs |
reducedAod_ppMC_LHC21i3b.root | LHC21i3b | tableMakerMC | BarrelOnlyOnlyBCs |
reducedAod_ppMC_LHC21i3f2.root | LHC21i3f2 | tableMakerMC | BarrelOnlyOnlyBCs |
reducedAod_ppMC_Bc100.root | Bc100 | tableMakerMC | MuonOnlyWithCovOnlyBCs |
reducedAod_PbPbData_LHC15o.root | LHC15o | tableMaker | BarrelOnlyWithCentOnlyBCs |
reducedAod_PbPbData_LHC15o_Flow.root | LHC15o | tableMaker | FullWithCentBarrelOnlyWithQvectorOnlyBCs |
reducedAod_PbPbData_LHC15o_dileptonHadron.root | LHC15o | tableMaker | BarrelOnlyOnlyBCs |
reducedAod_ppData_LHC22c.root | LHC22c | tableMaker | MuonOnlyWithCovOnlyBCs |
Reduced DQ Dileptons skimmed data list For Dilepton Analysis (dilepton-track and dilepton-hadron) created with tableReader/dqEfficiency:
| Data | Dataset | Used Workflow | Selected Processes (from tableMaker) |
|---|---|---|---|
dileptonAOD_ppMC_BC100.root | Bc100 | dqEfficiency | MuonOnlyWithCovOnlyBCs |
dileptonAOD_PbPbData_LHC15o_dileptonHadron.root | LHC15o | tableReader | BarrelOnlyOnlyBCs |
Config JSON list created with Scripts.
Common JSON configs:
| Config | For | Description |
|---|---|---|
configAnalysis_LHC21i3b_MC.json | MCRun3 | Run dqEfficiency on LHC21i3b Simulation → reducedAod_ppMC_LHC21i3b.root |
configAnalysis_LHC21i3d2_MC.json | MCRun3 | Run dqEfficiency on LHC21i3d2 Simulation → reducedAod_ppMC_LHC21i3d2.root |
configAnalysis_LHC21i3f2_MC.json | MCRun3 | Run dqEfficiency on LHC21i3f2 Simulation → reducedAod_ppMC_LHC21i3f2.root |
ConfigAnalysis_LHC15o_Data.json | DataRun2 | Run tableReader on LHC15o Data without flow → reducedAod_PbPbData_LHC15o.root |
ConfigAnalysis_LHC15o_Flow_Data.json | DataRun2 | Run tableReader on LHC15o Data for Flow Analysis → reducedAod_PbPbData_LHC15o_Flow.root |
ConfigAnalysis_LHC22c_Data.json | DataRun3 | Run tableReader on LHC22c Data → reducedAod_PbPbData_LHC15o.root |
configTableMaker_LHC21i3b_MCRun3.json | MCRun3 | Run tableMakerMC on LHC21i3b Simulation → AO2D_ppMCRun3_LHC21i3b.root |
configTableMaker_LHC21i3d2_MCRun3.json | MCRun3 | Run tableMakerMC on LHC21i3d2 Simulation → AO2D_ppMCRun3_LHC21i3d2.root |
configTableMaker_LHC21i3f2_MCRun3.json | MCRun3 | Run tableMakerMC on LHC21i3f2 Simulation → AO2D_ppMCRun3_LHC21i3f2.root |
ConfigTableMaker_LHC15o_DataRun2.json | DataRun2 | Run tableMaker on LHC15o without Flow → AO2D_PbPbDataRun2_LHC15o.root |
ConfigTableMaker_LHC15o_Flow_DataRun2.json | DataRun2 | Run tableMaker on LHC15o For Flow Analysis → AO2D_PbPbDataRun2_LHC15o.root |
ConfigTableMaker_LHC22c_DataRun3.json | DataRun3 | Run tableMaker on LHC22c Data → AO2D_ppDataRun3_LHC22c.root |
configV0Selector_LHC15o_DataRun2.json | DataRun2 | Run v0Selector on LHC15o Data → AO2D_PbPbDataRun2_LHC15o.root |
JSON configs for Single Workflows:
| Config | For | Description |
|---|---|---|
configFilterPP_fwdprompt_Run3.json | MCRun3 | Run filterPP on fwdprompt → AO2D_fwdprompt.root |
configFlow_LHC15o_DataRun2.json | DataRun2 | Run dqFlow on LHC15o Data → AO2D_PbPbDataRun2_LHC15o.root |
configV0Selector_LHC15o_DataRun2.json | DataRun2 | Run v0Selector on LHC15o Data → AO2D_PbPbDataRun2_LHC15o.root |
JSON configs for dilepton-hadron and dilepton-track analysis:
| Config | For | Description |
|---|---|---|
configTableMaker_Bc100_MCRun3.json | MCRun3 | Run tableMakerMC on Bc100 Simulation for prepare dilepton-track analysis → AO2D_Bc100.root |
configAnalysis_Bc100_MC.json | MCRun3 | Run dqEfficiency on Bc100 Simulation for prepare skimmed dileptons output → reducedAod_ppMC_Bc100.root |
configAnalysisDilepton_Bc100_MC.json | MCRun3 | Run dqEfficiency on Bc100 Simulation for dilepton analysis → dileptonAOD_ppMC_BC100.root |
configTableMaker_LHC15o_DileptonHadron_DataRun2.json | DataRun2 | Run tableMaker on LHC15o Data for prepare dilepton-hadron analysis → AO2D_PbPbDataRun2_LHC15o.root |
configAnalysis_LHC15o_dileptonHadron_Data.json | DataRun2 | Run tableReader on LHC15o Data for prepare skimmed dileptons output → reducedAod_PbPbData_LHC15o_dileptonHadron.root |
configAnalysisDilepton_LHC15o_dileptonHadron_Data.json | DataRun2 | Run tableReader on LHC15o Data for dilepton analysis → reducedAod_PbPbData_LHC15o_dileptonHadron.root |
P.S. Root files are inputs for JSON configs
Command To Run:
You need to produce reducedAod.root file with tableMakerMC in previous step.
Command To Run:
Command To Run:
You need to produce reducedAod.root file with tableMakerMC in previous step.
Command To Run:
Command To Run:
You need to produce reducedAod.root file with tableMakerMC in previous step.
Command To Run:
Command To Run:
You need to produce reducedAod.root file with tableMaker in previous step.
Command To Run:
Command To Run:
You need to produce reducedAod.root file with tableMaker in previous step.
Command To Run:
Command To Run:
Command To Run:
Command To Run:
You need to produce reducedAod.root file with tableMaker in previous step.
Command To Run:
Command To Run:
P.S. Cuts Needs to optimized.
This section includes analysis with non-standard workflows in DQ workflows. These analyzes are carried out in 3 stages:
First Command To Run:
Second Command To Run:
Third Command To Run:
First Command To Run:
Second Command To Run:
Third Command To Run:
← Go back to Instructions For Python Scripts | ↑ Go to the Table of Content ↑ | Continue to Design Notes →