|
ATLAS Offline Software
|
Go to the documentation of this file.
46 MsgStream&
msg )
const
64 &muonSpectrometerTrackLink,
77 &innerExtrapTrackLink,
147 float sigma = (sigmaM+sigmaP)/2.0;
155 std::vector<DepositInCalo> deposits;
157 typedef std::vector<DepositInCalo_p1> Deposits_t;
158 for ( Deposits_t::const_iterator
167 caloEnergyContainer->
push_back( caloEnergy );
181 MsgStream&
msg )
const
183 msg << MSG::ERROR <<
"Analysis::Muon at " << trans <<
" Persistent Muon_p1 at " << pers <<
" Cannot write to Muon_p1" <<
endmsg;
184 throw std::runtime_error(
"Writing to Muon_p1 is not supported - MuonCnv_p1::transToPers(...)");
ElementLinkInt_p1 m_muonSpectrometerTrackParticle
link to associated TrackParticle (Muon Spectrometer)
This file contains the class definition for the ElementLinkCnv_p1 class.
void set_isAlsoFoundByLowPt(const bool isAlsoSeenByLowPt)
set is also seen by low Pt reconstruction
bool toContainedElement(BaseConstReference data, ElementType element, IProxyDict *sg=0)
Set from element pointer and a reference to the container (storable)
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
void setCaloEnergyLink(const ElementLink< MuonCaloEnergyContainer > &l)
void set_bestMatch(bool best)
set the best match
ElementLinkCnv_p1< ElementLink< Rec::TrackParticleContainer > > TrackLinkCnv_t
void setMuonSpectrometerTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
void set_allAuthors(const uint16_t allAuthors)
set all the authors of this Muon the authors are 16-bit word, 1-bit reserved for each muon Algorithm ...
std::string m_muonCaloEnergyContainerName
ElementLinkInt_p1 m_cluster
link to CaloCluster
void setMuonExtrapTrackLink(const ElementLink< Rec::TrackParticleContainer > &l, bool isValid)
void setInDetTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
@ innAngle
common MuGirl and MuTag parameters
ElementLinkCnv_p1< ElementLink< CaloClusterContainer > > ClusterLinkCnv_t
void set_isAlsoFoundByCaloMuonId(const bool isAlsoSeenByCaloMuonId)
set is also seen by calo muon Id reconstruction
void setInnerExtrapTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
void set_matchNumberDoF(int x)
set the chi2 parameters - number of degrees of freedom
bool m_hasCombinedMuonTrackParticle
void set_matchChi2(float x)
set the chi2 parameters - matchChi2
bool m_hasMuonExtrapolatedTrackParticle
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...
virtual void persToTrans(const Muon_p1 *persObj, Analysis::Muon *transObj, MsgStream &msg) const override
Method creating the transient representation of Analysis::Muon from its persistent representation Muo...
bool add_author(MuonParameters::Author author)
the add_author method returns a bool:
Author
do not change the order of these enums.
void set_author(MuonParameters::Author author)
set the primary Author : the primary author is the algorithm that first created this Muon
void setCombinedTrackLink(const ElementLink< Rec::TrackParticleContainer > &l, bool isValid)
unsigned int m_author
author
P4IPtCotThPhiM_p1 m_momentum
the 4-mom part
ElementLinkInt_p1 m_combinedMuonTrackParticle
links to associated TrackParticle (Combined muon)
@ segmentDeltaEta
MuTag parameters.
std::vector< int > m_associatedPhiDigits
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
float m_fsrCandidateEnergy
void setClusterLink(const ElementLink< CaloClusterContainer > &l)
Data object for a StoreGate container holding a vector of CaloEnergy, the detailed energy loss descri...
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
StoreGateSvc_t m_storeGate
class describing the measured energy loss associated to muons on the detector level,...
CaloEnergy_p1 m_caloEnergyLoss
energy loss in calorimeter
ParticleBase_p1 m_particleBase
the ParticleBase part
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual void persToTrans(const DepositInCalo_p1 *persObj, DepositInCalo *transObj, MsgStream &msg) const override
Method creating the transient representation of DepositInCalo from its persistent representation Depo...
bool m_isAlsoFoundByCaloMuonId
void set_parameter(MuonParameters::ParamDef index, double value, bool overwrite=false)
set a parameter in the MuonParamDefs.h
ElementLinkInt_p1 m_innerExtrapolatedTrackParticle
link to associated TrackParticle (Inner extrapolated)
virtual void persToTrans(const P4ImplIPtCotThPhiM_p1 *persObj, P4ImplIPtCotThPhiM *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplIPtCotThPhiM from its persistent representation...
ElementLinkInt_p1 m_inDetTrackParticle
link to associated TrackParticle (Inner Detector)
void set_fsrCandidateEnergy(const float fs)
FSR Candidate Energy.
void set_numberOfAssociatedEtaDigits(int nMDT, int nCSC, int nRPC, int nTGC)
Set the LowPt stuff.
double m_matchChi2
Chi2 of the track matching.
@ etcone10
isolation enums - common parameters
void set_numberOfAssociatedPhiDigits(int nMDT, int nCSC, int nRPC, int nTGC)
Set the LowPt - Associated Phi Digits.
bool m_isAlsoFoundByLowPt
void set_deposits(const std::vector< DepositInCalo > &deposits)
set the detailed energy deposits in the calorimeter layers
std::vector< DepositInCalo_p1 > m_deposits
std::vector< int > m_associatedEtaDigits
Low Pt muon stuff.
virtual void transToPers(const Analysis::Muon *transObj, Muon_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation Muon_p1 from its transient representation Analysis::Muo...
MuonParameters::Author author() const
return the primary author of this Muon - the algorithm that is most likely to reconstruct prompt muon...
std::vector< float > m_parameters
muon parameters
ElementLinkInt_p1 m_muonExtrapolatedTrackParticle
link to associated TrackParticle (Muon extrapolated)