PWGEM:LMee: added new cuts and histogram for opening angle#8146
Conversation
| float dca_t2_3d = dca3DinSigma(t2); | ||
| float dca_ee_3d = std::sqrt((dca_t1_3d * dca_t1_3d + dca_t2_3d * dca_t2_3d) / 2.); | ||
| float phiv = o2::aod::pwgem::dilepton::utils::pairutil::getPhivPair(t1.px(), t1.py(), t1.pz(), t2.px(), t2.py(), t2.pz(), t1.sign(), t2.sign(), bz); | ||
| float opAng = 0; |
There was a problem hiding this comment.
can you use pairutil::getOpeningAngle? This is in PairUtilities.h.
There was a problem hiding this comment.
Thank you very much for pointing this out. I am sorry that I overlooked this.
| float deta = v1.Eta() - v2.Eta(); | ||
| float dphi = v1.Phi() - v2.Phi(); | ||
| o2::math_utils::bringToPMPi(dphi); | ||
| float opAng = 0; |
There was a problem hiding this comment.
can you use pairutil::getOpeningAngle? This is in PairUtilities.h.
There was a problem hiding this comment.
Thank you very much for pointing this out. I am sorry that I overlooked this.
| bool mApplydEtadPhi{false}; // flag to apply deta, dphi cut between 2 tracks | ||
| float mMinDeltaEta{0.f}; | ||
| float mMinDeltaPhi{0.f}; | ||
| float mMinDeltaEta{0.f}, mMaxDeltaEta{1e10f}; |
There was a problem hiding this comment.
default value of mMinDeltaEta should be -1e+10f now.
| float mMinDeltaEta{0.f}; | ||
| float mMinDeltaPhi{0.f}; | ||
| float mMinDeltaEta{0.f}, mMaxDeltaEta{1e10f}; | ||
| float mMinDeltaPhi{0.f}, mMaxDeltaPhi{1e10f}; |
There was a problem hiding this comment.
default value of mMinDeltaPhi should be -1e+10f now.
| Configurable<bool> cfg_apply_detadphi{"cfg_apply_detadphi", false, "flag to apply deta-dphi elliptic cut"}; | ||
| Configurable<float> cfg_min_deta{"cfg_min_deta", 0.02, "min deta between 2 electrons (elliptic cut)"}; | ||
| Configurable<float> cfg_min_dphi{"cfg_min_dphi", 0.02, "min dphi between 2 electrons (elliptic cut)"}; | ||
| Configurable<float> cfg_min_deta{"cfg_min_deta", 0.02, "min deta between 2 electrons (also for elliptic cut)"}; |
There was a problem hiding this comment.
keep in mind that there is a boolean value "cfg_apply_detadphi" to enable deta-dphi cut.
There was a problem hiding this comment.
What do you mean by this? What should I do to account for this?
I thought I accounted for this by the if-else structure in DielectronCuts.h line 145.
There was a problem hiding this comment.
I am sorry. I overlooked if-else.
|
Opening angle is included in elliptic deta-dphi cut, isn't it? |
|
I agree that opening angle should be somewhat included in the deta-dphi cut. But to be honest, I am missing the experience or imagination to know how exactly in translates exactly. So I would like to compare both cuts. In principle you are right and the deta-dphi should be superior as it provides more control. |
No description provided.