39static void setBit(
unsigned char &field,
unsigned num,
bool val )
47static bool getBit(
unsigned char field,
unsigned num )
49 return (field & (1 << num)) ? true :
false;
54 MsgStream &
msg )
const
67 std::vector<std::pair<TauJetParameters::TauID, double> > params;
68 params.reserve(pers->
m_params.size());
69 for (
const auto& p : pers->
m_params) {
101 MsgStream &
msg )
const
118 if( trans->
tauID() ) {
126 pers->
m_params.emplace_back (
static_cast<int>( p.first ), p.second);
This file contains the class definition for the ElementLinkCnv_p3 class.
This file contains the class definition for the ElementLinkVectorCnv_p1 class.
static const P4ImplPxPyPzECnv_p1 momCnv
static const JetCnv_p1 jetCnv
static const ClusterLinkCnv_t clusterCnv
static const ParticleBaseCnv_p1 partBaseCnv
Declaration of tau jet transient class.
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > tracksCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > conversionTracksCnv
static void setBit(unsigned char &field, unsigned num, bool val)
static bool getBit(unsigned char field, unsigned num)
static const ElementLinkVectorCnv_p1< ElementLinkVector< Analysis::TauDetailsContainer > > detailsCnv
static void setBit(unsigned char &field, unsigned num, bool val)
static bool getBit(unsigned char field, unsigned num)
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > seedTrk_tracksCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > seedCalo_tracksCnv
Implementation of transient<->persistent converter for Analysis::TauCommonDetails v3.
Object for taus common for ESD and AOD.
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.
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
void setTauID(TauPID *tauID)
Set TauPID object that contains discriminant values.
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.
unsigned int numberOfTracks() const
Get number of tracks.
const TauPID * tauID() const
Get TauPID object containing discriminant values.
ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector()
bool hasAuthor(const TauJetParameters ::Author &author) const
check if this object has Author author (can be more than one)
void setAuthor(const TauJetParameters ::Author &author)
set the author flag to true
Class containing discriminants produced by identification algorithms.
const std::bitset< 32 > & vetoFlags() const
const std::vector< std::pair< TauJetParameters::TauID, double > > & params() const
const std::bitset< 32 > & isTauFlags() const
ElementLink implementation for ROOT usage.
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
void transToPers(const Analysis::TauJet *trans, TauJet_p4 *pers, MsgStream &msg) const
Fills a persistent object from a transient object.
void persToTrans(const TauJet_p4 *pers, Analysis::TauJet *trans, MsgStream &msg) const
Fills a transient object from a persistent object.
ElementLinkIntVector_p1 m_seedCalo_tracks
ElementLinkInt_p3 m_cluster
ElementLinkIntVector_p1 m_tauDetails
P4EEtaPhiMFloat_p2 m_momentum
ParticleBase_p2 m_particleBase
ElementLinkIntVector_p1 m_tracks
unsigned long m_vetoFlags
std ::vector< std ::pair< int, float > > m_params
unsigned long m_isTauFlags
ElementLinkIntVector_p1 m_conversionTracks
ElementLinkInt_p3 m_cellCluster
unsigned long m_numberOfTracks
ElementLinkIntVector_p1 m_seedTrk_tracks
TauID
Enum for discriminants.