|
ATLAS Offline Software
|
Go to the documentation of this file.
57 MsgStream&
msg )
const
80 if( !(pers)->m_shapeStore.empty() ){
81 if( momentNames.size() < (pers)->m_shapeStore.size() ) {}
84 for(
size_t i=0;
i<(pers)->m_shapeStore.size();
i++){
85 trans->
setMoment(momentNames[
i], (pers)->m_shapeStore[
i],
true);
89 const_cast<Jet_p4*
>(pers)->m_shapeStore.clear();
106 vector<const JetTagInfoBase *> *ptags =
108 if (ptags !=
nullptr) {
109 vector<const JetTagInfoBase*> &
tags (*ptags);
110 for (
unsigned int i = 0;
i <
tags.size();
i++) {
130 trans->
m_assocStore =
new vector<const JetAssociationBase*> ();
131 vector<const JetAssociationBase *> *pass =
134 if (pass !=
nullptr) {
135 vector<const JetAssociationBase *> &
ass (*pass);
137 for (
unsigned int i = 0;
i <
ass.size();
i++) {
207 MsgStream&
msg )
const
227 vector<const JetTagInfoBase*> goodTagInfo;
228 const vector<const JetTagInfoBase*> &tagInfo(*(trans->
m_tagInfoStore));
229 for (
unsigned int i = 0;
i < tagInfo.size();
i++) {
230 if (tagInfo[
i] !=
nullptr) {
231 goodTagInfo.push_back(tagInfo[
i]);
242 vector<const JetAssociationBase*> goodAssInfo;
243 const vector<const JetAssociationBase*> &assInfo(*trans->
m_assocStore);
245 for (
unsigned int i = 0;
i < assInfo.size();
i++) {
246 if (assInfo[
i] !=
nullptr) {
247 goodAssInfo.push_back(assInfo[
i]);
virtual double py() const
y component of momentum
virtual double e() const
energy
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...
static const key_t ShapeCat
Index category for jet shapes.
JetCnv_p4()
Default constructor:
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::atomic< bool > m_badIndex
TagAssCollectionCnv m_tagAssCnv
char m_ratioPz
ratio for uncalibrated p_y
void persToTrans(const PersNavigable_t &pers, Navigable_t &trans, MsgStream &log) const
Navigable_p1< uint32_t, double > m_nav
the navigable part
static JetKeyDescriptorInstance * instance()
void setAssociation(const T *pAssoc, bool useLink=false)
Set association object.
ParticleBase_p1 m_partBase
The Particle base stuff – since Jet now inherrits from particle base.
virtual void persToTrans(const ParticleBase_p1 *persObj, ParticleBase *transObj, MsgStream &msg) const final
Method creating the transient representation of ParticleBase from its persistent representation Parti...
std::atomic< int > m_nIndexTest
virtual void transToPers(const Jet *transObj, Jet_p4 *persObj, MsgStream &msg) const override
Method creating the persistent representation Jet_p4 from its transient representation Jet.
void setRawPy(double py)
Sets uncalibrated .
std::vector< std::string > tags
void setRawE(double e)
Sets uncalibrated
P4PxPyPzE_p1 m_momentum
the 4-mom part
std::vector< TPObjRef > m_associations
JetAssociationBase objects.
virtual void persToTrans(const Jet_p4 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p4.
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.
TagInfoCollectionCnv m_taginfoCnv
char m_ratioPy
ratio for uncalibrated p_x
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
std::vector< TPObjRef > m_tagJetInfo
JetTagInfoBase objects.
void addInfo(const TAGINFO *tag)
Add tag info object.
virtual bool setSignalState(state_t s)
set the current signal state
char char_from_ratio(double r) const
double ratio_from_char(char c) const
void setMoment(const mkey_t &shapeName, shape_t shape, bool addIfMissing=true) const
Alias for setShape.
virtual void transToPers(const ParticleBase *transObj, ParticleBase_p1 *persObj, MsgStream &msg) const final
Method creating the persistent representation ParticleBase_p1 from its transient representation Parti...
virtual void transToPers(const TRANS *transVect, PERS *persVect, MsgStream &log) const
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
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
char m_ratioPx
ratio for uncalibrated E
void setRawPx(double px)
Sets uncalibrated .
virtual TRANS * createTransientConst(const PERS *persObj, MsgStream &log) const
make the histogram assessment part of the config
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...