Fills a transient object from a persistent object.
55{
66
68 std::vector<std::pair<TauJetParameters::TauID, double> >
params;
70 for (
const auto& p : pers->
m_params) {
73
74 }
75
76 Analysis::TauPID* tauID = new Analysis::TauPID (std::move(params),
80 } else {
82 }
83
91}
static const P4ImplPxPyPzECnv_p1 momCnv
static const JetCnv_p1 jetCnv
static const ClusterLinkCnv_t clusterCnv
static const ParticleBaseCnv_p1 partBaseCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > tracksCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > conversionTracksCnv
static bool getBit(unsigned char field, unsigned num)
static const ElementLinkVectorCnv_p1< ElementLinkVector< Analysis::TauDetailsContainer > > detailsCnv
const ElementLink< CaloClusterContainer > cellClusterLink() const
ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster i...
void setROIWord(unsigned int RoiWord)
Set ROI Word (trigger purposes)
const ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector() const
Get track link vector.
void setNumberOfTracks(unsigned int numberOfTracks)
Set number of tracks.
const ElementLink< CaloClusterContainer > clusterLink() const
ElementLink to seed CaloCluster, DEPRECATED as of release 13
const ElementLink< JetCollection > jetLink() const
ElementLink to seed Jet, might be invalid if not seeded from a Jet
void setTauID(TauPID *tauID)
Set TauPID object that contains discriminant values.
const ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector() const
Get conversion track element link vector (const)
ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector()
void setAuthor(const TauJetParameters ::Author &author)
set the author flag to true
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
virtual void persToTrans(const Jet_p1 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p1.
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...
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...
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
ElementLinkIntVector_p1 m_conversionTracks
ElementLinkInt_p1 m_cellCluster
P4EEtaPhiMFloat_p2 m_momentum
ElementLinkInt_p1 m_cluster
std ::vector< std ::pair< int, float > > m_params
unsigned long m_isTauFlags
ElementLinkIntVector_p1 m_tracks
unsigned long m_numberOfTracks
unsigned long m_vetoFlags
ElementLinkIntVector_p1 m_tauDetails
ParticleBase_p1 m_particleBase
TauID
Enum for discriminants.