|
ATLAS Offline Software
|
Go to the documentation of this file.
16 , m_fastJetLink(nullptr)
24 , m_fastJetLink(nullptr)
31 if(
this == &o)
return *
this;
46 return momentumAcc.
pt( *
this );
51 return momentumAcc.
eta( *
this );
56 return momentumAcc.
phi( *
this );
60 return momentumAcc.
m( *
this );
68 return jetP4().Rapidity();
107 constituentAcc(
"constituentLinks" );
109 constituentWeightAcc(
"constituentWeights" );
114 constituentAcc( *this ).push_back( link );
115 constituentWeightAcc( *this ).push_back(
w );
120 int idx =
c->index();
128 constituentAcc(*this).push_back(
el);
129 constituentWeightAcc( *this ).push_back(
w );
137 if( constitScaleAcc.isAvailable(*
this) )
return (
JetConstitScale)constitScaleAcc(*
this);
142 constitScaleAcc(*
this) =
t;
155 return constituentAcc( *this ).size();
159 return * ( constituentAcc(*
this)[
i]);
163 return constituentAcc(*
this);
187 std::cerr <<
" Error p4(P4SignalState) unknown state "<<
s << std::endl;
210 std::cerr <<
" Error p4(P4SignalState) unknown state "<<
s << std::endl;
217 if(statename==
"JetAssignedScaleMomentum")
return jetP4();
218 return getAttribute<JetFourMom_t>(statename);
222 return jetP4(statename);
227 return setAttribute<JetFourMom_t>(statename,
p4);
const fastjet::PseudoJet * getPseudoJet() const
FastJetLinkBase * m_fastJetLink
Pointer to the fastjet object this jet is build from.
Helper class to provide type-safe access to aux data.
Jet_v1()
Default constructor.
Jet_v1 & operator=(const Jet_v1 &other)
const float & m(const SG::AuxElement &p) const
virtual FastJetLinkBase * clone()
JetFourMom_t jetP4() const
The full 4-momentum of the particle : internal jet type.
virtual double phi() const
The azimuthal angle ( ) of the particle.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
JetAlgorithmType::ID getAlgorithmType() const
JetConstituentVector getConstituents() const
Return a vector of consituents. The object behaves like vector<const IParticle*>. See JetConstituentV...
Class providing the definition of the 4-vector interface.
JetInput::Type getInputType() const
const float & phi(const SG::AuxElement &p) const
void setJetP4(const JetFourMom_t &p4)
@ JetConstitScaleMomentum
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
float pz() const
The z-component of the jet's momentum.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
void setSizeParameter(float p)
void reset()
Function making sure that the object is ready for persistification.
float getSizeParameter() const
JetConstitScale getConstituentsSignalState() const
The state at which constituents were when this jet was found.
void setConstituentsSignalState(JetConstitScale t)
Set the state at which constituents were when this jet was found. This function is called by jet buil...
const fastjet::PseudoJet * pseudoJet
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
float py() const
The y-component of the jet's momentum.
void addConstituent(const ElementLink< IParticleContainer > &link, float weight=1.0)
Add a constituent directly in the ElementLink format.
virtual double rapidity() const
The true rapidity (y) of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
const std::vector< ElementLink< IParticleContainer > > & constituentLinks() const
Direct access to constituents. WARNING expert use only.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
float px() const
The x-component of the jet's momentum.
void getAttribute(const SG::AuxElement &p, JetFourMom_t &v) const
const IParticle * rawConstituent(size_t i) const
Direct access to constituents. WARNING expert use only.
void makePrivateStore()
Create a new (empty) private store for this object.
Specialiazed accessor for JetFourMom_t : internally stores the JetFourMom_t as 4 floats in the Aux St...
void setInputType(JetInput::Type t)
@ JetAssignedScaleMomentum
bool hasStore() const
Return true if this object has an associated store.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
virtual double m() const
The invariant mass of the particle.
const float & eta(const SG::AuxElement &p) const
virtual double e() const
The total energy of the particle.
void setAttribute(SG::AuxElement &p, const JetFourMom_t &v) const
JetFourMom_t genvecP4() const
The full 4-momentum of the particle : internal jet type (same).
A vector of jet constituents at the scale used during jet finding.
const SG::AuxVectorData * container() const
Return the container holding this element.
const float & pt(const SG::AuxElement &p) const
ObjectType
Type of objects that have a representation in the xAOD EDM.
This header defines wrapper classes around SG::AuxElement::Accessor used internally in the Jet EDM.
size_t numConstituents() const
Number of constituents in this jets (this is valid even when reading a file where the constituents ha...
virtual double pt() const
The transverse momentum ( ) of the particle.
void setAlgorithmType(JetAlgorithmType::ID a)
IParticle & operator=(const IParticle &)=default
Jet_v1 Jet
Definition of the current "jet version".