ATLAS Offline Software
Loading...
Searching...
No Matches
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):
12extern "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
31namespace xAOD {
32
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
140std::ostream& operator<< ( std::ostream& out,
141 const xAOD::L2CombinedMuon_v1& mu );
142
143} // namespace xAOD
144
145#endif // XAODTRIGMUON_VERSIONS_L2COMBINEDMUON_V1_H
IParticle()=default
Class describing combined muon reconstructed in the LVL2 trigger.
virtual double m() const
The invariant mass of the particle.
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
int matchFlag() const
get algorithm match flag
virtual double eta() const
The pseudorapidity ( ) of the particle.
void setSigmaPt(float value)
set sigma combined Pt
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
const ElementLink< xAOD::TrackParticleContainer > & idTrackLink() const
get ID track used to make the CB muon
void setStrategy(int value)
set algorithm strategy flag
virtual FourMom_t p4() const
The full 4-momentum of the particle.
int strategy() const
get algorithm strategy flag
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setErrorFlag(int value)
set algorithm error flag
float charge() const
get seeding muon charge
void setMatchFlag(int value)
set algorithm match flag
const ElementLink< xAOD::L2StandAloneMuonContainer > & muSATrackLink() const
get SA muon used to make the CB muon
float sigmaPt() const
get sigma combined Pt
virtual double pt() const
The transverse momentum ( ) of the particle.
void setIdTrackLink(const ElementLink< xAOD::TrackParticleContainer > &link)
set ID track used to make the CB muon
TLorentzVector FourMom_t
Definition of the 4-momentum type.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
virtual double rapidity() const
The true rapidity (y) of the particle.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
void setMuSATrackLink(const ElementLink< xAOD::L2StandAloneMuonContainer > &link)
set SA muon used to make the CB muon
virtual double e() const
The total energy of the particle.
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
void setCharge(float value)
set seeding muon charge
int errorFlag() const
get algorithm error flag
const xAOD::TrackParticle * idTrack() const
Get the ID track as a bare pointer.
const xAOD::L2StandAloneMuon * muSATrack() const
Get the SA muon as a bare pointer.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
L2StandAloneMuon_v2 L2StandAloneMuon
Define the latest version of the muon SA class.
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.