You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DPG/Tasks/TPC/tpcSkimsTableCreator.cxx
+71-7Lines changed: 71 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@
42
42
#include<Framework/AnalysisHelpers.h>
43
43
#include<Framework/AnalysisTask.h>
44
44
#include<Framework/Configurable.h>
45
+
#include<Framework/HistogramRegistry.h>
46
+
#include<Framework/HistogramSpec.h>
45
47
#include<Framework/InitContext.h>
46
48
#include<Framework/runDataProcessing.h>
47
49
#include<ReconstructionDataFormats/PID.h>
@@ -101,6 +103,10 @@ struct TreeWriterTpcV0 {
101
103
Configurable<float> maxPt4dwnsmplTsalisProtons{"maxPt4dwnsmplTsalisProtons", 100., "Maximum Pt for applying downsampling factor of protons"};
102
104
Configurable<float> maxPt4dwnsmplTsalisElectrons{"maxPt4dwnsmplTsalisElectrons", 100., "Maximum Pt for applying downsampling factor of electrons"};
103
105
Configurable<float> maxPt4dwnsmplTsalisKaons{"maxPt4dwnsmplTsalisKaons", 100., "Maximum Pt for applying downsampling factor of kaons"};
106
+
// Configurables for output tables reservation size
107
+
Configurable<float> reserveV0Ratio{"reserveV0Ratio", 0.05, "Ratio of how many tracks from V0s are expected in the output table to the input V0 table size"};
108
+
Configurable<float> reserveCascRatio{"reserveCascRatio", 0.0025, "Ratio of how many tracks from cascades are expected in the output table to the input Cascade table size"};
109
+
Configurable<bool> saveReserveQaHisto{"saveReserveQaHisto", true, "Flag to save the DF-wise ratio of output table size to that of input table"};
104
110
// Configurables for run condtion table
105
111
Configurable<std::string> rctLabel{"rctLabel", "CBT_hadronPID", "select 1 [CBT, CBT_hadronPID, CBT_muon_glo] see O2Physics/Common/CCDB/RCTSelectionFlags.h"};
106
112
Configurable<bool> checkZdc{"checkZdc", false, "set ZDC flag for PbPb"};
@@ -109,6 +115,8 @@ struct TreeWriterTpcV0 {
109
115
// Configurable for the path of CCDB General Run Parameters LHC Interface information
110
116
Configurable<std::string> ccdbPathGrpLhcIf{"ccdbPathGrpLhcIf", "GLO/Config/GRPLHCIF", "Path on the CCDB for the GRPLHCIF object"};
111
117
118
+
HistogramRegistry registry{"registry", {}};
119
+
112
120
// an arbitrary value of N sigma TOF assigned by TOF task to tracks which are not matched to TOF hits
Configurable<float> downsamplingTsalisProtons{"downsamplingTsalisProtons", -1., "Downsampling factor to reduce the number of protons"};
638
679
Configurable<float> downsamplingTsalisKaons{"downsamplingTsalisKaons", -1., "Downsampling factor to reduce the number of kaons"};
639
680
Configurable<float> downsamplingTsalisPions{"downsamplingTsalisPions", -1., "Downsampling factor to reduce the number of pions"};
681
+
// Configurable for output table reservation size
682
+
Configurable<float> reserveTrackRatio{"reserveTrackRatio", 0.003, "Ratio of how many tracks are expected in the output table to the input Tracks table size"};
683
+
Configurable<bool> saveReserveQaHisto{"saveReserveQaHisto", true, "Flag to save the DF-wise ratio of output table size to that of input table"};
640
684
// Configurables for run condtion table
641
685
Configurable<std::string> rctLabel{"rctLabel", "CBT_hadronPID", "select 1 [CBT, CBT_hadronPID, CBT_muon_glo] see O2Physics/Common/CCDB/RCTSelectionFlags.h"};
642
686
Configurable<bool> checkZdc{"checkZdc", false, "set ZDC flag for PbPb"};
@@ -645,6 +689,8 @@ struct TreeWriterTpcTof {
645
689
// Configurable for the path of CCDB General Run Parameters LHC Interface information
646
690
Configurable<std::string> ccdbPathGrpLhcIf{"ccdbPathGrpLhcIf", "GLO/Config/GRPLHCIF", "Path on the CCDB for the GRPLHCIF object"};
0 commit comments