16 const std::string labelB =
"GhostBHadronsFinal";
17 const std::string labelC =
"GhostCHadronsFinal";
18 const std::string labelTau =
"GhostTausFinal";
20 std::vector<const IParticle*> ghostB;
21 if (
jet->getAssociatedObjects<
IParticle>(labelB, ghostB) && ghostB.size() > 0)
return 5;
22 std::vector<const IParticle*> ghostC;
23 if (
jet->getAssociatedObjects<
IParticle>(labelC, ghostC) && ghostC.size() > 0)
return 4;
24 std::vector<const IParticle*> ghostTau;
25 if (
jet->getAssociatedObjects<
IParticle>(labelTau, ghostTau) && ghostTau.size() > 0)
return 15;
32 const std::string labelB =
"GhostBHadronsInitial";
33 const std::string labelC =
"GhostCHadronsInitial";
34 const std::string labelTau =
"GhostTausFinal";
36 std::vector<const IParticle*> ghostB;
37 if (
jet->getAssociatedObjects<
IParticle>(labelB, ghostB) && ghostB.size() > 0)
return 5;
38 std::vector<const IParticle*> ghostC;
39 if (
jet->getAssociatedObjects<
IParticle>(labelC, ghostC) && ghostC.size() > 0)
return 4;
40 std::vector<const IParticle*> ghostTau;
41 if (
jet->getAssociatedObjects<
IParticle>(labelTau, ghostTau) && ghostTau.size() > 0)
return 15;
48 const std::string labelB =
"GhostBQuarksFinal";
49 const std::string labelC =
"GhostCQuarksFinal";
50 const std::string labelTau =
"GhostTausFinal";
52 std::vector<const IParticle*> ghostB;
53 if (
jet->getAssociatedObjects<
IParticle>(labelB, ghostB) && ghostB.size() > 0)
return 5;
54 std::vector<const IParticle*> ghostC;
55 if (
jet->getAssociatedObjects<
IParticle>(labelC, ghostC) && ghostC.size() > 0)
return 4;
56 std::vector<const IParticle*> ghostTau;
57 if (
jet->getAssociatedObjects<
IParticle>(labelTau, ghostTau) && ghostTau.size() > 0)
return 15;
67 jet->getAttribute(
"HadronConeExclTruthLabelID",
label);
77 jet->getAttribute(
"HadronConeExclExtendedTruthLabelID",
label);