ATLAS Offline Software
MuonCnv_p6.cxx
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // MuonCnv_p6.cxx
8 // Implementation file for class MuonCnv_p6
9 // Author: Ketevi A. Assamagan <ketevi@bnl.gov>
11 
12 
13 // STL includes
14 
15 // DataModelAthenaPool includes
18 
19 // EventCommonTPCnv includes
21 
22 // ParticleEventTPCnv includes
24 
25 // muonEvent includes
26 #include "muonEvent/Muon.h"
27 
28 // RecTPCnv includes
29 #include "RecTPCnv/MuonCnv_p6.h"
30 
35 
36 // pre-allocate converters
37 static const P4ImplIPtCotThPhiMCnv_p1 momCnv;
38 static const ParticleBaseCnv_p2 partBaseCnv;
39 static const TrackLinkCnv_t trackCnv;
40 static const ClusterLinkCnv_t clusterCnv;
41 static const segmentLinkCnv_t segmentCnv;
42 static const caloEnergyLinkCnv_t caloEnergyCnv;
43 
44 
45 void MuonCnv_p6::persToTrans( const Muon_p6* pers,
46  Analysis::Muon* trans,
47  MsgStream& msg ) const
48 {
49 // msg << MSG::DEBUG << "Loading Muon from persistent state..."
50 // << endmsg;
51 
52  // base classes
53  momCnv.persToTrans ( &pers->m_momentum, &trans->momentumBase(), msg );
54  partBaseCnv.persToTrans( &pers->m_particleBase, &trans->particleBase(), msg );
55 
56  // element links
58  trackCnv.persToTrans( &pers->m_inDetTrackParticle,
59  &inDetTrackLink,
60  msg );
61  trans->setInDetTrackLink (inDetTrackLink);
62 
63  ElementLink<Rec::TrackParticleContainer> muonSpectrometerTrackLink;
65  &muonSpectrometerTrackLink,
66  msg );
67  trans->setMuonSpectrometerTrackLink (muonSpectrometerTrackLink);
68 
69  ElementLink<Rec::TrackParticleContainer> muonExtrapTrackLink;
71  &muonExtrapTrackLink,
72  msg );
73  trans->setMuonExtrapTrackLink (muonExtrapTrackLink,
75 
76  ElementLink<Rec::TrackParticleContainer> innerExtrapTrackLink;
78  &innerExtrapTrackLink,
79  msg );
80  trans->setInnerExtrapTrackLink (innerExtrapTrackLink);
81 
84  &combinedTrackLink,
85  msg );
86  trans->setCombinedTrackLink (combinedTrackLink,
88 
89  ElementLink<Rec::TrackParticleContainer> statCombinedTrackLink;
91  &statCombinedTrackLink,
92  msg );
93  trans->setStatCombinedTrackLink (statCombinedTrackLink);
94 
96  clusterCnv.persToTrans( &pers->m_cluster,
97  &clusterLink,
98  msg );
99  trans->setClusterLink (clusterLink);
100 
102  segmentCnv.persToTrans( &pers->m_muonSegments,
103  &muonSegmentLink,
104  msg );
105  trans->setMuonSegmentLink (muonSegmentLink);
106 
108  caloEnergyCnv.persToTrans( &pers->m_caloEnergyLoss,
109  &caloEnergyLink,
110  msg );
111  trans->setCaloEnergyLink (caloEnergyLink);
112 
113  // muon parameters
114  const std::vector<float>& params = pers->m_parameters;
119 
124 
129 
137 
140  if (params.size() >= 24) {
144  if (params.size() >= 25) {
145  trans->set_parameter(MuonParameters::momentumBalanceSignificance, params[24] ); // added muonEvent-05-05-26
146  trans->set_parameter(MuonParameters::etconeNoEm10, params[ 25] ); // added muonEvent-05-05-30
150  }
151  }
152 
153  // author
154  trans->set_author (static_cast<MuonParameters::Author>(pers->m_author));
155 
156  // chi2 of the track matching
157  trans->set_matchChi2 (pers->m_matchChi2);
158 
159  // Low Pt muon stuff
162 
163  trans->set_bestMatch (pers->m_bestMatch);
164  trans->set_matchNumberDoF (pers->m_matchNumberDoF);
165 
166  double outerMatchChi2PerNdof = (double) trans->parameter(MuonParameters::segmentChi2OverDoF);
167  if (pers->m_outerMatchNumberDoF == 0 &&
168  outerMatchChi2PerNdof>0)
169  {
170  int segmentMatchNdof = 4;
171  double chi2 = segmentMatchNdof * outerMatchChi2PerNdof;
172  trans->set_outerMatchChi2 (chi2, segmentMatchNdof);
173  trans->set_outerMatchChi2 (0, 0);
174  trans->set_parameter(MuonParameters::segmentChi2OverDoF, outerMatchChi2PerNdof);
175  }
176  else {
177  double chi2 = pers->m_outerMatchNumberDoF * outerMatchChi2PerNdof;
179  }
180 
181  // this muon is also found by the lowPT reconstruction algorithm
183 
184  // this muon is also found by the Calo Muon ID reconstruction algorithm
186 
189 
190  trans->set_isCorrected (pers->m_isCorrected);
191 
192  trans->set_allAuthors (pers->m_allAuthors);
193  trans->set_isMuonBits ( pers->m_isMuonBits );
195 
196 // msg << MSG::DEBUG << "Loaded Muon from persistent state [OK]"
197 // << endmsg;
198 
199  return;
200 }
201 
203  Muon_p6* pers,
204  MsgStream& msg ) const
205 {
206 // msg << MSG::DEBUG << "Creating persistent state of Muon..."
207 // << endmsg;
208 
209  // base classes
210  momCnv.transToPers ( &trans->momentumBase(), &pers->m_momentum, msg );
211  partBaseCnv.transToPers( &trans->particleBase(), &pers->m_particleBase, msg );
212 
213  // element links
214  trackCnv.transToPers( &trans->inDetTrackLink(),
215  &pers->m_inDetTrackParticle,
216  msg );
217  trackCnv.transToPers( &trans->muonSpectrometerTrackLink(),
219  msg );
220  trackCnv.transToPers( &trans->muonExtrapTrackLink(),
222  msg );
223  trackCnv.transToPers( &trans->innerExtrapTrackLink(),
225  msg );
226  trackCnv.transToPers( &trans->combinedTrackLink(),
228  msg );
229  trackCnv.transToPers( &trans->statCombinedTrackLink(),
231  msg );
232 
233  clusterCnv.transToPers( &trans->clusterLink(),
234  &pers->m_cluster,
235  msg );
236 
237  segmentCnv.transToPers( &trans->muonSegmentLink(),
238  &pers->m_muonSegments,
239  msg );
240 
242  caloEnergyCnv.transToPers( &trans->caloEnergyLink(),
243  &pers ->m_caloEnergyLoss,
244  msg );
245 
246  // muon parameters
247  std::vector<float>& params = pers->m_parameters;
248  params.resize( 29 );
253 
258 
263 
271 
272  params[19] = trans->parameter(MuonParameters::t0);
273  params[20] = trans->parameter(MuonParameters::beta);
278 
283 
284  pers->m_author = trans->author();
285 
286  // needed ? most probably...
287  pers->m_hasCombinedMuon = false;
288  pers->m_hasInDetTrackParticle = false;
292 
293  // not used
294  pers->m_hasCluster = false;
295 
296  // chi2 of the track matching
297  pers->m_matchChi2 = trans->matchChi2();
298 
299  // Low Pt muon stuff
302  //
303 
304  pers->m_bestMatch = trans->bestMatch();
305  pers->m_matchNumberDoF = trans->matchNumberDoF();
307 
309  pers->m_isAlsoFoundByLowPt = trans->alsoFoundByLowPt();
310 
313 
316 
317  pers->m_isCorrected = trans->isCorrected();
318 
319  pers->m_allAuthors = trans->allAuthors();
320 
321  pers->m_isMuonBits = trans->isMuon().qualityWord();
322 
323  pers->m_isMuonLikelihood = trans->isMuonLikelihood();
324 
325 // msg << MSG::DEBUG << "Created persistent state of Muon [OK]"
326 // << endmsg;
327  return;
328 }
caloEnergyLinkCnv_t
ElementLinkCnv_p3< ElementLink< MuonCaloEnergyContainer > > caloEnergyLinkCnv_t
Definition: MuonCnv_p6.cxx:33
segmentLinkCnv_t
ElementLinkVectorCnv_p1< ElementLinkVector< Trk::SegmentCollection > > segmentLinkCnv_t
Definition: MuonCnv_p6.cxx:34
ElementLinkCnv_p3
Definition: ElementLinkCnv_p3.h:27
Analysis::Muon::combinedTrackLink
const ElementLink< Rec::TrackParticleContainer > & combinedTrackLink() const
Access to the smart pointer to the muon combined track.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:378
ElementLinkCnv_p3.h
This file contains the class definition for the ElementLinkCnv_p3 class.
Analysis::Muon::allAuthors
uint16_t allAuthors() const
get all the authors of this Muon for example during overlap checking, the same Muon may have been rec...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:122
MuonParameters::etcone20
@ etcone20
Definition: MuonParamDefs.h:114
Muon_p6::m_caloMuonAlsoFoundByMuonReco
unsigned short m_caloMuonAlsoFoundByMuonReco
Definition: Muon_p6.h:122
Analysis::Muon::set_isCorrected
void set_isCorrected(bool corrected)
is this Muon corrected in AOD-to-AOD correction or not?
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:603
Analysis::Muon::set_isAlsoFoundByLowPt
void set_isAlsoFoundByLowPt(const bool isAlsoSeenByLowPt)
set is also seen by low Pt reconstruction
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:189
Muon_p6::m_caloEnergyLoss
ElementLinkInt_p3 m_caloEnergyLoss
energy loss in calorimeter
Definition: Muon_p6.h:120
Analysis::Muon::setCaloEnergyLink
void setCaloEnergyLink(const ElementLink< MuonCaloEnergyContainer > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:411
MuonParameters::nucone20
@ nucone20
Definition: MuonParamDefs.h:118
Analysis::Muon::set_bestMatch
void set_bestMatch(bool best)
set the best match
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:600
TrackLinkCnv_t
ElementLinkCnv_p3< ElementLink< Rec::TrackParticleContainer > > TrackLinkCnv_t
Definition: MuonCnv_p6.cxx:31
Analysis::Muon::isMuonLikelihood
float isMuonLikelihood() const
return the muon likelihood - not yet used
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:578
Analysis::Muon::setMuonSpectrometerTrackLink
void setMuonSpectrometerTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:399
MuonParameters::t0
@ t0
MuGirl parameter.
Definition: MuonParamDefs.h:143
Analysis::Muon::set_outerMatchChi2
void set_outerMatchChi2(double x, int ndof)
set the outer match chi2/ndof for combined and segment-tagged muons
Definition: Muon.cxx:497
ParticleBaseCnv_p2::persToTrans
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...
Definition: ParticleBaseCnv_p2.cxx:42
Muon_p6::m_inDetTrackParticle
ElementLinkInt_p3 m_inDetTrackParticle
link to associated TrackParticle (Inner Detector)
Definition: Muon_p6.h:90
MuonParameters::etconeNoEm40
@ etconeNoEm40
Definition: MuonParamDefs.h:129
Analysis::Muon::set_allAuthors
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 ...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:142
ClusterLinkCnv_t
ElementLinkCnv_p3< ElementLink< CaloClusterContainer > > ClusterLinkCnv_t
Definition: MuonCnv_p6.cxx:32
ElementLinkVectorCnv_p1
Definition: ElementLinkVectorCnv_p1.h:28
Analysis::Muon::caloMuonAlsoFoundByMuonReco
unsigned short caloMuonAlsoFoundByMuonReco() const
is this Calo Muon also reconstructed by one of the standard muon reconstruction algorithm?...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:186
Analysis::Muon::setMuonExtrapTrackLink
void setMuonExtrapTrackLink(const ElementLink< Rec::TrackParticleContainer > &l, bool isValid)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:361
MuonParameters::scatteringNeighbourSignificance
@ scatteringNeighbourSignificance
Definition: MuonParamDefs.h:135
Analysis::Muon::setInDetTrackLink
void setInDetTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:355
MuonParameters::innAngle
@ innAngle
common MuGirl and MuTag parameters
Definition: MuonParamDefs.h:148
Analysis::Muon::isMuon
const MuonQualityWord & isMuon() const
access to muon quality information the user must take care to delete the pointer the Muon does not ow...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:558
Muon_p6::m_combinedMuonTrackParticle
ElementLinkInt_p3 m_combinedMuonTrackParticle
links to associated TrackParticle (Combined muon)
Definition: Muon_p6.h:105
ElementLinkVectorCnv_p1.h
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
Muon_p6::m_momentum
P4IPtCotThPhiM_p1 m_momentum
the 4-mom part
Definition: Muon_p6.h:61
ElementLinkVector
ElementLinkVector implementation for standalone ROOT.
Definition: AthLinks/ElementLinkVector.h:65
ElementLinkVectorCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
Analysis::Muon::statCombinedTrackLink
const ElementLink< Rec::TrackParticleContainer > & statCombinedTrackLink() const
Access to the smart pointer to the muon combined track.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:391
Analysis::Muon::set_isMuonLikelihood
void set_isMuonLikelihood(const float muonLikelihood)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:758
MuonQualityWord::qualityWord
uint16_t qualityWord() const
get back the quality word
Definition: MuonQualityWord.h:72
Analysis::Muon::set_isAlsoFoundByCaloMuonId
void set_isAlsoFoundByCaloMuonId(const bool isAlsoSeenByCaloMuonId)
set is also seen by calo muon Id reconstruction
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:194
Muon_p6::m_matchNumberDoF
int m_matchNumberDoF
Definition: Muon_p6.h:114
Analysis::Muon::bestMatch
bool bestMatch() const
Is this combined Muon the best match? Given a combined track, this method returns true/false if this ...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:271
Analysis::Muon::setInnerExtrapTrackLink
void setInnerExtrapTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:374
Analysis::Muon::clusterLink
const ElementLink< CaloClusterContainer > & clusterLink() const
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:403
MuonParameters::ptcone20
@ ptcone20
Definition: MuonParamDefs.h:122
MuonParameters::segmentDeltaPhi
@ segmentDeltaPhi
Definition: MuonParamDefs.h:140
MuonParameters::annBarrel
@ annBarrel
Definition: MuonParamDefs.h:145
Analysis::Muon::set_matchNumberDoF
void set_matchNumberDoF(int x)
set the chi2 parameters - number of degrees of freedom
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:595
Muon_p6::m_matchChi2
float m_matchChi2
Chi2 of the track matching.
Definition: Muon_p6.h:82
Muon_p6::m_hasInnerExtrapolatedTrackParticle
bool m_hasInnerExtrapolatedTrackParticle
Definition: Muon_p6.h:75
ParticleBaseCnv_p2::transToPers
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...
Definition: ParticleBaseCnv_p2.cxx:73
MuonParameters::momentumBalanceSignificance
@ momentumBalanceSignificance
Definition: MuonParamDefs.h:136
Muon_p6::m_allAuthors
uint16_t m_allAuthors
Definition: Muon_p6.h:126
Analysis::Muon::set_matchChi2
void set_matchChi2(float x)
set the chi2 parameters - matchChi2
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:593
Analysis::Muon::muonExtrapTrackLink
const ElementLink< Rec::TrackParticleContainer > & muonExtrapTrackLink() const
Access to the smart pointer to the muon track extrapolated to the vertex.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:359
Muon_p6
Definition: Muon_p6.h:34
MuonParameters::ptcone40
@ ptcone40
Definition: MuonParamDefs.h:124
Muon_p6::m_bestMatch
bool m_bestMatch
Definition: Muon_p6.h:113
MuonParameters::etcone30
@ etcone30
Definition: MuonParamDefs.h:115
Muon_p6::m_outerMatchNumberDoF
int m_outerMatchNumberDoF
Definition: Muon_p6.h:130
Analysis::Muon::setMuonSegmentLink
void setMuonSegmentLink(const ElementLinkVector< Trk::SegmentCollection > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:346
MuonParameters::Author
Author
do not change the order of these enums.
Definition: MuonParamDefs.h:39
Analysis::Muon::innerExtrapTrackLink
const ElementLink< Rec::TrackParticleContainer > & innerExtrapTrackLink() const
Access to the smart pointer to the muon track extrapolated out from the vertex.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:372
Analysis::Muon::set_author
void set_author(MuonParameters::Author author)
set the primary Author : the primary author is the algorithm that first created this Muon
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:133
Muon_p6::m_innerExtrapolatedTrackParticle
ElementLinkInt_p3 m_innerExtrapolatedTrackParticle
link to associated TrackParticle (Inner extrapolated)
Definition: Muon_p6.h:102
Analysis::Muon::setCombinedTrackLink
void setCombinedTrackLink(const ElementLink< Rec::TrackParticleContainer > &l, bool isValid)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:380
ParticleBaseCnv_p2.h
Analysis::Muon::parameter
double parameter(MuonParameters::ParamDef x) const
get a parameter for this Muon - isolation energy in some cone for example
Definition: Muon.cxx:485
Analysis::Muon::alsoFoundByLowPt
bool alsoFoundByLowPt() const
is this muon also reconstructed by the lowPt algorithm?
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:174
Muon_p6::m_hasCluster
bool m_hasCluster
Definition: Muon_p6.h:79
ElementLinkCnv_p1::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
Analysis::Muon::matchNumberDoF
int matchNumberDoF() const
get the number of DoF of the track match at perigee
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:227
MuonParameters::midAngle
@ midAngle
Definition: MuonParamDefs.h:149
MuonParameters::etconeNoEm30
@ etconeNoEm30
Definition: MuonParamDefs.h:128
Muon_p6::m_hasCombinedMuonTrackParticle
bool m_hasCombinedMuonTrackParticle
Definition: Muon_p6.h:76
MuonParameters::segmentDeltaEta
@ segmentDeltaEta
MuTag parameters.
Definition: MuonParamDefs.h:139
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:523
Muon_p6::m_isMuonBits
uint16_t m_isMuonBits
Definition: Muon_p6.h:127
Muon_p6::m_isAlsoFoundByLowPt
bool m_isAlsoFoundByLowPt
Definition: Muon_p6.h:116
Analysis::Muon::isCorrected
bool isCorrected() const
is this Muon corrected or not in AOD-to-AOD correction
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:274
Muon_p6::m_hasMuonExtrapolatedTrackParticle
bool m_hasMuonExtrapolatedTrackParticle
Definition: Muon_p6.h:74
Muon_p6::m_isAlsoFoundByCaloMuonId
bool m_isAlsoFoundByCaloMuonId
Definition: Muon_p6.h:117
MuonCnv_p6::persToTrans
virtual void persToTrans(const Muon_p6 *persObj, Analysis::Muon *transObj, MsgStream &msg) const override
Method creating the transient representation of Analysis::Muon from its persistent representation Muo...
Definition: MuonCnv_p6.cxx:45
Analysis::Muon
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:48
Muon_p6::m_muonSegments
ElementLinkIntVector_p1 m_muonSegments
link to the Trk::Segment
Definition: Muon_p6.h:93
Analysis::Muon::setClusterLink
void setClusterLink(const ElementLink< CaloClusterContainer > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:405
P4ImplIPtCotThPhiMCnv_p1::transToPers
virtual void transToPers(const P4ImplIPtCotThPhiM *transObj, P4ImplIPtCotThPhiM_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation P4ImplIPtCotThPhiM_p1 from its transient representation...
Definition: P4ImplIPtCotThPhiMCnv_p1.cxx:38
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
Muon_p6::m_hasCombinedMuon
bool m_hasCombinedMuon
switches
Definition: Muon_p6.h:72
Analysis::Muon::muonSpectrometerTrackLink
const ElementLink< Rec::TrackParticleContainer > & muonSpectrometerTrackLink() const
Access to the smart pointer to the muon spectrometer track.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:397
Muon_p6::m_associatedEtaDigits
std::vector< int > m_associatedEtaDigits
Low Pt muon stuff.
Definition: Muon_p6.h:85
Muon_p6::m_isCorrected
bool m_isCorrected
Definition: Muon_p6.h:124
ParticleImpl::momentumBase
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
Definition: ParticleImpl.h:393
MuonParameters::nucone10
@ nucone10
Definition: MuonParamDefs.h:117
Muon_p6::m_parameters
std::vector< float > m_parameters
muon parameters
Definition: Muon_p6.h:111
Muon_p6::m_cluster
ElementLinkInt_p3 m_cluster
link to CaloCluster
Definition: Muon_p6.h:108
ElementLinkCnv_p1< ElementLink< Rec::TrackParticleContainer > >
MuonParameters::scatteringCurvatureSignificance
@ scatteringCurvatureSignificance
Definition: MuonParamDefs.h:134
Analysis::Muon::caloEnergyLink
const ElementLink< MuonCaloEnergyContainer > & caloEnergyLink() const
Access to the smart pointer to the calorimeter energy loss objeect associated to the muon.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:409
Analysis::Muon::hasCombinedMuonTrackParticleFlag
bool hasCombinedMuonTrackParticleFlag() const
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:387
MuonCnv_p6.h
ParticleImpl::particleBase
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
Definition: ParticleImpl.h:403
MuonParameters::nucone40
@ nucone40
Definition: MuonParamDefs.h:120
ElementLinkCnv_p1::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
MuonParameters::nucone30
@ nucone30
Definition: MuonParamDefs.h:119
Analysis::Muon::alsoFoundByCaloMuonId
bool alsoFoundByCaloMuonId() const
is this muon also reconstructed by a CaloMuon ID algorithm?
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:177
Muon_p6::m_hasInDetTrackParticle
bool m_hasInDetTrackParticle
Definition: Muon_p6.h:73
P4ImplIPtCotThPhiMCnv_p1.h
MuonParameters::etconeNoEm10
@ etconeNoEm10
Definition: MuonParamDefs.h:126
Analysis::Muon::muonSegmentLink
const ElementLinkVector< Trk::SegmentCollection > & muonSegmentLink() const
Access to vector smart pointers (ElementLink) to muon segments.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:344
Analysis::Muon::set_parameter
void set_parameter(MuonParameters::ParamDef index, double value, bool overwrite=false)
set a parameter in the MuonParamDefs.h
Definition: Muon.cxx:888
Muon_p6::m_isMuonLikelihood
float m_isMuonLikelihood
Definition: Muon_p6.h:128
P4ImplIPtCotThPhiMCnv_p1::persToTrans
virtual void persToTrans(const P4ImplIPtCotThPhiM_p1 *persObj, P4ImplIPtCotThPhiM *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplIPtCotThPhiM from its persistent representation...
Definition: P4ImplIPtCotThPhiMCnv_p1.cxx:26
P4ImplIPtCotThPhiMCnv_p1
Definition: P4ImplIPtCotThPhiMCnv_p1.h:38
MuonCnv_p6::transToPers
virtual void transToPers(const Analysis::Muon *transObj, Muon_p6 *persObj, MsgStream &msg) const override
Method creating the persistent representation Muon_p1 from its transient representation Analysis::Muo...
Definition: MuonCnv_p6.cxx:202
Analysis::Muon::hasMuonExtrapolatedTrackParticleFlag
bool hasMuonExtrapolatedTrackParticleFlag() const
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:368
Analysis::Muon::set_numberOfAssociatedEtaDigits
void set_numberOfAssociatedEtaDigits(int nMDT, int nCSC, int nRPC, int nTGC)
Set the LowPt stuff.
Definition: Muon.cxx:840
Analysis::Muon::setStatCombinedTrackLink
void setStatCombinedTrackLink(const ElementLink< Rec::TrackParticleContainer > &l)
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:393
MuonParameters::annEndCap
@ annEndCap
Definition: MuonParamDefs.h:146
MuonParameters::etconeNoEm20
@ etconeNoEm20
Definition: MuonParamDefs.h:127
ElementLinkVectorCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
Analysis::Muon::associatedPhiDigits
const std::vector< int > & associatedPhiDigits() const
Access to the MS phi hits associated by segment-tagged muons.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:486
MuonParameters::etcone10
@ etcone10
isolation enums - common parameters
Definition: MuonParamDefs.h:113
Muon.h
Analysis::Muon::set_numberOfAssociatedPhiDigits
void set_numberOfAssociatedPhiDigits(int nMDT, int nCSC, int nRPC, int nTGC)
Set the LowPt - Associated Phi Digits.
Definition: Muon.cxx:848
MuonParameters::ptcone30
@ ptcone30
Definition: MuonParamDefs.h:123
Analysis::Muon::inDetTrackLink
const ElementLink< Rec::TrackParticleContainer > & inDetTrackLink() const
Access to the smart pointer to inner detector track.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:353
Muon_p6::m_particleBase
ParticleBase_p2 m_particleBase
the ParticleBase part
Definition: Muon_p6.h:64
MuonParameters::etcone40
@ etcone40
Definition: MuonParamDefs.h:116
Muon_p6::m_statCombinedMuonTrackParticle
ElementLinkInt_p3 m_statCombinedMuonTrackParticle
links to associated TrackParticle (statistically combined muon)
Definition: Muon_p6.h:133
Analysis::Muon::matchChi2
double matchChi2() const
get the chi2 of the MS-ID track match at the perigee
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:217
MuonParameters::ptcone10
@ ptcone10
Definition: MuonParamDefs.h:121
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
Analysis::Muon::outerMatchNumberDoF
int outerMatchNumberDoF() const
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:229
MuonParameters::segmentChi2OverDoF
@ segmentChi2OverDoF
Definition: MuonParamDefs.h:141
Muon_p6::m_author
unsigned int m_author
author
Definition: Muon_p6.h:69
MuonParameters::beta
@ beta
Definition: MuonParamDefs.h:144
Analysis::Muon::set_isMuonBits
void set_isMuonBits(const uint16_t isMuonBits)
set muon quality parameters
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:756
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
Analysis::Muon::set_caloMuonAlsoFoundByMuonReco
void set_caloMuonAlsoFoundByMuonReco(const unsigned short isAlsoFoundByMuonReco)
set if this calo muon is also reconstructed by one of the standard muon recosntruction algorithms tha...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:204
Muon_p6::m_associatedPhiDigits
std::vector< int > m_associatedPhiDigits
Definition: Muon_p6.h:86
ParticleBaseCnv_p2
Definition: ParticleBaseCnv_p2.h:30
Analysis::Muon::associatedEtaDigits
const std::vector< int > & associatedEtaDigits() const
Access to the MS eta hits associated by segment-tagged muons.
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:484
MuonParameters::spectrometerFieldIntegral
@ spectrometerFieldIntegral
Discriminators and further variables.
Definition: MuonParamDefs.h:133
Analysis::Muon::author
MuonParameters::Author author() const
return the primary author of this Muon - the algorithm that is most likely to reconstruct prompt muon...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:111
Muon_p6::m_muonExtrapolatedTrackParticle
ElementLinkInt_p3 m_muonExtrapolatedTrackParticle
link to associated TrackParticle (Muon extrapolated)
Definition: Muon_p6.h:99
Muon_p6::m_muonSpectrometerTrackParticle
ElementLinkInt_p3 m_muonSpectrometerTrackParticle
link to associated TrackParticle (Muon Spectrometer)
Definition: Muon_p6.h:96