|
ATLAS Offline Software
|
Transient<->persistent converter for Analysis::TauJet v5.
More...
#include <TauJetCnv_p5.h>
Transient<->persistent converter for Analysis::TauJet v5.
Definition at line 27 of file TauJetCnv_p5.h.
◆ TauJetCnv_p5()
TauJetCnv_p5::TauJetCnv_p5 |
( |
| ) |
|
|
inline |
◆ persToTrans()
Fills a transient object from a persistent object.
- Parameters
-
pers | Persistent object |
trans | Transient object |
msg | Message stream |
Definition at line 55 of file TauJetCnv_p5.cxx.
69 if( getBit( pers->
m_flags, 0 ) ) {
70 std::vector<std::pair<TauJetParameters::TauID, double> >
params;
86 if( getBit( pers->
m_flags, 2 ) )
88 if( getBit( pers->
m_flags, 3 ) )
117 CLHEP::HepLorentzVector hlv;
◆ transToPers()
Fills a persistent object from a transient object
- Parameters
-
trans | Transient object |
pers | Persistent object |
msg | Message stream |
Definition at line 130 of file TauJetCnv_p5.cxx.
141 jetCnv.transToPers( &jetLink, &pers->
m_jet,
msg );
148 if( trans->
tauID() ) {
149 setBit( pers->
m_flags, 0,
true );
156 pers->
m_params.emplace_back (
static_cast<int>(
p.first ),
p.second);
159 setBit( pers->
m_flags, 0,
false );
162 setBit( pers->
m_flags, 2,
true );
164 setBit( pers->
m_flags, 3,
true );
The documentation for this class was generated from the following files:
unsigned long m_isTauFlags
const ElementLinkVector< Rec::TrackParticleContainer > & seedCalo_trackLinkVector() const
Get seed calo track link vector.
void setROIWord(unsigned int RoiWord)
Set ROI Word (trigger purposes)
void setTauID(TauPID *tauID)
Set TauPID object that contains discriminant values.
Class containing discriminants produced by identification algorithms.
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
unsigned long m_vetoFlags
CLHEP::HepLorentzVector getHLV(TauJetParameters ::TauCalibType type) const
virtual void persToTrans(const ParticleBase_p2 *persObj, ParticleBase *transObj, MsgStream &msg) const final
Method creating the transient representation of ParticleBase from its persistent representation Parti...
HepLorentzVector_p1 m_tauHLV_tesaxis
bool hasAuthor(const TauJetParameters ::Author &author) const
check if this object has Author author (can be more than one)
HepLorentzVector_p1 m_tauHLV_intaxis
void storeHLV(TauJetParameters ::TauCalibType type, CLHEP ::HepLorentzVector hlv)
unsigned int numberOfTracks() const
Get number of tracks.
ElementLinkIntVector_p1 m_seedCalo_tracks
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
const ElementLink< JetCollection > jetLink() const
ElementLink to seed Jet, might be invalid if not seeded from a Jet
ElementLinkIntVector_p1 m_tracks
const std::bitset< 32 > & isTauFlags() const
const TauPID * tauID() const
Get TauPID object containing discriminant values.
virtual void transToPers(const ParticleBase *transObj, ParticleBase_p2 *persObj, MsgStream &msg) const final
Method creating the persistent representation ParticleBase_p2 from its transient representation Parti...
P4EEtaPhiMFloat_p2 m_momentum
ElementLinkIntVector_p1 m_conversionTracks
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
ParticleBase_p2 m_particleBase
HepLorentzVector_p1 m_tauHLV_jetseed
const ElementLinkVector< Rec::TrackParticleContainer > & seedTrk_trackLinkVector() const
Get seed trk track link vector.
const ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector() const
Get conversion track element link vector (const)
const std::bitset< 32 > & vetoFlags() const
virtual void transToPers(const CLHEP::HepLorentzVector *transObj, HepLorentzVector_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation HepLorentzVector_p1 from its transient representation H...
ElementLinkInt_p3 m_cellCluster
const ElementLink< CaloClusterContainer > clusterLink() const
ElementLink to seed CaloCluster, DEPRECATED as of release 13
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
TauID
Enum for discriminants.
virtual void transToPers(const P4ImplEEtaPhiM *transObj, P4EEtaPhiMFloat_p2 *persObj, MsgStream &log) const override
Method creating the persistent representation P4EEtaPhiMFloat_p2 from its transient representation P4...
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
HepLorentzVector_p1 m_tauHLV_etaaxis
virtual void persToTrans(const HepLorentzVector_p1 *persObj, CLHEP::HepLorentzVector *transObj, MsgStream &log) const override
Method creating the transient representation of HepLorentzVector from its persistent representation H...
virtual void persToTrans(const P4EEtaPhiMFloat_p2 *persObj, P4ImplEEtaPhiM *transObj, MsgStream &log) const override
Method creating the transient representation of P4ImplEEtaPhiM from its persistent representation P4E...
HepLorentzVector_p1 m_tauHLV_detaxis
ElementLinkIntVector_p1 m_seedTrk_tracks
std ::vector< std ::pair< int, float > > m_params
const ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector() const
Get track link vector.
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
void setNumberOfTracks(unsigned int numberOfTracks)
Set number of tracks @ param numberOfTracks Number of tracks.
ElementLinkInt_p3 m_cluster
unsigned long m_numberOfTracks
const ElementLink< CaloClusterContainer > cellClusterLink() const
ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster i...
void setAuthor(const TauJetParameters ::Author &author)
set the author flag to true
ElementLinkIntVector_p1 m_tauDetails
const std::vector< std::pair< TauJetParameters::TauID, double > > & params() const
ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector()