ATLAS Offline Software
L2IsoMuon_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: L2IsoMuon_v1.h 631108 2014-11-26 07:47:24Z gwatts $
8 #ifndef XAODTRIGMUON_VERSIONS_L2ISOMUON_V1_H
9 #define XAODTRIGMUON_VERSIONS_L2ISOMUON_V1_H
10 
11 // System include(s):
12 extern "C" {
13 # include <stdint.h>
14 }
15 #include <iosfwd>
16 
17 // xAOD include(s):
18 #include "xAODBase/IParticle.h"
19 
20 // ROOT include(s):
21 #include "Math/Vector4D.h"
22 
23 namespace xAOD {
24 
33  class L2IsoMuon_v1 : public IParticle {
34 
35  public:
37  L2IsoMuon_v1();
38 
41 
43  virtual double pt() const;
45  virtual double eta() const;
47  virtual double phi() const;
49  virtual double m() const;
51  virtual double e() const;
53  virtual double rapidity() const;
54 
56  typedef TLorentzVector FourMom_t;
57 
59  virtual FourMom_t p4() const;
60 
62  typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > GenVecFourMom_t;
63 
66 
68  virtual Type::ObjectType type() const;
69 
71 
74 
76  void setPt( float pt );
78  void setEta( float eta );
80  void setPhi( float phi );
81 
83 
86 
88  uint32_t roiWord() const;
91 
93  float charge() const;
95  void setCharge( float value );
96 
98  int errorFlag() const;
100  void setErrorFlag( int value );
101 
103  float sumPt01() const;
105  void setSumPt01( float value );
106 
108  float sumPt02() const;
110  void setSumPt02( float value );
111 
113  float sumPt03() const;
115  void setSumPt03( float value );
116 
118  float sumPt04() const;
120  void setSumPt04( float value );
121 
123  float sumEt01() const;
125  void setSumEt01( float value );
126 
128  float sumEt02() const;
130  void setSumEt02( float value );
131 
133  float sumEt03() const;
135  void setSumEt03( float value );
136 
138  float sumEt04() const;
140  void setSumEt04( float value );
141 
143 
144  }; // class L2IsoMuon_v1
145 
146 } // namespace xAOD
147 
149 std::ostream& operator<< ( std::ostream& out,
150  const xAOD::L2IsoMuon_v1& mu );
151 
152 #endif // XAODTRIGMUON_VERSIONS_L2ISOMUON_V1_H
xAOD::L2IsoMuon_v1::sumPt04
float sumPt04() const
get ptcone radius DeltaR<0.4
xAOD::L2IsoMuon_v1::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
xAOD::L2IsoMuon_v1::sumEt03
float sumEt03() const
get etcone radius DeltaR<0.3
xAOD::L2IsoMuon_v1::sumEt04
float sumEt04() const
get etcone radius DeltaR<0.4
xAOD::L2IsoMuon_v1::type
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
IParticle.h
xAOD::L2IsoMuon_v1::setCharge
void setCharge(float value)
set seeding muon charge
xAOD::L2IsoMuon_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::L2IsoMuon_v1::setEta
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
Definition: L2IsoMuon_v1.cxx:80
xAOD::L2IsoMuon_v1::setSumEt04
void setSumEt04(float value)
set etcone radius DeltaR<0.4
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
xAOD::L2IsoMuon_v1::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
Definition: L2IsoMuon_v1.h:62
xAOD::L2IsoMuon_v1::L2IsoMuon_v1
L2IsoMuon_v1()
Constructor.
Definition: L2IsoMuon_v1.cxx:17
athena.value
value
Definition: athena.py:122
xAOD::L2IsoMuon_v1::rapidity
virtual double rapidity() const
The true rapidity (y) of the particle.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::L2IsoMuon_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
xAOD::L2IsoMuon_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:68
operator<<
std::ostream & operator<<(std::ostream &out, const xAOD::L2IsoMuon_v1 &mu)
Operator for printing the contents of a LVL2 muon.
Definition: L2IsoMuon_v1.cxx:132
xAOD::L2IsoMuon_v1::charge
float charge() const
get seeding muon charge
xAOD::L2IsoMuon_v1::setPhi
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
Definition: L2IsoMuon_v1.cxx:87
xAOD::L2IsoMuon_v1::roiWord
uint32_t roiWord() const
Get the RoI ID of the seeding muon.
xAOD::L2IsoMuon_v1::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: L2IsoMuon_v1.h:56
xAOD::L2IsoMuon_v1::setSumPt01
void setSumPt01(float value)
set ptcone radius DeltaR<0.1
xAOD::L2IsoMuon_v1::sumEt01
float sumEt01() const
get ptcone radius DeltaR<0.1
xAOD::L2IsoMuon_v1
Class describing isolation info for muons reconstructed in the LVL2 trigger.
Definition: L2IsoMuon_v1.h:33
xAOD::L2IsoMuon_v1::setRoiWord
void setRoiWord(uint32_t value)
Set the RoI ID of the seeding muon.
xAOD::L2IsoMuon_v1::setPt
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
xAOD::L2IsoMuon_v1::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
xAOD::L2IsoMuon_v1::setSumPt03
void setSumPt03(float value)
set ptcone radius DeltaR<0.3
xAOD::L2IsoMuon_v1::setErrorFlag
void setErrorFlag(int value)
set algorithm error flag
xAOD::L2IsoMuon_v1::m
virtual double m() const
The invariant mass of the particle.
xAOD::L2IsoMuon_v1::setSumEt02
void setSumEt02(float value)
set etcone radius DeltaR<0.2
xAOD::L2IsoMuon_v1::setSumEt01
void setSumEt01(float value)
set ptcone radius DeltaR<0.1
xAOD::L2IsoMuon_v1::setSumEt03
void setSumEt03(float value)
set etcone radius DeltaR<0.3
xAOD::L2IsoMuon_v1::setSumPt04
void setSumPt04(float value)
set ptcone radius DeltaR<0.4
xAOD::L2IsoMuon_v1::e
virtual double e() const
The total energy of the particle.
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition: ObjectType.h:32
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
xAOD::L2IsoMuon_v1::sumEt02
float sumEt02() const
get etcone radius DeltaR<0.2
xAOD::L2IsoMuon_v1::sumPt01
float sumPt01() const
get ptcone radius DeltaR<0.1
xAOD::L2IsoMuon_v1::errorFlag
int errorFlag() const
get algorithm error flag
xAOD::L2IsoMuon_v1::setSumPt02
void setSumPt02(float value)
set ptcone radius DeltaR<0.2
xAOD::L2IsoMuon_v1::sumPt02
float sumPt02() const
get ptcone radius DeltaR<0.2
xAOD::L2IsoMuon_v1::sumPt03
float sumPt03() const
get ptcone radius DeltaR<0.3