|
ATLAS Offline Software
|
Go to the documentation of this file.
39 static void setBit(
unsigned char &
field,
unsigned num,
bool val )
47 static bool getBit(
unsigned char field,
unsigned num )
49 return (
field & (1 <<
num)) ? true :
false;
54 MsgStream &
msg )
const
66 if( getBit( pers->
m_flags, 0 ) ) {
67 std::vector<std::pair<TauJetParameters::TauID, double> >
params;
83 if( getBit( pers->
m_flags, 2 ) )
85 if( getBit( pers->
m_flags, 3 ) )
101 MsgStream &
msg )
const
110 jetCnv.transToPers( &jetLink, &pers->
m_jet,
msg );
118 if( trans->
tauID() ) {
119 setBit( pers->
m_flags, 0,
true );
126 pers->
m_params.emplace_back (
static_cast<int>(
p.first ),
p.second);
129 setBit( pers->
m_flags, 0,
false );
132 setBit( pers->
m_flags, 2,
true );
134 setBit( pers->
m_flags, 3,
true );
ParticleBase_p2 m_particleBase
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.
This file contains the class definition for the ElementLinkCnv_p3 class.
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) 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...
ElementLinkInt_p3 m_cluster
bool hasAuthor(const TauJetParameters ::Author &author) const
check if this object has Author author (can be more than one)
unsigned int numberOfTracks() const
Get number of tracks.
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
std ::vector< std ::pair< int, float > > m_params
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
void transToPers(const Analysis::TauJet *trans, TauJet_p4 *pers, MsgStream &msg) const
Fills a persistent object from a transient object
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...
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
ElementLinkIntVector_p1 m_conversionTracks
ElementLinkIntVector_p1 m_seedTrk_tracks
Object for taus common for ESD and AOD.
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
ElementLinkIntVector_p1 m_seedCalo_tracks
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 long m_isTauFlags
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)
unsigned long m_numberOfTracks
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...
ElementLinkInt_p3 m_cellCluster
const ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector() const
Get track link vector.
void persToTrans(const TauJet_p4 *pers, Analysis::TauJet *trans, MsgStream &msg) const
Fills a transient object from a persistent object.
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.
ElementLinkIntVector_p1 m_tracks
const ElementLink< CaloClusterContainer > cellClusterLink() const
ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster i...
P4EEtaPhiMFloat_p2 m_momentum
unsigned long m_vetoFlags
void setAuthor(const TauJetParameters ::Author &author)
set the author flag to true
const std::vector< std::pair< TauJetParameters::TauID, double > > & params() const
ElementLinkIntVector_p1 m_tauDetails
ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector()