![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 AsgTool(
name), m_subjetlabel(
""), m_subjetcontainername(
"")
23 if(subjet_name.empty() || subjet_container_name.empty()) {
34 if(subjet_container ==
nullptr) {
38 sc =
evtStore()->record(subjet_container, subjet_container_name);
40 ATH_MSG_ERROR(
"Error recording subjet container (" << subjet_container_name <<
")");
45 ATH_MSG_ERROR(
"Error recording subjet aux container (" << subjet_container_name <<
"Aux.)");
51 std::vector<const xAOD::Jet *> subj_ptrs_const;
52 std::vector<xAOD::Jet *> subj_ptrs;
53 for(
auto it = subjets.begin();
it != subjets.end();
it++) {
56 subj_ptrs.push_back(subj);
57 subj_ptrs_const.push_back(subj);
68 double radius =
it->associated_cluster_sequence()->jet_def().R();
80 jet.setAssociatedObjects(subjet_name, subj_ptrs_const);
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
JetFourMom_t jetP4() const
The full 4-momentum of the particle : internal jet type.
int extractConstituents(xAOD::Jet &jet, const NameList *pghostlabs, const fastjet::PseudoJet *ppj=0)
Build and fill constituents of jet from its PseudoJet (or from ppj) Returns the number of pseudojet c...
void setJetP4(const JetFourMom_t &p4)
@ JetConstitScaleMomentum
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Temporary container used until we have I/O for AuxStoreInternal.
void setSizeParameter(float p)
::StatusCode StatusCode
StatusCode definition for legacy code.
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
void setAttribute(const std::string &name, const T &v)
ElementLink implementation for ROOT usage.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
ID algId(const std::string &n)
Converts a string into a JetAlgorithmType::ID.
JetContainer_v1 JetContainer
Definition of the current "jet container version".
void setAlgorithmType(JetAlgorithmType::ID a)
Jet_v1 Jet
Definition of the current "jet version".