Fills a transient object from a persistent object.
58{
68
70 std::vector<std::pair<TauJetParameters::TauID, double> >
params;
72 for (
const auto& p : pers->
m_params) {
75
76 }
77
78 Analysis::TauPID* tauID = new Analysis::TauPID (std::move(params),
82 } else {
84 }
85
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
117 CLHEP::HepLorentzVector hlv;
128}
static const P4ImplPxPyPzECnv_p1 momCnv
static const JetCnv_p1 jetCnv
static const ClusterLinkCnv_t clusterCnv
static const ParticleBaseCnv_p1 partBaseCnv
static const HepLorentzVectorCnv_p1 hepLorentzVectorCnv
Converter for Hep lorentz vector.
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
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > seedTrk_tracksCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > seedCalo_tracksCnv
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
const ElementLinkVector< Rec::TrackParticleContainer > & seedCalo_trackLinkVector() const
Get seed calo track link vector.
void setTauID(TauPID *tauID)
Set TauPID object that contains discriminant values.
void storeHLV(TauJetParameters ::TauCalibType type, CLHEP ::HepLorentzVector hlv)
const ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector() const
Get conversion track element link vector (const)
const ElementLinkVector< Rec::TrackParticleContainer > & seedTrk_trackLinkVector() const
Get seed trk track link vector.
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 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 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)
ElementLinkInt_p3 m_cellCluster
ElementLinkIntVector_p1 m_seedTrk_tracks
ElementLinkIntVector_p1 m_conversionTracks
unsigned long m_vetoFlags
ElementLinkIntVector_p1 m_seedCalo_tracks
HepLorentzVector_p1 m_tauHLV_etaaxis
HepLorentzVector_p1 m_tauHLV_jetseed
P4EEtaPhiMFloat_p2 m_momentum
ElementLinkIntVector_p1 m_tauDetails
ElementLinkIntVector_p1 m_tracks
unsigned long m_isTauFlags
HepLorentzVector_p1 m_tauHLV_detaxis
HepLorentzVector_p1 m_tauHLV_tesaxis
unsigned long m_numberOfTracks
ElementLinkInt_p3 m_cluster
std ::vector< std ::pair< int, float > > m_params
ParticleBase_p2 m_particleBase
HepLorentzVector_p1 m_tauHLV_intaxis
TauID
Enum for discriminants.