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
{{ message }}
Repository navigation
Commit 2c6951d
Browse filesBrowse the repository at this point in the historyBrowse files
o2::framework::Configurable<bool> passThrough{"passThrough", false, "If true, all photons are passed through. Bits for all selections are stored."}; \
67
-
o2::framework::Configurable<std::vector<float>> cosPaMin{"cosPaMin", {-1.f}, "Minimum cosine of pointing angle (not used by EMPhotonFilter, default is permissive)"}; \
68
-
o2::framework::Configurable<std::vector<float>> dcaToPvXYAbsMax{"dcaToPvXYAbsMax", {1e10f}, "Maximum |DCAxy| of the photon (V0) to the PV (cm)"}; \
69
-
o2::framework::Configurable<std::vector<float>> dcaToPvZAbsMax{"dcaToPvZAbsMax", {1e10f}, "Maximum |DCAz| of the photon (V0) to the PV (cm)"}; \
70
-
o2::framework::Configurable<std::vector<float>> chi2NdfMax{"chi2NdfMax", {1e10f}, "Maximum chi2/NDF of the KF conversion vertex"}; \
71
-
o2::framework::Configurable<std::vector<float>> v0RadiusMin{"v0RadiusMin", {0.f}, "Minimum transverse radius of the conversion point (cm)"}; \
72
-
o2::framework::Configurable<std::vector<float>> v0RadiusMax{"v0RadiusMax", {1e10f}, "Maximum transverse radius of the conversion point (cm)"}; \
73
-
o2::framework::Configurable<std::vector<float>> dauAbsEtaMax{"dauAbsEtaMax", {0.9f}, "Maximum |eta| for daughter tracks (matches EMPhotonFilter maxeta_v0, though unused there)"}; \
65
+
#definePHOTON_DEFAULT_BITS\
66
+
o2::framework::Configurable<bool> passThrough{"passThrough", false, "If true, all photons are passed through. Bits for all selections are stored."}; \
67
+
o2::framework::Configurable<std::vector<float>> cosPaMin{"cosPaMin", {-1.f}, "Minimum cosine of pointing angle (not used by EMPhotonFilter, default is permissive)"}; \
68
+
o2::framework::Configurable<std::vector<float>> dcaToPvXYAbsMax{"dcaToPvXYAbsMax", {1e10f}, "Maximum |DCAxy| of the photon (V0) to the PV (cm)"}; \
69
+
o2::framework::Configurable<std::vector<float>> dcaToPvZAbsMax{"dcaToPvZAbsMax", {1e10f}, "Maximum |DCAz| of the photon (V0) to the PV (cm)"}; \
70
+
o2::framework::Configurable<std::vector<float>> chi2NdfMax{"chi2NdfMax", {1e10f}, "Maximum chi2/NDF of the KF conversion vertex"}; \
71
+
o2::framework::Configurable<std::vector<float>> v0RadiusMin{"v0RadiusMin", {0.f}, "Minimum transverse radius of the conversion point (cm)"}; \
72
+
o2::framework::Configurable<std::vector<float>> v0RadiusMax{"v0RadiusMax", {1e10f}, "Maximum transverse radius of the conversion point (cm)"}; \
73
+
o2::framework::Configurable<std::vector<float>> dauAbsEtaMax{"dauAbsEtaMax", {0.9f}, "Maximum |eta| for daughter tracks (matches EMPhotonFilter maxeta_v0, though unused there)"}; \
o2::framework::Configurable<bool> keepDaughtersWithoutTpc{"keepDaughtersWithoutTpc", true, "If true, a daughter without a TPC signal is not rejected by the TPC electron PID cut (matches EMPhotonFilter behaviour)"};
76
76
@@ -101,13 +101,13 @@ using ConfPhotonSelection1 = ConfPhotonSelection<PrefixPhotonSelection1>;
101
101
102
102
/// The different selections for photons (PCM)
103
103
enum PhotonSels {
104
-
kCosPaMin, ///< Min. CPA (cosine pointing angle) of the conversion to the PV
105
-
kDcaToPvXYAbsMax, ///< Max. |DCAxy| of the photon to the PV
106
-
kDcaToPvZAbsMax, ///< Max. |DCAz| of the photon to the PV
107
-
kChi2NdfMax, ///< Max. chi2/NDF of the KF conversion vertex
108
-
kV0RadiusMin, ///< Min. transverse radius of the conversion point
109
-
kV0RadiusMax, ///< Max. transverse radius of the conversion point
110
-
kDauAbsEtaMax, ///< Max. absolute pseudorapidity of the daughters
104
+
kCosPaMin, ///< Min. CPA (cosine pointing angle) of the conversion to the PV
105
+
kDcaToPvXYAbsMax, ///< Max. |DCAxy| of the photon to the PV
106
+
kDcaToPvZAbsMax, ///< Max. |DCAz| of the photon to the PV
107
+
kChi2NdfMax, ///< Max. chi2/NDF of the KF conversion vertex
108
+
kV0RadiusMin, ///< Min. transverse radius of the conversion point
109
+
kV0RadiusMax, ///< Max. transverse radius of the conversion point
110
+
kDauAbsEtaMax, ///< Max. absolute pseudorapidity of the daughters
111
111
kPosDauTpcNSigmaEl, ///< TPC electron PID for positive daughter
112
112
kNegDauTpcNSigmaEl, ///< TPC electron PID for negative daughter
0 commit comments