ATLAS Offline Software
L2CombinedMuon_v1.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: L2CombinedMuon_v1.h 658542 2015-04-01 18:17:00Z ssnyder $
8 #ifndef XAODTRIGMUON_VERSIONS_L2COMBINEDMUON_V1_H
9 #define XAODTRIGMUON_VERSIONS_L2COMBINEDMUON_V1_H
10 
11 // System include(s):
12 extern "C" {
13 # include <stdint.h>
14 }
15 #include <iosfwd>
16 
17 // EDM include(s):
18 #include "AthLinks/ElementLink.h"
19 
20 // xAOD include(s):
21 #include "xAODBase/IParticle.h"
24 
25 // Local include(s):
27 
28 // ROOT include(s):
29 #include "Math/Vector4D.h"
30 
31 namespace xAOD {
32 
41  class L2CombinedMuon_v1 : public IParticle {
42 
43  public:
46 
49 
51  virtual double pt() const;
53  virtual double eta() const;
55  virtual double phi() const;
57  virtual double m() const;
59  virtual double e() const;
61  virtual double rapidity() const;
62 
64  typedef TLorentzVector FourMom_t;
65 
67  virtual FourMom_t p4() const;
68 
70  typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > GenVecFourMom_t;
71 
74 
76  virtual Type::ObjectType type() const;
77 
79 
82 
84  void setPt( float pt );
86  void setEta( float eta );
88  void setPhi( float phi );
89 
91 
94 
96  float charge() const;
98  void setCharge( float value );
99 
101  int strategy() const;
103  void setStrategy( int value );
104 
106  int errorFlag() const;
108  void setErrorFlag( int value );
109 
111  int matchFlag() const;
113  void setMatchFlag( int value );
114 
116  float sigmaPt() const;
118  void setSigmaPt( float value );
119 
125  const xAOD::TrackParticle* idTrack() const;
126 
133 
135 
136  }; // class L2CombinedMuon_v1
137 
138 
140 std::ostream& operator<< ( std::ostream& out,
141  const xAOD::L2CombinedMuon_v1& mu );
142 
143 } // namespace xAOD
144 
145 #endif // XAODTRIGMUON_VERSIONS_L2COMBINEDMUON_V1_H
xAOD::L2CombinedMuon_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
xAOD::L2CombinedMuon_v1::setStrategy
void setStrategy(int value)
set algorithm strategy flag
xAOD::L2CombinedMuon_v1::strategy
int strategy() const
get algorithm strategy flag
IParticle.h
xAOD::L2CombinedMuon_v1::setPhi
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
Definition: L2CombinedMuon_v1.cxx:89
xAOD::L2StandAloneMuon_v2
Class describing standalone muons reconstructed in the LVL2 trigger.
Definition: L2StandAloneMuon_v2.h:36
xAOD::L2CombinedMuon_v1::L2CombinedMuon_v1
L2CombinedMuon_v1()
Constructor.
Definition: L2CombinedMuon_v1.cxx:19
xAOD::L2CombinedMuon_v1::charge
float charge() const
get seeding muon charge
L2StandAloneMuonContainer.h
athena.value
value
Definition: athena.py:122
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::L2CombinedMuon_v1::setCharge
void setCharge(float value)
set seeding muon charge
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
xAOD::L2CombinedMuon_v1::idTrackLink
const ElementLink< xAOD::TrackParticleContainer > & idTrackLink() const
get ID track used to make the CB muon
xAOD::L2CombinedMuon_v1::errorFlag
int errorFlag() const
get algorithm error flag
xAOD::L2CombinedMuon_v1::setEta
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
Definition: L2CombinedMuon_v1.cxx:82
xAOD::L2CombinedMuon_v1
Class describing combined muon reconstructed in the LVL2 trigger.
Definition: L2CombinedMuon_v1.h:41
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:68
xAOD::L2CombinedMuon_v1::m
virtual double m() const
The invariant mass of the particle.
xAOD::L2CombinedMuon_v1::matchFlag
int matchFlag() const
get algorithm match flag
xAOD::L2CombinedMuon_v1::muSATrack
const xAOD::L2StandAloneMuon * muSATrack() const
Get the SA muon as a bare pointer.
xAOD::L2CombinedMuon_v1::setMatchFlag
void setMatchFlag(int value)
set algorithm match flag
xAOD::L2CombinedMuon_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
xAOD::L2CombinedMuon_v1::e
virtual double e() const
The total energy of the particle.
xAOD::L2CombinedMuon_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
xAOD::L2CombinedMuon_v1::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
Definition: L2CombinedMuon_v1.h:70
xAOD::L2CombinedMuon_v1::sigmaPt
float sigmaPt() const
get sigma combined Pt
xAOD::L2CombinedMuon_v1::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
xAOD::L2CombinedMuon_v1::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
xAOD::L2CombinedMuon_v1::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: L2CombinedMuon_v1.h:64
xAOD::L2CombinedMuon_v1::type
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
xAOD::L2CombinedMuon_v1::setSigmaPt
void setSigmaPt(float value)
set sigma combined Pt
xAOD::L2CombinedMuon_v1::setIdTrackLink
void setIdTrackLink(const ElementLink< xAOD::TrackParticleContainer > &link)
set ID track used to make the CB muon
test_pythinning.out
out
Definition: test_pythinning.py:94
xAOD::L2CombinedMuon_v1::setMuSATrackLink
void setMuSATrackLink(const ElementLink< xAOD::L2StandAloneMuonContainer > &link)
set SA muon used to make the CB muon
xAOD::L2CombinedMuon_v1::setPt
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
TrackParticle.h
xAOD::L2CombinedMuon_v1::rapidity
virtual double rapidity() const
The true rapidity (y) of the particle.
xAOD::L2CombinedMuon_v1::muSATrackLink
const ElementLink< xAOD::L2StandAloneMuonContainer > & muSATrackLink() const
get SA muon used to make the CB muon
xAOD::L2CombinedMuon_v1::idTrack
const xAOD::TrackParticle * idTrack() const
Get the ID track as a bare pointer.
Definition: L2CombinedMuon_v1.cxx:119
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition: ObjectType.h:32
xAOD::L2CombinedMuon_v1::setErrorFlag
void setErrorFlag(int value)
set algorithm error flag
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
TrackParticleContainer.h
xAOD::operator<<
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
Definition: RDataSource.cxx:53