|
ATLAS Offline Software
|
Go to the documentation of this file.
37 MsgStream&
msg )
const
61 if( momentNames.size() != (pers)->m_shapeStore.size() )
msg << MSG::ERROR <<
" JEtCnv_p2 can't convert moments ! expected moment n= "<< momentNames.size() <<
" persistatn has "<< (pers)->m_shapeStore.size() <<
endmsg;
62 else for(
size_t i=0;
i<momentNames.size();
i++){
63 trans->
setMoment(momentNames[
i], (pers)->m_shapeStore[
i],
true);
69 else if ( !(pers)->m_tagJetInfo.empty() ) {
76 else if ( !(pers)->m_associations.empty() ) {
88 const_cast<Jet_p2*
>(pers)->m_tagJetInfo.clear();
89 const_cast<Jet_p2*
>(pers)->m_associations.clear();
101 static const Jet jtmp;
110 MsgStream&
msg )
const
112 msg << MSG::ERROR <<
" Don't write Jet_p2 anymore"
virtual double py() const
y component of momentum
P4PxPyPzE_p1 m_momentum
the 4-mom part
virtual double e() const
energy
virtual void transToPers(const Jet *transObj, Jet_p2 *persObj, MsgStream &msg) const override
Method creating the persistent representation Jet_p2 from its transient representation Jet.
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
virtual double px() const
We re-define here extra class routines that will allow direct access to signal state kinematics witho...
static const key_t ShapeCat
Index category for jet shapes.
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
const momentum_type & momentumBase(state_t s) const
access to underlying base type (I4Momentum-like)
std::vector< const assoc_t * > assostore_t
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
void persToTrans(const PersNavigable_t &pers, Navigable_t &trans, MsgStream &log) const
static JetKeyDescriptorInstance * instance()
std::vector< const taginfo_t * > tagstore_t
void setRawPy(double py)
Sets uncalibrated .
std::vector< double > m_combinedLikelihood
combined likelihoods
void setRawE(double e)
Sets uncalibrated
void setCombinedLikelihood(const std::vector< double > &combinedLikelihood)
(depreciated) Likelihood store setter
virtual void persToTrans(const Jet_p2 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p2.
Navigable_p1< uint32_t, double > m_nav
the navigable part
tagstore_t * m_tagInfoStore
Tag info store.
void setRawPz(double pz)
Sets uncalibrated .
const navigable_type & navigableBase() const
access to underlying base type (INavigable-like)
const std::vector< key_t > & getKeys(const category_t &cat) const
size_t m_jetAuthor
Jet author store.
assostore_t * m_assocStore
key descriptor for all jet stores
virtual bool setSignalState(state_t s)
set the current signal state
std::vector< float > m_shapeStore
JetMomentStore.
size_t m_jetId
the identifier of this jet within its collection.
void setMoment(const mkey_t &shapeName, shape_t shape, bool addIfMissing=true) const
Alias for setShape.
static const size_t s_defaultJetId
virtual void persToTrans(const P4ImplPxPyPzE_p1 *persObj, P4ImplPxPyPzE *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplPxPyPzE from its persistent representation P4Im...
This file contains the class definition for the NavigableCnv_p1 class. NOTE: it should be included fi...
virtual double pz() const
z component of momentum
void setRawPx(double px)
Sets uncalibrated .