@@ -103,7 +103,7 @@ struct PhotonHBT {
103103 Configurable<float > maxY{" maxY" , 0.8 , " maximum rapidity for reconstructed particles" };
104104 Configurable<bool > cfgDoMix{" cfgDoMix" , true , " flag for event mixing" };
105105 Configurable<int > ndepth{" ndepth" , 100 , " depth for event mixing" };
106- Configurable<uint64_t > ndiff_bc_mix{" ndiff_bc_mix" , 5 , " difference in global BC required in mixed events" };
106+ Configurable<uint64_t > ndiff_bc_mix{" ndiff_bc_mix" , 198 , " difference in global BC required in mixed events" };
107107 ConfigurableAxis ConfVtxBins{" ConfVtxBins" , {VARIABLE_WIDTH, -10 .0f , -8 .f , -6 .f , -4 .f , -2 .f , 0 .f , 2 .f , 4 .f , 6 .f , 8 .f , 10 .f }, " Mixing bins - z-vertex" };
108108 ConfigurableAxis ConfCentBins{" ConfCentBins" , {VARIABLE_WIDTH, 0 .0f , 5 .0f , 10 .0f , 20 .0f , 30 .0f , 40 .0f , 50 .0f , 60 .0f , 70 .0f , 80 .0f , 90 .0f , 100 .f , 999 .f }, " Mixing bins - centrality" };
109109 ConfigurableAxis ConfEPBins{" ConfEPBins" , {16 , -M_PI / 2 , +M_PI / 2 }, " Mixing bins - event plane angle" };
@@ -116,8 +116,8 @@ struct PhotonHBT {
116116
117117 ConfigurableAxis ConfQBins{" ConfQBins" , {60 , 0 , +0 .3f }, " q bins for output histograms" };
118118 ConfigurableAxis ConfKtBins{" ConfKtBins" , {VARIABLE_WIDTH, 0.0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2.0 }, " kT bins for output histograms" };
119- ConfigurableAxis ConfM1Bins{" ConfM1Bins" , {VARIABLE_WIDTH, 0.0 , 0.14 , 0.5 , 1.1 , 2.7 , 3.2 , 4.0 }, " m1 bins for output histograms" };
120- ConfigurableAxis ConfM2Bins{" ConfM2Bins" , {VARIABLE_WIDTH, 0.0 , 0.14 , 0.5 , 1.1 , 2.7 , 3.2 , 4.0 }, " m1 bins for output histograms" };
119+ ConfigurableAxis ConfM1Bins{" ConfM1Bins" , {VARIABLE_WIDTH, 0.0 , 0.14 , 0.5 , 1.1 , 2.0 , 2. 7 , 3.2 , 4.0 }, " m1 bins for output histograms" };
120+ ConfigurableAxis ConfM2Bins{" ConfM2Bins" , {VARIABLE_WIDTH, 0.0 , 0.14 , 0.5 , 1.1 , 2.0 , 2. 7 , 3.2 , 4.0 }, " m2 bins for output histograms" };
121121
122122 EMEventCut fEMEventCut ;
123123 struct : ConfigurableGroup {
@@ -151,7 +151,6 @@ struct PhotonHBT {
151151 Configurable<bool > cfg_require_v0_with_itstpc{" cfg_require_v0_with_itstpc" , false , " flag to select V0s with ITS-TPC matched tracks" };
152152 Configurable<bool > cfg_require_v0_with_itsonly{" cfg_require_v0_with_itsonly" , false , " flag to select V0s with ITSonly tracks" };
153153 Configurable<bool > cfg_require_v0_with_tpconly{" cfg_require_v0_with_tpconly" , false , " flag to select V0s with TPConly tracks" };
154- Configurable<bool > cfg_require_v0_on_wwire_ib{" cfg_require_v0_on_wwire_ib" , false , " flag to select V0s on W wires ITSib" };
155154 Configurable<float > cfg_min_pt_v0{" cfg_min_pt_v0" , 0.1 , " min pT for v0 photons at PV" };
156155 Configurable<float > cfg_max_eta_v0{" cfg_max_eta_v0" , 0.8 , " max eta for v0 photons at PV" };
157156 Configurable<float > cfg_min_v0radius{" cfg_min_v0radius" , 4.0 , " min v0 radius" };
@@ -165,6 +164,7 @@ struct PhotonHBT {
165164 Configurable<bool > cfg_reject_v0_on_itsib{" cfg_reject_v0_on_itsib" , true , " flag to reject V0s on ITSib" };
166165
167166 Configurable<bool > cfg_disable_itsonly_track{" cfg_disable_itsonly_track" , false , " flag to disable ITSonly tracks" };
167+ Configurable<bool > cfg_disable_tpconly_track{" cfg_disable_tpconly_track" , false , " flag to disable TPConly tracks" };
168168 Configurable<int > cfg_min_ncluster_tpc{" cfg_min_ncluster_tpc" , 10 , " min ncluster tpc" };
169169 Configurable<int > cfg_min_ncrossedrows{" cfg_min_ncrossedrows" , 40 , " min ncrossed rows" };
170170 Configurable<float > cfg_max_frac_shared_clusters_tpc{" cfg_max_frac_shared_clusters_tpc" , 999 .f , " max fraction of shared clusters in TPC" };
@@ -403,7 +403,7 @@ struct PhotonHBT {
403403 if (d_bz_input > -990 ) {
404404 d_bz = d_bz_input;
405405 o2::parameters::GRPMagField grpmag;
406- if (fabs (d_bz) > 1e-5 ) {
406+ if (std:: fabs (d_bz) > 1e-5 ) {
407407 grpmag.setL3Current (30000 .f / (d_bz / 5 .0f ));
408408 }
409409 mRunNumber = collision.runNumber ();
@@ -522,8 +522,6 @@ struct PhotonHBT {
522522 fV0PhotonCut .RejectITSib (pcmcuts.cfg_reject_v0_on_itsib );
523523
524524 // for track
525- fV0PhotonCut .SetTrackPtRange (pcmcuts.cfg_min_pt_v0 * 0.5 , 1e+10f );
526- fV0PhotonCut .SetTrackEtaRange (-pcmcuts.cfg_max_eta_v0 , +pcmcuts.cfg_max_eta_v0 );
527525 fV0PhotonCut .SetMinNClustersTPC (pcmcuts.cfg_min_ncluster_tpc );
528526 fV0PhotonCut .SetMinNCrossedRowsTPC (pcmcuts.cfg_min_ncrossedrows );
529527 fV0PhotonCut .SetMinNCrossedRowsOverFindableClustersTPC (0.8 );
@@ -532,32 +530,13 @@ struct PhotonHBT {
532530 fV0PhotonCut .SetTPCNsigmaElRange (pcmcuts.cfg_min_TPCNsigmaEl , pcmcuts.cfg_max_TPCNsigmaEl );
533531 fV0PhotonCut .SetChi2PerClusterITS (-1e+10 , pcmcuts.cfg_max_chi2its );
534532 fV0PhotonCut .SetDisableITSonly (pcmcuts.cfg_disable_itsonly_track );
535-
536- if (pcmcuts.cfg_reject_v0_on_itsib ) {
537- fV0PhotonCut .SetNClustersITS (2 , 4 );
538- } else {
539- fV0PhotonCut .SetNClustersITS (0 , 7 );
540- }
533+ fV0PhotonCut .SetDisableTPConly (pcmcuts.cfg_disable_tpconly_track );
534+ fV0PhotonCut .SetNClustersITS (0 , 7 );
541535 fV0PhotonCut .SetMeanClusterSizeITSob (0.0 , 16.0 );
542536 fV0PhotonCut .SetIsWithinBeamPipe (pcmcuts.cfg_require_v0_with_correct_xz );
543-
544- if (pcmcuts.cfg_require_v0_with_itstpc ) {
545- fV0PhotonCut .SetRequireITSTPC (true );
546- fV0PhotonCut .SetRxyRange (4 , 40 );
547- }
548- if (pcmcuts.cfg_require_v0_with_itsonly ) {
549- fV0PhotonCut .SetRequireITSonly (true );
550- fV0PhotonCut .SetRxyRange (4 , 24 );
551- }
552- if (pcmcuts.cfg_require_v0_with_tpconly ) {
553- fV0PhotonCut .SetRequireTPConly (true );
554- fV0PhotonCut .SetRxyRange (32 , 90 );
555- }
556- if (pcmcuts.cfg_require_v0_on_wwire_ib ) {
557- fV0PhotonCut .SetOnWwireIB (true );
558- fV0PhotonCut .SetOnWwireOB (false );
559- fV0PhotonCut .SetRxyRange (7 , 14 );
560- }
537+ fV0PhotonCut .SetRequireITSTPC (pcmcuts.cfg_require_v0_with_itstpc );
538+ fV0PhotonCut .SetRequireITSonly (pcmcuts.cfg_require_v0_with_itsonly );
539+ fV0PhotonCut .SetRequireTPConly (pcmcuts.cfg_require_v0_with_tpconly );
561540 }
562541
563542 o2::analysis::MlResponseDielectronSingleTrack<float > mlResponseSingleTrack;
@@ -692,7 +671,7 @@ struct PhotonHBT {
692671 // LOGF(info, "qabs_lcms = %f, qabs_lcms_tmp = %f", qabs_lcms, qabs_lcms_tmp);
693672
694673 if (cfgDo3D) {
695- fRegistry .fill (HIST (" Pair/" ) + HIST (event_pair_types[ev_id]) + HIST (" hs_3d" ), fabs (qout_lcms), fabs (qside_lcms), fabs (qlong_lcms), kt, v1.M (), v2.M (), weight); // qosl can be [-inf, +inf] and CF is symmetric for pos and neg qosl. To reduce stat. unc. absolute value is taken here.
674+ fRegistry .fill (HIST (" Pair/" ) + HIST (event_pair_types[ev_id]) + HIST (" hs_3d" ), std:: fabs (qout_lcms), std:: fabs (qside_lcms), std:: fabs (qlong_lcms), kt, v1.M (), v2.M (), weight); // qosl can be [-inf, +inf] and CF is symmetric for pos and neg qosl. To reduce stat. unc. absolute value is taken here.
696675 } else {
697676 if (cfgUseLCMS) {
698677 fRegistry .fill (HIST (" Pair/" ) + HIST (event_pair_types[ev_id]) + HIST (" hs_1d" ), qabs_lcms, kt, v1.M (), v2.M (), weight);
0 commit comments