![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <RCJet.h>
|
| RCJet (const std::string &name) |
|
| ~RCJet () |
|
| RCJet (const RCJet &rhs)=delete |
|
| RCJet (RCJet &&rhs)=delete |
|
RCJet & | operator= (const RCJet &rhs)=delete |
|
StatusCode | initialize () |
| Dummy implementation of the initialisation function. More...
|
|
StatusCode | execute (const top::Event &event) |
|
StatusCode | finalize () |
|
bool | isUniqueSyst (std::string syst_name) |
|
std::string | inputContainerName (std::size_t hash_value, bool isLooseEvent) |
|
std::string | rcjetContainerName (std::size_t hash_value, bool isLooseEvent) |
|
bool | passSelection (const xAOD::Jet &jet) const |
|
void | getEMTopoClusters (std::vector< fastjet::PseudoJet > &clusters, const xAOD::Jet *rcjet) |
|
void | getLCTopoClusters (std::vector< fastjet::PseudoJet > &clusters, const xAOD::Jet *rcjet) |
|
void | getPflowConstituent (std::vector< fastjet::PseudoJet > &clusters, const xAOD::Jet *rcjet, const top::Event &event) |
|
virtual void | print () const |
| Print the state of the tool. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Definition at line 55 of file RCJet.h.
◆ m_iterator
◆ m_tool_iterator
◆ StoreGateSvc_t
◆ RCJet() [1/3]
RCJet::RCJet |
( |
const std::string & |
name | ) |
|
|
explicit |
◆ ~RCJet()
◆ RCJet() [2/3]
◆ RCJet() [3/3]
RCJet::RCJet |
( |
RCJet && |
rhs | ) |
|
|
delete |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
Definition at line 267 of file RCJetMC.cxx.
284 auto rcJetInputs = std::make_unique< ConstDataVector< xAOD::JetContainer >>(
SG::VIEW_ELEMENTS);
287 rcJetInputs->push_back(
jet);
290 "Failed to put jets in TStore for re-clustering");
308 for (
auto rcjet : *myJets) {
309 rcjet->auxdecor<
bool>(
"PassedSelection") =
passSelection(*rcjet);
315 for (
auto rcjet : *myJets) {
316 if (!passedSelection(*rcjet))
continue;
320 std::vector<fastjet::PseudoJet>
clusters;
324 false).find(
"AntiKt4EMTopoJets") != std::string::npos) {
328 false).find(
"AntiKt4EMPFlowJets") != std::string::npos) {
334 false).find(
"AntiKt4EMPFlowJets") == std::string::npos) {
338 "RCJet::execute(const top::Event& event): Failed to get vector of clusters! Unable to calculate RC jets substructure variables!\n Aborting!");
344 std::vector<fastjet::PseudoJet> my_pjets = fastjet::sorted_by_pt(clust_seq_rebuild.inclusive_jets(0.0));
347 fastjet::PseudoJet correctedJet;
348 correctedJet = my_pjets[0];
350 if (my_pjets.size() > 1) correctedJet += my_pjets[1];
354 double tau32 = -1, tau21 = -1;
360 if (std::abs(tau1) > 1
e-8) tau21 = tau2 / tau1;
362 if (std::abs(tau2) > 1
e-8) tau32 = tau3 / tau2;
367 double split12 =
m_split12->result(correctedJet);
368 double split23 =
m_split23->result(correctedJet);
369 double qw =
m_qw->result(correctedJet);
373 double vECF1 =
m_ECF1->result(correctedJet);
374 double vECF2 =
m_ECF2->result(correctedJet);
375 double vECF3 =
m_ECF3->result(correctedJet);
376 if (std::abs(vECF2) > 1
e-8) D2 = vECF3 * vECF1* vECF1* vECF1 / (vECF2 * vECF2 * vECF2);
381 rcjet->auxdecor<
float>(
"Tau32_clstr") = tau32;
382 rcjet->auxdecor<
float>(
"Tau21_clstr") = tau21;
385 rcjet->auxdecor<
float>(
"Tau3_clstr") = tau3;
386 rcjet->auxdecor<
float>(
"Tau2_clstr") = tau2;
387 rcjet->auxdecor<
float>(
"Tau1_clstr") = tau1;
389 rcjet->auxdecor<
float>(
"d12_clstr") = split12;
390 rcjet->auxdecor<
float>(
"d23_clstr") = split23;
391 rcjet->auxdecor<
float>(
"Qw_clstr") =
qw;
393 rcjet->auxdecor<
float>(
"nconstituent_clstr") =
clusters.size();
395 rcjet->auxdecor<
float>(
"ECF1_clstr") = vECF1;
396 rcjet->auxdecor<
float>(
"ECF2_clstr") = vECF2;
397 rcjet->auxdecor<
float>(
"ECF3_clstr") = vECF3;
398 rcjet->auxdecor<
float>(
"D2_clstr") = D2;
407 double gECF332 =
m_gECF332->result(correctedJet);
408 double gECF461 =
m_gECF461->result(correctedJet);
409 double gECF322 =
m_gECF322->result(correctedJet);
410 double gECF331 =
m_gECF331->result(correctedJet);
411 double gECF422 =
m_gECF422->result(correctedJet);
412 double gECF441 =
m_gECF441->result(correctedJet);
413 double gECF212 =
m_gECF212->result(correctedJet);
414 double gECF321 =
m_gECF321->result(correctedJet);
415 double gECF311 =
m_gECF311->result(correctedJet);
417 double L1 = -999.0,
L2 = -999.0,
L3 = -999.0, L4 = -999.0, L5 = -999.0;
418 if (std::abs(gECF212) > 1
e-12) {
419 L1 = gECF321 / gECF212;
420 L2 = gECF331 / sqrt(gECF212*gECF212*gECF212);
422 if (std::abs(gECF331) > 1
e-12) {
423 L3 = gECF311 /
pow(gECF331,1./3.);
424 L4 = gECF322 /
pow(gECF331,4./3.);
426 if (std::abs(gECF441) > 1
e-12) {
427 L5 = gECF422/gECF441;
430 rcjet->auxdecor<
float>(
"gECF332_clstr") = gECF332;
431 rcjet->auxdecor<
float>(
"gECF461_clstr") = gECF461;
432 rcjet->auxdecor<
float>(
"gECF322_clstr") = gECF322;
433 rcjet->auxdecor<
float>(
"gECF331_clstr") = gECF331;
434 rcjet->auxdecor<
float>(
"gECF422_clstr") = gECF422;
435 rcjet->auxdecor<
float>(
"gECF441_clstr") = gECF441;
436 rcjet->auxdecor<
float>(
"gECF212_clstr") = gECF212;
437 rcjet->auxdecor<
float>(
"gECF321_clstr") = gECF321;
438 rcjet->auxdecor<
float>(
"gECF311_clstr") = gECF311;
439 rcjet->auxdecor<
float>(
"L1_clstr") =
L1;
440 rcjet->auxdecor<
float>(
"L2_clstr") =
L2;
441 rcjet->auxdecor<
float>(
"L3_clstr") =
L3;
442 rcjet->auxdecor<
float>(
"L4_clstr") = L4;
443 rcjet->auxdecor<
float>(
"L5_clstr") = L5;
445 rcjet->auxdecor<
float>(
"RRCJet_pt") = correctedJet.pt();
446 rcjet->auxdecor<
float>(
"RRCJet_eta") = correctedJet.eta();
447 rcjet->auxdecor<
float>(
"RRCJet_phi") = correctedJet.phi();
448 rcjet->auxdecor<
float>(
"RRCJet_e") = correctedJet.e();
463 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ finalize()
StatusCode RCJet::finalize |
( |
| ) |
|
Definition at line 466 of file RCJetMC.cxx.
469 return StatusCode::SUCCESS;
◆ getEMTopoClusters()
void RCJet::getEMTopoClusters |
( |
std::vector< fastjet::PseudoJet > & |
clusters, |
|
|
const xAOD::Jet * |
rcjet |
|
) |
| |
Definition at line 545 of file RCJetMC.cxx.
552 bool hasConstituents =
true;
554 for (
auto link :
links) {
555 if (!link.isValid()) {
557 "Some of the RC Jet Constituents have been thinned - will not be included in RCJet JSS calculation");
558 hasConstituents =
false;
562 if (!hasConstituents) {
567 if (clus_itr->e() > 0) {
568 TLorentzVector temp_p4;
571 temp_p4.SetPtEtaPhiM(clus_itr->pt() *
sf, clus_itr->eta(), clus_itr->phi(), clus_itr->m());
573 clusters.push_back(fastjet::PseudoJet(temp_p4.Px(), temp_p4.Py(), temp_p4.Pz(), temp_p4.E()));
◆ getKey()
Get the (hashed) key of an object that is in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
both provide ways for getting the SG::sgkey_t
key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getName
- Parameters
-
ptr | The bare pointer to the object that the event store should know about |
- Returns
- The hashed key of the object in the store. If not found, an invalid (zero) key.
Definition at line 119 of file AsgTool.cxx.
121 #ifdef XAOD_STANDALONE
124 return evtStore()->event()->getKey( ptr );
127 return (
proxy ==
nullptr ? 0 :
proxy->sgkey() );
128 #endif // XAOD_STANDALONE
◆ getLCTopoClusters()
void RCJet::getLCTopoClusters |
( |
std::vector< fastjet::PseudoJet > & |
clusters, |
|
|
const xAOD::Jet * |
rcjet |
|
) |
| |
Definition at line 579 of file RCJetMC.cxx.
589 for (
auto cluster : *myClusters) {
593 float dR = subjet_raw->
p4().DeltaR(cluster->p4());
595 TLorentzVector temp_p4;
600 clusters.push_back(fastjet::PseudoJet(temp_p4.Px(), temp_p4.Py(), temp_p4.Pz(), temp_p4.E()));
◆ getName()
const std::string & asg::AsgTool::getName |
( |
const void * |
ptr | ) |
const |
|
inherited |
Get the name of an object that is / should be in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
both provide ways for getting the std::string
name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getKey
- Parameters
-
ptr | The bare pointer to the object that the event store should know about |
- Returns
- The string name of the object in the store. If not found, an empty string.
Definition at line 106 of file AsgTool.cxx.
108 #ifdef XAOD_STANDALONE
111 return evtStore()->event()->getName( ptr );
114 static const std::string
dummy =
"";
116 #endif // XAOD_STANDALONE
◆ getPflowConstituent()
Definition at line 607 of file RCJetMC.cxx.
617 std::vector<const xAOD::TrackParticle*> jetTracks;
629 bool haveJetTracks = jetTracks.size() != 0;
634 TLorentzVector temp_p4;
636 if (
jet !=
nullptr) {
639 if(
jet->auxdataConst<
char >(
"passPreORSelection") != 1){
643 temp_p4.SetPtEtaPhiE(
jet->pt(),
jet->eta(),
jet->phi(),
jet->e());
644 clusters.emplace_back(fastjet::PseudoJet(temp_p4.Px(), temp_p4.Py(), temp_p4.Pz(), temp_p4.E()));
650 "RCJET::No remaining tracks associated to the PFlow jet");
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ initialize()
StatusCode RCJet::initialize |
( |
| ) |
|
|
virtual |
Dummy implementation of the initialisation function.
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.
Definition at line 90 of file RCJetMC.cxx.
99 m_ptcut = std::stof(configSettings->
value(
"VarRCJetPt"));
101 m_trim = std::stof(configSettings->
value(
"VarRCJetTrim"));
102 m_radius = std::stof(configSettings->
value(
"VarRCJetMaxRadius"));
105 std::replace(original_rho.begin(), original_rho.end(),
'_',
'.');
106 float rho = std::stof(original_rho);
115 m_trim = std::stof(configSettings->
value(
"RCJetTrim"));
137 m_nSub1_beta1 = std::make_shared<fastjet::contrib::Nsubjettiness>(1,
138 fastjet::contrib::OnePass_WTA_KT_Axes(),
139 fastjet::contrib::UnnormalizedMeasure(1.0));
140 m_nSub2_beta1 = std::make_shared<fastjet::contrib::Nsubjettiness>(2,
141 fastjet::contrib::OnePass_WTA_KT_Axes(),
142 fastjet::contrib::UnnormalizedMeasure(1.0));
143 m_nSub3_beta1 = std::make_shared<fastjet::contrib::Nsubjettiness>(3,
144 fastjet::contrib::OnePass_WTA_KT_Axes(),
145 fastjet::contrib::UnnormalizedMeasure(1.0));
148 m_split12 = std::make_shared<JetSubStructureUtils::KtSplittingScale>(1);
149 m_split23 = std::make_shared<JetSubStructureUtils::KtSplittingScale>(2);
151 m_qw = std::make_shared<JetSubStructureUtils::Qw>();
153 m_ECF1 = std::make_shared<fastjet::contrib::EnergyCorrelator>(1, 1.0, fastjet::contrib::EnergyCorrelator::pt_R);
154 m_ECF2 = std::make_shared<fastjet::contrib::EnergyCorrelator>(2, 1.0, fastjet::contrib::EnergyCorrelator::pt_R);
155 m_ECF3 = std::make_shared<fastjet::contrib::EnergyCorrelator>(3, 1.0, fastjet::contrib::EnergyCorrelator::pt_R);
160 m_gECF332 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(3, 3, 2,
161 JetSubStructureUtils::EnergyCorrelator::pt_R);
162 m_gECF461 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(6, 4, 1,
163 JetSubStructureUtils::EnergyCorrelator::pt_R);
164 m_gECF322 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(2, 3, 2,
165 JetSubStructureUtils::EnergyCorrelator::pt_R);
166 m_gECF331 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(3, 3, 1,
167 JetSubStructureUtils::EnergyCorrelator::pt_R);
168 m_gECF422 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(2, 4, 2,
169 JetSubStructureUtils::EnergyCorrelator::pt_R);
170 m_gECF441 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(4, 4, 1,
171 JetSubStructureUtils::EnergyCorrelator::pt_R);
172 m_gECF212 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(1, 2, 2,
173 JetSubStructureUtils::EnergyCorrelator::pt_R);
174 m_gECF321 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(2, 3, 1,
175 JetSubStructureUtils::EnergyCorrelator::pt_R);
176 m_gECF311 = std::make_shared<JetSubStructureUtils::EnergyCorrelatorGeneralized>(1, 3, 1,
177 JetSubStructureUtils::EnergyCorrelator::pt_R);
184 std::string hash_name(
"");
201 m_radius),
"Failed re-clustering radius initialize reclustering tool");
202 top::check(
tool->setProperty(
"RCJetPtMin",
m_ptcut * 1
e-3),
"Failed ptmin [GeV] initialize reclustering tool");
204 top::check(
tool->setProperty(
"TrimPtFrac",
m_trim),
"Failed pT fraction initialize reclustering tool");
206 m_minradius),
"Failed VarRC min radius initialize reclustering tool");
208 m_massscale),
"Failed VarRC mass scale initialize reclustering tool");
209 top::check(
tool->initialize(),
"Failed to initialize reclustering tool");
222 top::check(tool_loose->setProperty(
"InputJetContainer",
224 "Failed inputjetcontainer reclustering tool");
225 top::check(tool_loose->setProperty(
"OutputJetContainer",
227 "Failed outputjetcontainer loose initialize reclustering tool");
228 top::check(tool_loose->setProperty(
"ReclusterRadius",
229 m_radius),
"Failed re-clustering radius initialize reclustering tool");
230 top::check(tool_loose->setProperty(
"RCJetPtMin",
m_ptcut * 1
e-3),
"Failed ptmin [GeV] reclustering tool");
232 top::check(tool_loose->setProperty(
"TrimPtFrac",
m_trim),
"Failed pT fraction initialize reclustering tool");
233 top::check(tool_loose->setProperty(
"VariableRMinRadius",
234 m_minradius),
"Failed VarRC min radius initialize reclustering tool");
235 top::check(tool_loose->setProperty(
"VariableRMassScale",
236 m_massscale),
"Failed VarRC mass scale initialize reclustering tool");
237 top::check(tool_loose->initialize(),
"Failed to initialize reclustering tool");
264 return StatusCode::SUCCESS;
◆ inputContainerName()
std::string RCJet::inputContainerName |
( |
std::size_t |
hash_value, |
|
|
bool |
isLooseEvent |
|
) |
| |
Definition at line 499 of file RCJetMC.cxx.
501 std::string this_container_name(
"");
510 return this_container_name;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isUniqueSyst()
bool RCJet::isUniqueSyst |
( |
std::string |
syst_name | ) |
|
Definition at line 472 of file RCJetMC.cxx.
479 bool isSmallRJetSys = (syst_name.find(
m_jetsyst) != std::string::npos);
483 if ((syst_name.find(
"_R10_") != std::string::npos) ||
484 (syst_name.find(
"_CombMass_") != std::string::npos) ||
485 (syst_name.find(
"_LargeR_") != std::string::npos) ||
486 (syst_name.find(
"_MassRes_") != std::string::npos) ||
487 (syst_name.find(
"_SigSF_") != std::string::npos) ||
488 (syst_name.find(
"_BGSF_") != std::string::npos) ) isSmallRJetSys =
false;
494 syst_name.compare(
"nominal") == 0);
◆ msg() [1/2]
◆ msg() [2/2]
◆ msg_level_name()
const std::string & asg::AsgTool::msg_level_name |
( |
| ) |
const |
|
inherited |
A deprecated function for getting the message level's name.
Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:
MSG::name( msg().level() )
This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.
- Returns
- The string name of the current minimum message level that's printed
Definition at line 101 of file AsgTool.cxx.
◆ msgLvl()
◆ operator=()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ passSelection()
◆ print()
void asg::AsgTool::print |
( |
| ) |
const |
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, top::TopObjectSelection, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
Definition at line 131 of file AsgTool.cxx.
◆ rcjetContainerName()
std::string RCJet::rcjetContainerName |
( |
std::size_t |
hash_value, |
|
|
bool |
isLooseEvent |
|
) |
| |
Definition at line 513 of file RCJetMC.cxx.
515 std::string this_container_name(
"");
523 return this_container_name;
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_config
◆ m_detStore
◆ m_ECF1
std::shared_ptr<fastjet::contrib::EnergyCorrelator> RCJet::m_ECF1 |
|
private |
◆ m_ECF2
std::shared_ptr<fastjet::contrib::EnergyCorrelator> RCJet::m_ECF2 |
|
private |
◆ m_ECF3
std::shared_ptr<fastjet::contrib::EnergyCorrelator> RCJet::m_ECF3 |
|
private |
◆ m_egamma
std::string RCJet::m_egamma |
|
private |
◆ m_etamax
◆ m_evtStore
◆ m_gECF212
◆ m_gECF311
◆ m_gECF321
◆ m_gECF322
◆ m_gECF331
◆ m_gECF332
◆ m_gECF422
◆ m_gECF441
◆ m_gECF461
◆ m_InJetContainerBase
std::string RCJet::m_InJetContainerBase |
|
private |
◆ m_inputContainerNames
std::map<std::size_t, std::string> RCJet::m_inputContainerNames |
|
private |
◆ m_InputJetContainer
std::string RCJet::m_InputJetContainer |
|
private |
◆ m_inputJetEtaMax
float RCJet::m_inputJetEtaMax |
|
private |
◆ m_inputJetPtMin
float RCJet::m_inputJetPtMin |
|
private |
◆ m_jet_def_rebuild
std::shared_ptr<fastjet::JetDefinition> RCJet::m_jet_def_rebuild |
|
private |
◆ m_jetReclusteringTool
std::unordered_map<std::size_t, std::shared_ptr<JetReclusteringTool> > RCJet::m_jetReclusteringTool |
|
private |
◆ m_jetsyst
std::string RCJet::m_jetsyst |
|
private |
◆ m_loose_hashValue
int RCJet::m_loose_hashValue |
|
private |
◆ m_massscale
◆ m_minradius
◆ m_muonsyst
std::string RCJet::m_muonsyst |
|
private |
◆ m_name
std::string RCJet::m_name |
|
private |
◆ m_nSub1_beta1
std::shared_ptr<fastjet::contrib::Nsubjettiness> RCJet::m_nSub1_beta1 |
|
private |
◆ m_nSub2_beta1
std::shared_ptr<fastjet::contrib::Nsubjettiness> RCJet::m_nSub2_beta1 |
|
private |
◆ m_nSub3_beta1
std::shared_ptr<fastjet::contrib::Nsubjettiness> RCJet::m_nSub3_beta1 |
|
private |
◆ m_OutJetContainerBase
std::string RCJet::m_OutJetContainerBase |
|
private |
◆ m_outputContainerNames
std::map<std::size_t, std::string> RCJet::m_outputContainerNames |
|
private |
◆ m_OutputJetContainer
std::string RCJet::m_OutputJetContainer |
|
private |
◆ m_ptcut
◆ m_qw
◆ m_radius
◆ m_split12
◆ m_split23
◆ m_tracksyst
std::string RCJet::m_tracksyst |
|
private |
◆ m_trim
◆ m_unique_syst
bool RCJet::m_unique_syst |
|
private |
◆ m_useAdditionalJSS
bool RCJet::m_useAdditionalJSS |
|
private |
◆ m_useJSS
◆ m_varHandleArraysDeclared
◆ m_VarRCjets
◆ m_VarRCjets_mass_scale
std::string RCJet::m_VarRCjets_mass_scale |
|
private |
◆ m_VarRCjets_rho
std::string RCJet::m_VarRCjets_rho |
|
private |
◆ m_vhka
◆ mass_scales
std::map<std::string, float> RCJet::mass_scales |
|
private |
Initial value:= {
{"m_t", 172500.},
{"m_w", 80385.},
{"m_z", 91188.},
{"m_h", 125090.}
}
Definition at line 146 of file RCJet.h.
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF331
std::string replace(std::string s, const std::string &s2, const std::string &s3)
std::shared_ptr< fastjet::contrib::EnergyCorrelator > m_ECF2
std::shared_ptr< JetSubStructureUtils::Qw > m_qw
std::shared_ptr< JetSubStructureUtils::KtSplittingScale > m_split12
bool isUniqueSyst(std::string syst_name)
const std::string & value(const std::string &key) const
The user wants to know the value for the specified key.
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF461
void getPflowConstituent(std::vector< fastjet::PseudoJet > &clusters, const xAOD::Jet *rcjet, const top::Event &event)
std::string m_InputJetContainer
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
State
enum of possible signal states.
std::shared_ptr< fastjet::JetDefinition > m_jet_def_rebuild
std::map< std::size_t, std::string > m_inputContainerNames
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF441
Helper class to provide constant type-safe access to aux data.
std::string m_VarRCjets_rho
std::shared_ptr< fastjet::contrib::EnergyCorrelator > m_ECF1
JetConstituentVector getConstituents() const
Return a vector of consituents. The object behaves like vector<const IParticle*>. See JetConstituentV...
std::string inputContainerName(std::size_t hash_value, bool isLooseEvent)
virtual void setOwner(IDataHandleHolder *o)=0
void getLCTopoClusters(std::vector< fastjet::PseudoJet > &clusters, const xAOD::Jet *rcjet)
std::unordered_map< std::size_t, std::shared_ptr< JetReclusteringTool > >::iterator m_tool_iterator
std::vector< const T * > getAssociatedObjects(const std::string &name) const
get associated objects as a vector<object> this compact form throws an exception if the object is not...
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
void getEMTopoClusters(std::vector< fastjet::PseudoJet > &clusters, const xAOD::Jet *rcjet)
POOL::TEvent event(POOL::TEvent::kClassAccess)
fastjet::ClusterSequence ClusterSequence
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF332
static ConfigurationSettings * get(bool reset=false)
Design patterns 101.
std::string rcjetContainerName(std::size_t hash_value, bool isLooseEvent)
std::map< std::string, float > mass_scales
void check(bool thingToCheck, const std::string &usefulFailureMessage)
Print an error message and terminate if thingToCheck is false.
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF212
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF311
bool passSelection(const xAOD::Jet &jet) const
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF322
StatusCode execute(const top::Event &event)
std::string m_VarRCjets_mass_scale
const std::vector< ElementLink< IParticleContainer > > & constituentLinks() const
Direct access to constituents. WARNING expert use only.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF321
std::string m_OutJetContainerBase
std::shared_ptr< JetSubStructureUtils::EnergyCorrelatorGeneralized > m_gECF422
std::shared_ptr< top::TopConfig > m_config
std::map< std::size_t, std::string >::iterator m_iterator
std::string m_OutputJetContainer
virtual FourMom_t p4() const
The full 4-momentum of the particle.
std::shared_ptr< fastjet::contrib::Nsubjettiness > m_nSub1_beta1
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
std::shared_ptr< fastjet::contrib::Nsubjettiness > m_nSub2_beta1
Class describing a TrackParticle.
std::shared_ptr< fastjet::contrib::EnergyCorrelator > m_ECF3
std::shared_ptr< fastjet::contrib::Nsubjettiness > m_nSub3_beta1
Hold the configuration information for the whole run.
std::map< std::size_t, std::string > m_outputContainerNames
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::unordered_map< std::size_t, std::shared_ptr< JetReclusteringTool > > m_jetReclusteringTool
std::shared_ptr< JetSubStructureUtils::KtSplittingScale > m_split23
std::string m_InJetContainerBase
std::size_t hash_value(const SystematicSet &)
Hash function specifically for boost::hash.