cout<<"# read an event with "<<hard_event.size()<<" signal particles and "<<full_event.size()-hard_event.size()<<" background particles with rapidity |y|<4"<<endl;
doubleghost_area=0.01;// the density of ghosts can be changed through this variable
AreaDefinitionarea_def(active_area_explicit_ghosts,GhostedAreaSpec(4.0,1,ghost_area));// in this step, the ghosts are added among the constituents of the jets
bge_rho.set_jet_density_class(scalarPtDensity);// this changes the computation of pt of patches from vector sum to scalar sum. The scalar sum seems more reasonable.