|
ATLAS Offline Software
|
Go to the documentation of this file.
38 MsgStream&
msg )
const
58 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;
59 else for(
size_t i=0;
i<momentNames.size();
i++){
60 trans->
setMoment(momentNames[
i], (pers)->m_shapeStore[
i],
true);
65 else if ( !(pers)->m_tagJetInfo.empty() ) {
72 else if ( !(pers)->m_associations.empty() ) {
85 const_cast<Jet_p3*
>(pers)->m_tagJetInfo.clear();
86 const_cast<Jet_p3*
>(pers)->m_associations.clear();
101 static const Jet jtmp;
110 MsgStream&
msg )
const
P4PxPyPzE_p1 m_momentum
the 4-mom part
virtual double py() const
y component of momentum
std::vector< float > m_shapeStore
JetMomentStore.
virtual double e() const
energy
char m_ratioPx
ratio for uncalibrated E
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
virtual double px() const
We re-define here extra class routines that will allow direct access to signal state kinematics witho...
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
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
void persToTrans(const PersNavigable_t &pers, Navigable_t &trans, MsgStream &log) const
static JetKeyDescriptorInstance * instance()
std::vector< const taginfo_t * > tagstore_t
virtual void transToPers(const Jet *transObj, Jet_p3 *persObj, MsgStream &msg) const override
Method creating the persistent representation Jet_p3 from its transient representation Jet.
void setRawPy(double py)
Sets uncalibrated .
void setRawE(double e)
Sets uncalibrated
tagstore_t * m_tagInfoStore
Tag info store.
char m_ratioPz
ratio for uncalibrated p_y
void setRawPz(double pz)
Sets uncalibrated .
const navigable_type & navigableBase() const
access to underlying base type (INavigable-like)
double e() const
get energy data member
const std::vector< key_t > & getKeys(const category_t &cat) const
size_t m_jetAuthor
Jet author store.
void transToPers(const Navigable_t &trans, PersNavigable_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
assostore_t * m_assocStore
key descriptor for all jet stores
bool m_ownPointers
True if we own the objects pointed to from the above collections.
virtual bool setSignalState(state_t s)
set the current signal state
virtual void persToTrans(const Jet_p3 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p3.
char char_from_ratio(double r) const
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
double ratio_from_char(char c) const
void setMoment(const mkey_t &shapeName, shape_t shape, bool addIfMissing=true) const
Alias for setShape.
char m_ratioPy
ratio for uncalibrated p_x
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 .
Navigable_p1< uint32_t, double > m_nav
the navigable part
virtual void transToPers(const P4ImplPxPyPzE *transObj, P4ImplPxPyPzE_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation P4ImplPxPyPzE_p1 from its transient representation P4Px...