Skip to content

Commit a86792c

Browse files
committed
Event filter - formatting
1 parent 5c1d44a commit a86792c

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

PWGLF/Tasks/Strangeness/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@ o2physics_add_dpl_workflow(cascadeanalysislightions
174174
o2physics_add_dpl_workflow(strangecasctrack
175175
SOURCES strangecasctrack.cxx
176176
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::EventFilteringUtils
177-
COMPONENT_NAME myo2)
177+
COMPONENT_NAME Analysis)

PWGLF/Tasks/Strangeness/strangecasctrack.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ using DerMCRecTraCascDatas = soa::Join<aod::TraCascCores, aod::TraCascCollRefs,
5656
// tables for PID selection
5757
using DauTracks = soa::Join<aod::DauTrackExtras, aod::DauTrackTPCPIDs>;
5858

59-
struct StrangeCascTrack {
59+
struct strangecasctrack {
6060

6161
Service<o2::ccdb::BasicCCDBManager> ccdb;
6262
Service<o2::framework::O2DatabasePDG> pdgDB;
@@ -95,20 +95,20 @@ struct StrangeCascTrack {
9595
Configurable<double> cutV0CosPA{"cutV0CosPA", 0.97f, "max V0 cosPA"};
9696
Configurable<double> cutBachCosPA{"cutBachCosPA", 0.97f, "max Bachelor cosPA"};
9797
// TPC PID selection
98-
Configurable<float> nSigmaTPCPion{"NSigmaTPCPion", 4, "NSigmaTPCPion"};
99-
Configurable<float> nSigmaTPCKaon{"NSigmaTPCKaon", 4, "NSigmaTPCKaon"};
100-
Configurable<float> nSigmaTPCProton{"NSigmaTPCProton", 4, "NSigmaTPCProton"};
98+
Configurable<float> nSigmaTPCPion{"nSigmaTPCPion", 4, "NSigmaTPCPion"};
99+
Configurable<float> nSigmaTPCKaon{"nSigmaTPCKaon", 4, "NSigmaTPCKaon"};
100+
Configurable<float> nSigmaTPCProton{"nSigmaTPCProton", 4, "NSigmaTPCProton"};
101101
// TOF PID selection
102102
Configurable<float> nSigmaTOFXi{"nSigmaTOFXi", 3, "nSigmaTOFXi"};
103103
Configurable<float> nSigmaTOFOmega{"nSigmaTOFOmega", 3, "nSigmaTOFOmega"};
104104
} selCuts;
105105

106106
// axes
107107
struct : ConfigurableGroup {
108-
ConfigurableAxis axisPhi{"Phi", {72, 0, TwoPI}, "#phi"};
109-
ConfigurableAxis axisEta{"Eta", {102, -2.01, 2.01}, "#eta"};
110-
ConfigurableAxis axisDCAxy{"DCA to xy plane", {500, 0., 0.5}, "cm"};
111-
ConfigurableAxis axisDCAz{"DCA to z plane", {500, 0., 0.5}, "cm"};
108+
ConfigurableAxis axisPhi{"axisPhi", {72, 0, TwoPI}, "#phi"};
109+
ConfigurableAxis axisEta{"axisEta", {102, -2.01, 2.01}, "#eta"};
110+
ConfigurableAxis axisDCAxy{"axisDCAxy", {500, 0., 0.5}, "cm"};
111+
ConfigurableAxis axisDCAz{"axisDCAz", {500, 0., 0.5}, "cm"};
112112
ConfigurableAxis axisPt{"axisPt", {VARIABLE_WIDTH, 0.0, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 10.0}, "p_{T} (GeV/c)"};
113113
ConfigurableAxis axisMult{"axisMult", {VARIABLE_WIDTH, 0.0f, 5.0, 10.0f, 20.0f, 30.0f, 40.0f, 50.0f, 70.0f, 100.0f}, "FT0 mult %"};
114114
ConfigurableAxis axisOmegaMass{"axisOmegaMass", {2000, 1.6, 1.8}, "#Omega M_{inv} (GeV/c^{2})"};
@@ -629,14 +629,14 @@ struct StrangeCascTrack {
629629
analyseCascs(collision, traCascs); // process tracked cascades
630630
}
631631

632-
PROCESS_SWITCH(StrangeCascTrack, processDerivedData, "process derived data", true);
633-
PROCESS_SWITCH(StrangeCascTrack, processDerivedMCGen, "process derived generated mc data", false);
634-
PROCESS_SWITCH(StrangeCascTrack, processDerivedMCRec, "process derived reconstructed mc data", false); // mc and data are mutually exclusive!
632+
PROCESS_SWITCH(strangecasctrack, processDerivedData, "process derived data", true);
633+
PROCESS_SWITCH(strangecasctrack, processDerivedMCGen, "process derived generated mc data", false);
634+
PROCESS_SWITCH(strangecasctrack, processDerivedMCRec, "process derived reconstructed mc data", false); // mc and data are mutually exclusive!
635635
};
636636

637637
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
638638
{
639639
return WorkflowSpec{
640-
adaptAnalysisTask<StrangeCascTrack>(cfgc),
640+
adaptAnalysisTask<strangecasctrack>(cfgc),
641641
};
642642
}

0 commit comments

Comments
 (0)