@@ -86,9 +86,15 @@ struct RhoEstimatorTask {
8686 Configurable<float > bkgjetR{" bkgjetR" , 0.2 , " jet resolution parameter for determining background density" };
8787 Configurable<float > bkgEtaMin{" bkgEtaMin" , -0.7 , " minimim pseudorapidity for determining background density" };
8888 Configurable<float > bkgEtaMax{" bkgEtaMax" , 0.7 , " maximum pseudorapidity for determining background density" };
89- Configurable<float > bkgPhiMin{" bkgPhiMin" , -99 . , " minimim phi for determining background density" };
90- Configurable<float > bkgPhiMax{" bkgPhiMax" , 99 . , " maximum phi for determining background density" };
89+ Configurable<float > bkgPhiMin{" bkgPhiMin" , -6.283 , " minimim phi for determining background density" };
90+ Configurable<float > bkgPhiMax{" bkgPhiMax" , 6.283 , " maximum phi for determining background density" };
9191 Configurable<bool > doSparse{" doSparse" , false , " perfom sparse estimation" };
92+ Configurable<double > ghostRapMax{" ghostRapMax" , 0.9 , " Ghost rapidity max" };
93+ Configurable<int > ghostRepeat{" ghostRepeat" , 1 , " Ghost tiling repeats" };
94+ Configurable<double > ghostArea{" ghostArea" , 0.005 , " Area per ghost" };
95+ Configurable<double > ghostGridScatter{" ghostGridScatter" , 1.0 , " Grid scatter" };
96+ Configurable<double > ghostKtScatter{" ghostKtScatter" , 0.1 , " kT scatter" };
97+ Configurable<double > ghostMeanPt{" ghostMeanPt" , 1e-100 , " Mean ghost pT" };
9298
9399 Configurable<float > thresholdTriggerTrackPtMin{" thresholdTriggerTrackPtMin" , 0.0 , " Minimum trigger track pt to accept event" };
94100 Configurable<float > thresholdClusterEnergyMin{" thresholdClusterEnergyMin" , 0.0 , " Minimum cluster energy to accept event" };
@@ -134,6 +140,11 @@ struct RhoEstimatorTask {
134140 bkgPhiMin_ = -2.0 * M_PI;
135141 }
136142 bkgSub.setPhiMinMax (bkgPhiMin_, bkgPhiMax_);
143+
144+ fastjet::GhostedAreaSpec ghostAreaSpec (config.ghostRapMax , config.ghostRepeat , config.ghostArea ,
145+ config.ghostGridScatter , config.ghostKtScatter , config.ghostMeanPt );
146+ bkgSub.setGhostAreaSpec (ghostAreaSpec);
147+
137148 eventSelectionBits = jetderiveddatautilities::initialiseEventSelectionBits (static_cast <std::string>(config.eventSelections ));
138149 triggerMaskBits = jetderiveddatautilities::initialiseTriggerMaskBits (config.triggerMasks );
139150
0 commit comments