|
14 | 14 | /// \since Feb/5/2025 |
15 | 15 | /// \brief QC of synthetic flow exercise |
16 | 16 |
|
17 | | -#include "PWGCF/GenericFramework/Core/FlowContainer.h" |
18 | | -#include "PWGCF/GenericFramework/Core/GFW.h" |
19 | | -#include "PWGCF/GenericFramework/Core/GFWWeights.h" |
20 | | -#include "PWGMM/Mult/DataModel/Index.h" // for Particles2Tracks table |
21 | | - |
22 | | -#include "Common/CCDB/EventSelectionParams.h" |
| 17 | +#include <CCDB/BasicCCDBManager.h> |
| 18 | +#include <vector> |
| 19 | +#include <string> |
| 20 | +#include "Framework/AnalysisDataModel.h" |
| 21 | +#include "Framework/AnalysisTask.h" |
| 22 | +#include "Framework/HistogramRegistry.h" |
| 23 | +#include "Framework/runDataProcessing.h" |
| 24 | +#include "Framework/ASoAHelpers.h" |
| 25 | +#include "Framework/RunningWorkflowInfo.h" |
| 26 | +#include "Common/DataModel/TrackSelectionTables.h" |
23 | 27 | #include "Common/Core/RecoDecay.h" |
24 | 28 | #include "Common/Core/TrackSelection.h" |
25 | 29 | #include "Common/Core/TrackSelectionDefaults.h" |
26 | | -#include "Common/DataModel/EventSelection.h" |
27 | | -#include "Common/DataModel/TrackSelectionTables.h" |
28 | | - |
29 | | -#include <CCDB/BasicCCDBManager.h> |
30 | | -#include <CommonConstants/MathConstants.h> |
31 | | -#include <Framework/AnalysisDataModel.h> |
32 | | -#include <Framework/AnalysisHelpers.h> |
33 | | -#include <Framework/AnalysisTask.h> |
34 | | -#include <Framework/Configurable.h> |
35 | | -#include <Framework/HistogramRegistry.h> |
36 | | -#include <Framework/HistogramSpec.h> |
37 | | -#include <Framework/InitContext.h> |
38 | | -#include <Framework/OutputObjHeader.h> |
39 | | -#include <Framework/runDataProcessing.h> |
40 | | - |
41 | | -#include <TF1.h> |
42 | | -#include <TH1.h> |
43 | | -#include <TH2.h> |
44 | | -#include <TH3.h> |
45 | | -#include <TNamed.h> |
46 | | -#include <TObjArray.h> |
47 | | -#include <TPDGCode.h> |
| 30 | +#include "Common/Core/trackUtilities.h" |
| 31 | +#include "ReconstructionDataFormats/Track.h" |
| 32 | +#include "DataFormatsParameters/GRPObject.h" |
| 33 | +#include "DataFormatsParameters/GRPMagField.h" |
| 34 | +#include "PWGLF/DataModel/LFStrangenessTables.h" |
| 35 | +#include "PWGMM/Mult/DataModel/Index.h" // for Particles2Tracks table |
| 36 | +#include "GFWPowerArray.h" |
| 37 | +#include "GFW.h" |
| 38 | +#include "GFWCumulant.h" |
| 39 | +#include "GFWWeights.h" |
| 40 | +#include "FlowContainer.h" |
48 | 41 | #include <TProfile.h> |
49 | 42 | #include <TRandom3.h> |
50 | | -#include <TString.h> |
51 | | - |
52 | | -#include <sys/types.h> |
53 | | - |
54 | | -#include <RtypesCore.h> |
55 | | - |
56 | | -#include <chrono> |
57 | | -#include <cmath> |
58 | | -#include <cstdint> |
59 | | -#include <cstdlib> |
60 | | -#include <string> |
61 | | -#include <vector> |
| 43 | +#include <TPDGCode.h> |
| 44 | +#include <TF1.h> |
62 | 45 |
|
63 | 46 | using namespace o2; |
64 | 47 | using namespace o2::framework; |
@@ -103,6 +86,7 @@ struct FlowMc { |
103 | 86 | O2_DEFINE_CONFIGURABLE(cfgRecoEvRejectMC, bool, false, "reject both MC and Reco events when reco do not pass") |
104 | 87 | O2_DEFINE_CONFIGURABLE(cfgRecoEvSel8, bool, false, "require sel8 for reconstruction events") |
105 | 88 | O2_DEFINE_CONFIGURABLE(cfgRecoEvkIsGoodITSLayersAll, bool, false, "require kIsGoodITSLayersAll for reconstruction events") |
| 89 | + O2_DEFINE_CONFIGURABLE(cfgRecoEvkIsGoodITSLayer0123, bool, false, "require kIsGoodITSLayer0123 for reconstruction events") |
106 | 90 | O2_DEFINE_CONFIGURABLE(cfgRecoEvkNoSameBunchPileup, bool, false, "require kNoSameBunchPileup for reconstruction events") |
107 | 91 | O2_DEFINE_CONFIGURABLE(cfgRecoEvSelkIsGoodZvtxFT0vsPV, bool, false, "removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference, use this cut at low multiplicities with caution") |
108 | 92 | O2_DEFINE_CONFIGURABLE(cfgRecoEvSelkNoITSROFrameBorder, bool, false, "reject events at ITS ROF border") |
@@ -431,6 +415,10 @@ struct FlowMc { |
431 | 415 | // cut time intervals with dead ITS staves |
432 | 416 | return 0; |
433 | 417 | } |
| 418 | + if (cfgRecoEvkIsGoodITSLayer0123 && !collision.selection_bit(o2::aod::evsel::kIsGoodITSLayer0123)) { |
| 419 | + // cut time intervals with dead ITS staves |
| 420 | + return 0; |
| 421 | + } |
434 | 422 | if (cfgRecoEvSelkIsGoodZvtxFT0vsPV && !collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) { |
435 | 423 | // removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference |
436 | 424 | // use this cut at low multiplicities with caution |
|
0 commit comments