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
staticconstexprfloatmPion = 0.139; // TDatabasePDG::Instance()->GetParticle(211)->Mass(); //can be removed when pion mass becomes default for unidentified tracks
/// Sets the background subtraction estimater pointer
151
+
voidsetBkgE();
152
+
153
+
/// Sets the background subtraction pointer
154
+
voidsetSub();
155
+
156
+
/// Performs jet finding
157
+
/// \note the input particle and jet lists are passed by reference
158
+
/// \param inputParticles vector of input particles/tracks
159
+
/// \param jets veector of jets to be filled
160
+
/// \return ClusterSequenceArea object needed to access constituents
161
+
fastjet::ClusterSequenceArea findJets(std::vector<fastjet::PseudoJet>& inputParticles, std::vector<fastjet::PseudoJet>& jets); //ideally find a way of passing the cluster sequence as a reeference
ghostAreaSpec = fastjet::GhostedAreaSpec(ghostEtaMax, ghostRepeatN, ghostArea, gridScatter, ktScatter, ghostktMean); //the first argument is rapidity not pseudorapidity, to be checked
selRho = fastjet::SelectorRapRange(bkgEtaMin, bkgEtaMax) && fastjet::SelectorPhiRange(bkgPhiMin, bkgPhiMax); //&& !fastjet::SelectorNHardest(2) //here we have to put rap range, to be checked!
35
+
}
36
+
37
+
/// Sets the background subtraction estimater pointer
38
+
voidJetFinder::setBkgE()
39
+
{
40
+
if (bkgSubMode == BkgSubMode::rhoAreaSub || bkgSubMode == BkgSubMode::constSub) {
constituentSub->set_background_estimator(bkgE.get()); //what about rho_m
62
+
} else {
63
+
if (bkgSubMode != BkgSubMode::none)
64
+
LOGF(ERROR, "requested subtraction mode not implemented!");
65
+
}
66
+
}
67
+
68
+
/// Performs jet finding
69
+
/// \note the input particle and jet lists are passed by reference
70
+
/// \param inputParticles vector of input particles/tracks
71
+
/// \param jets veector of jets to be filled
72
+
/// \return ClusterSequenceArea object needed to access constituents
73
+
fastjet::ClusterSequenceArea JetFinder::findJets(std::vector<fastjet::PseudoJet>& inputParticles, std::vector<fastjet::PseudoJet>& jets) //ideally find a way of passing the cluster sequence as a reeference
0 commit comments