CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes | Friends
L1GObject Class Reference

#include <L1GObject.h>

Inheritance diagram for L1GObject:
reco::LeafCandidate reco::Candidate

Public Member Functions

double associatedJetPt () const
 
double associatedRegionEt () const
 
bool ellIsolation () const
 
bool empty () const
 
unsigned int etaIndex () const
 
double etaValue () const
 
void initialize ()
 
 L1GObject ()
 
 L1GObject (unsigned int et, unsigned int eta, unsigned int phi)
 
 L1GObject (unsigned int et, unsigned int eta, unsigned int phi, std::string name)
 
 L1GObject (unsigned int packedObject, std::string name="L1GObject")
 
 L1GObject (const L1GObject &t)
 
bool mipBit () const
 
std::string name () const
 
bool operator< (const L1GObject &t) const
 
bool operator<= (const L1GObject &t) const
 
L1GObjectoperator= (const L1GObject &t)
 
bool operator== (const L1GObject &t) const
 
bool operator> (const L1GObject &t) const
 
bool operator>= (const L1GObject &t) const
 
unsigned int packedObject ()
 
unsigned int phiIndex () const
 
double phiValue () const
 
unsigned int ptCode () const
 
double ptValue () const
 
unsigned int puLevel () const
 
void setEt (unsigned int et)
 
void setEta (unsigned int eta)
 
void setLSB (double lsb)
 
void setName (std::string name)
 
void setPhi (unsigned int phi)
 
bool tauVeto () const
 
 ~L1GObject () override
 
- Public Member Functions inherited from reco::LeafCandidate
Vector boostToCM () const final
 
int charge () const final
 electric charge More...
 
LeafCandidateclone () const override
 returns a clone of the Candidate object More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 fill SMatrix More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isElectron () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isPhoton () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&... args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
double mtSqr () const final
 transverse mass squared More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
void setVertex (const Point &vertex) override
 set vertex More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
const_iterator begin () const
 first daughter const_iterator More...
 
iterator begin ()
 first daughter iterator More...
 
virtual const TrackbestTrack () const
 
 Candidate ()
 default constructor More...
 
virtual float dxyError () const
 uncertainty on dxy More...
 
virtual float dzError () const
 uncertainty on dz More...
 
const_iterator end () const
 last daughter const_iterator More...
 
iterator end ()
 last daughter iterator More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Public Attributes

double associatedJetPt_
 
double associatedRegionEt_
 
bool ellIsolation_
 
bool mipBit_
 
unsigned int puLevel_
 
bool tauVeto_
 

Private Attributes

double etaValues [11]
 
unsigned int myEt
 
unsigned int myEta
 
double myLSB
 
std::string myName
 
unsigned int myPhi
 
double phiValues [18]
 

Friends

std::ostream & operator<< (std::ostream &os, const L1GObject &t)
 

Additional Inherited Members

- Public Types inherited from reco::LeafCandidate
typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1) / 2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >::type CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

Detailed Description

L1GObject represents a calorimeter global trigger object that is made from global calorimeter quantities, total ET, missing ET. These objects are created/filled while processing the calorimeter trigger information at the card level.

Definition at line 18 of file L1GObject.h.

Constructor & Destructor Documentation

◆ L1GObject() [1/5]

L1GObject::L1GObject ( )
inline

Definition at line 23 of file L1GObject.h.

23 {}

◆ L1GObject() [2/5]

L1GObject::L1GObject ( unsigned int  et,
unsigned int  eta,
unsigned int  phi 
)
inline

Definition at line 25 of file L1GObject.h.

References initialize().

26  : myEt(et), myEta(eta), myPhi(phi), myName("L1GObject") {
27  initialize();
28  }
unsigned int myPhi
Definition: L1GObject.h:223
unsigned int myEta
Definition: L1GObject.h:222
std::string myName
Definition: L1GObject.h:224
unsigned int myEt
Definition: L1GObject.h:221
void initialize()
Definition: L1GObject.h:172
double et() const final
transverse energy
double phi() const final
momentum azimuthal angle
double eta() const final
momentum pseudorapidity

◆ L1GObject() [3/5]

L1GObject::L1GObject ( unsigned int  et,
unsigned int  eta,
unsigned int  phi,
std::string  name 
)
inline

Definition at line 30 of file L1GObject.h.

References initialize().

31  : myEt(et), myEta(eta), myPhi(phi), myName(name) {
32  initialize();
33  }
unsigned int myPhi
Definition: L1GObject.h:223
unsigned int myEta
Definition: L1GObject.h:222
std::string name() const
Definition: L1GObject.h:95
std::string myName
Definition: L1GObject.h:224
unsigned int myEt
Definition: L1GObject.h:221
void initialize()
Definition: L1GObject.h:172
double et() const final
transverse energy
double phi() const final
momentum azimuthal angle
double eta() const final
momentum pseudorapidity

◆ L1GObject() [4/5]

L1GObject::L1GObject ( unsigned int  packedObject,
std::string  name = "L1GObject" 
)
inline

Definition at line 35 of file L1GObject.h.

References initialize(), myEt, myEta, myName, myPhi, name(), and packedObject().

35  {
36  myEt = (packedObject & 0xFFFF0000) >> 16;
37  myEta = (packedObject & 0x0000FF00) >> 8;
38  myPhi = (packedObject & 0x000000FF);
39  myName = name;
40  initialize();
41  }
unsigned int myPhi
Definition: L1GObject.h:223
unsigned int packedObject()
Definition: L1GObject.h:43
unsigned int myEta
Definition: L1GObject.h:222
std::string name() const
Definition: L1GObject.h:95
std::string myName
Definition: L1GObject.h:224
unsigned int myEt
Definition: L1GObject.h:221
void initialize()
Definition: L1GObject.h:172

◆ L1GObject() [5/5]

L1GObject::L1GObject ( const L1GObject t)
inline

Definition at line 58 of file L1GObject.h.

References associatedJetPt_, associatedRegionEt_, ellIsolation_, initialize(), mipBit_, myEt, myEta, myName, myPhi, puLevel_, submitPVValidationJobs::t, and tauVeto_.

59  myName = t.myName;
60  myPhi = t.myPhi;
61  myEta = t.myEta;
62  myEt = t.myEt;
63  associatedRegionEt_ = t.associatedRegionEt_;
64  associatedJetPt_ = t.associatedJetPt_;
65  ellIsolation_ = t.ellIsolation_;
66  puLevel_ = t.puLevel_;
67  tauVeto_ = t.tauVeto_;
68  mipBit_ = t.mipBit_;
69  initialize();
70  }
bool ellIsolation_
Definition: L1GObject.h:214
unsigned int myPhi
Definition: L1GObject.h:223
unsigned int myEta
Definition: L1GObject.h:222
double associatedRegionEt_
Definition: L1GObject.h:213
std::string myName
Definition: L1GObject.h:224
bool tauVeto_
Definition: L1GObject.h:217
double associatedJetPt_
Definition: L1GObject.h:211
unsigned int myEt
Definition: L1GObject.h:221
void initialize()
Definition: L1GObject.h:172
unsigned int puLevel_
Definition: L1GObject.h:212
bool mipBit_
Definition: L1GObject.h:218

◆ ~L1GObject()

L1GObject::~L1GObject ( )
inlineoverride

Definition at line 91 of file L1GObject.h.

91 {}

Member Function Documentation

◆ associatedJetPt()

double L1GObject::associatedJetPt ( ) const
inline

Definition at line 204 of file L1GObject.h.

References associatedJetPt_.

204 { return associatedJetPt_; }
double associatedJetPt_
Definition: L1GObject.h:211

◆ associatedRegionEt()

double L1GObject::associatedRegionEt ( ) const
inline

Definition at line 206 of file L1GObject.h.

References associatedRegionEt_.

206 { return associatedRegionEt_; }
double associatedRegionEt_
Definition: L1GObject.h:213

◆ ellIsolation()

bool L1GObject::ellIsolation ( ) const
inline

Definition at line 207 of file L1GObject.h.

References ellIsolation_.

207 { return ellIsolation_; };
bool ellIsolation_
Definition: L1GObject.h:214

◆ empty()

bool L1GObject::empty ( void  ) const
inline

Definition at line 97 of file L1GObject.h.

97 { return false; }

◆ etaIndex()

unsigned int L1GObject::etaIndex ( ) const
inline

Definition at line 119 of file L1GObject.h.

References myEta.

119 { return myEta; }
unsigned int myEta
Definition: L1GObject.h:222

◆ etaValue()

double L1GObject::etaValue ( ) const
inline

Definition at line 101 of file L1GObject.h.

References etaValues, and myEta.

Referenced by initialize().

101  {
102  if (myEta < 11) {
103  return -etaValues[-(myEta - 10)]; // 0-10 are negative eta values
104  } else if (myEta < 22) {
105  return etaValues[myEta - 11]; // 11-21 are positive eta values
106  }
107  return 999.;
108  }
double etaValues[11]
Definition: L1GObject.h:227
unsigned int myEta
Definition: L1GObject.h:222

◆ initialize()

void L1GObject::initialize ( void  )
inline

Definition at line 172 of file L1GObject.h.

References etaValue(), etaValues, mps_fire::i, dqmiolumiharvest::j, myLSB, phiValue(), phiValues, ptValue(), and reco::LeafCandidate::setP4().

Referenced by L1GObject(), and operator=().

172  {
173  for (unsigned int i = 0; i < 10; i++) {
174  phiValues[i] = 2. * 3.1415927 * i / 18;
175  }
176  for (unsigned int j = 10; j < 18; j++) {
177  phiValues[j] = -3.1415927 + 2. * 3.1415927 * (j - 9) / 18;
178  }
179  etaValues[0] = 0.174; // HB and inner HE bins are 0.348 wide
180  etaValues[1] = 0.522;
181  etaValues[2] = 0.870;
182  etaValues[3] = 1.218;
183  etaValues[4] = 1.566;
184  etaValues[5] = 1.956; // Last two HE bins are 0.432 and 0.828 wide
185  etaValues[6] = 2.586;
186  etaValues[7] = 3.250; // HF bins are 0.5 wide
187  etaValues[8] = 3.750;
188  etaValues[9] = 4.250;
189  etaValues[10] = 4.750;
190  myLSB = 1.0;
191 
192  // Initialize tuning parameters
193  //associatedRegionEt = -1;
194  //associatedJetPt = -1;
195  //puLevel = -1;
196 
197  // Setup the reco::Candidate (physics) 4-vector
198  math::PtEtaPhiMLorentzVector myP4(this->ptValue(), this->etaValue(), this->phiValue(), 0);
199  this->setP4(myP4);
200  }
double etaValues[11]
Definition: L1GObject.h:227
double phiValues[18]
Definition: L1GObject.h:228
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
double etaValue() const
Definition: L1GObject.h:101
double ptValue() const
Definition: L1GObject.h:99
double phiValue() const
Definition: L1GObject.h:110
void setP4(const LorentzVector &p4) final
set 4-momentum
double myLSB
Definition: L1GObject.h:226

◆ mipBit()

bool L1GObject::mipBit ( ) const
inline

Definition at line 209 of file L1GObject.h.

References mipBit_.

209 { return mipBit_; }
bool mipBit_
Definition: L1GObject.h:218

◆ name()

std::string L1GObject::name ( void  ) const
inline

Definition at line 95 of file L1GObject.h.

References myName.

Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), L1GObject(), and setName().

95 { return myName; }
std::string myName
Definition: L1GObject.h:224

◆ operator<()

bool L1GObject::operator< ( const L1GObject t) const
inline

Definition at line 132 of file L1GObject.h.

References myEt, and submitPVValidationJobs::t.

132  {
133  if (myEt < t.myEt)
134  return true;
135  else
136  return false;
137  }
unsigned int myEt
Definition: L1GObject.h:221

◆ operator<=()

bool L1GObject::operator<= ( const L1GObject t) const
inline

Definition at line 146 of file L1GObject.h.

References myEt, and submitPVValidationJobs::t.

146  {
147  if (myEt <= t.myEt)
148  return true;
149  else
150  return false;
151  }
unsigned int myEt
Definition: L1GObject.h:221

◆ operator=()

L1GObject& L1GObject::operator= ( const L1GObject t)
inline

Definition at line 72 of file L1GObject.h.

References associatedJetPt_, associatedRegionEt_, ellIsolation_, initialize(), mipBit_, myEt, myEta, myName, myPhi, puLevel_, submitPVValidationJobs::t, and tauVeto_.

72  {
73  if (this != &t) {
74  myName = t.myName;
75  myPhi = t.myPhi;
76  myEta = t.myEta;
77  myEt = t.myEt;
78  associatedRegionEt_ = t.associatedRegionEt_;
79  associatedJetPt_ = t.associatedJetPt_;
80  ellIsolation_ = t.ellIsolation_;
81  puLevel_ = t.puLevel_;
82  tauVeto_ = t.tauVeto_;
83  mipBit_ = t.mipBit_;
84  initialize();
85  }
86  return *this;
87  }
bool ellIsolation_
Definition: L1GObject.h:214
unsigned int myPhi
Definition: L1GObject.h:223
unsigned int myEta
Definition: L1GObject.h:222
double associatedRegionEt_
Definition: L1GObject.h:213
std::string myName
Definition: L1GObject.h:224
bool tauVeto_
Definition: L1GObject.h:217
double associatedJetPt_
Definition: L1GObject.h:211
unsigned int myEt
Definition: L1GObject.h:221
void initialize()
Definition: L1GObject.h:172
unsigned int puLevel_
Definition: L1GObject.h:212
bool mipBit_
Definition: L1GObject.h:218

◆ operator==()

bool L1GObject::operator== ( const L1GObject t) const
inline

Definition at line 125 of file L1GObject.h.

References myEt, and submitPVValidationJobs::t.

125  {
126  if (myEt == t.myEt)
127  return true;
128  else
129  return false;
130  }
unsigned int myEt
Definition: L1GObject.h:221

◆ operator>()

bool L1GObject::operator> ( const L1GObject t) const
inline

Definition at line 139 of file L1GObject.h.

References myEt, and submitPVValidationJobs::t.

139  {
140  if (myEt > t.myEt)
141  return true;
142  else
143  return false;
144  }
unsigned int myEt
Definition: L1GObject.h:221

◆ operator>=()

bool L1GObject::operator>= ( const L1GObject t) const
inline

Definition at line 153 of file L1GObject.h.

References myEt, and submitPVValidationJobs::t.

153  {
154  if (myEt >= t.myEt)
155  return true;
156  else
157  return false;
158  }
unsigned int myEt
Definition: L1GObject.h:221

◆ packedObject()

unsigned int L1GObject::packedObject ( )
inline

Definition at line 43 of file L1GObject.h.

References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, myEt, myEta, and myPhi.

Referenced by L1GObject().

43  {
44  if (myEt > 0xFFFF)
45  myEt = 0xFFFF;
46  unsigned int etBits = (myEt << 16);
47  if (myEta < 0xFF) {
48  unsigned int etaBits = (myEta << 8);
49  if (myPhi < 0xFF) {
50  return (etBits + etaBits + myPhi);
51  }
52  }
53  std::cerr << "L1GObject: Cannot pack content - fatal error: " << myEt << ", " << myEta << ", " << myPhi
54  << std::endl;
55  return (etBits);
56  }
unsigned int myPhi
Definition: L1GObject.h:223
unsigned int myEta
Definition: L1GObject.h:222
unsigned int myEt
Definition: L1GObject.h:221

◆ phiIndex()

unsigned int L1GObject::phiIndex ( ) const
inline

Definition at line 121 of file L1GObject.h.

References myPhi.

121 { return myPhi; }
unsigned int myPhi
Definition: L1GObject.h:223

◆ phiValue()

double L1GObject::phiValue ( ) const
inline

Definition at line 110 of file L1GObject.h.

References myPhi, and phiValues.

Referenced by initialize().

110  {
111  if (myPhi < 18)
112  return phiValues[myPhi];
113  else
114  return 999.;
115  }
double phiValues[18]
Definition: L1GObject.h:228
unsigned int myPhi
Definition: L1GObject.h:223

◆ ptCode()

unsigned int L1GObject::ptCode ( ) const
inline

Definition at line 117 of file L1GObject.h.

References myEt.

117 { return myEt; }
unsigned int myEt
Definition: L1GObject.h:221

◆ ptValue()

double L1GObject::ptValue ( ) const
inline

Definition at line 99 of file L1GObject.h.

References myEt, and myLSB.

Referenced by initialize().

99 { return myLSB * myEt; }
unsigned int myEt
Definition: L1GObject.h:221
double myLSB
Definition: L1GObject.h:226

◆ puLevel()

unsigned int L1GObject::puLevel ( ) const
inline

Definition at line 205 of file L1GObject.h.

References puLevel_.

205 { return puLevel_; }
unsigned int puLevel_
Definition: L1GObject.h:212

◆ setEt()

void L1GObject::setEt ( unsigned int  et)
inline

Definition at line 166 of file L1GObject.h.

References reco::LeafCandidate::et(), and myEt.

166 { myEt = et; }
unsigned int myEt
Definition: L1GObject.h:221
double et() const final
transverse energy

◆ setEta()

void L1GObject::setEta ( unsigned int  eta)
inline

Definition at line 167 of file L1GObject.h.

References reco::LeafCandidate::eta(), and myEta.

167 { myEta = eta; }
unsigned int myEta
Definition: L1GObject.h:222
double eta() const final
momentum pseudorapidity

◆ setLSB()

void L1GObject::setLSB ( double  lsb)
inline

Definition at line 170 of file L1GObject.h.

References l1tHGCalVFEProducer_cfi::lsb, and myLSB.

◆ setName()

void L1GObject::setName ( std::string  name)
inline

Definition at line 169 of file L1GObject.h.

References myName, and name().

169 { myName = name; }
std::string name() const
Definition: L1GObject.h:95
std::string myName
Definition: L1GObject.h:224

◆ setPhi()

void L1GObject::setPhi ( unsigned int  phi)
inline

Definition at line 168 of file L1GObject.h.

References myPhi, and reco::LeafCandidate::phi().

168 { myPhi = phi; }
unsigned int myPhi
Definition: L1GObject.h:223
double phi() const final
momentum azimuthal angle

◆ tauVeto()

bool L1GObject::tauVeto ( ) const
inline

Definition at line 208 of file L1GObject.h.

References tauVeto_.

208 { return tauVeto_; }
bool tauVeto_
Definition: L1GObject.h:217

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const L1GObject t 
)
friend

Definition at line 160 of file L1GObject.h.

160  {
161  os << "L1GObject : Name = " << t.name() << "(Et, Eta, Phi) = (" << t.myEt << ", " << t.myEta << ", " << t.myPhi
162  << ") (" << t.ptValue() << ", " << t.etaValue() << ", " << t.phiValue() << ")";
163  return os;
164  }

Member Data Documentation

◆ associatedJetPt_

double L1GObject::associatedJetPt_

Definition at line 211 of file L1GObject.h.

Referenced by associatedJetPt(), L1GObject(), and operator=().

◆ associatedRegionEt_

double L1GObject::associatedRegionEt_

Definition at line 213 of file L1GObject.h.

Referenced by associatedRegionEt(), L1GObject(), and operator=().

◆ ellIsolation_

bool L1GObject::ellIsolation_

Definition at line 214 of file L1GObject.h.

Referenced by ellIsolation(), L1GObject(), and operator=().

◆ etaValues

double L1GObject::etaValues[11]
private

Definition at line 227 of file L1GObject.h.

Referenced by etaValue(), and initialize().

◆ mipBit_

bool L1GObject::mipBit_

Definition at line 218 of file L1GObject.h.

Referenced by L1GObject(), mipBit(), and operator=().

◆ myEt

unsigned int L1GObject::myEt
private

◆ myEta

unsigned int L1GObject::myEta
private

Definition at line 222 of file L1GObject.h.

Referenced by etaIndex(), etaValue(), L1GObject(), operator=(), packedObject(), and setEta().

◆ myLSB

double L1GObject::myLSB
private

Definition at line 226 of file L1GObject.h.

Referenced by initialize(), ptValue(), and setLSB().

◆ myName

std::string L1GObject::myName
private

Definition at line 224 of file L1GObject.h.

Referenced by L1GObject(), name(), operator=(), and setName().

◆ myPhi

unsigned int L1GObject::myPhi
private

Definition at line 223 of file L1GObject.h.

Referenced by L1GObject(), operator=(), packedObject(), phiIndex(), phiValue(), and setPhi().

◆ phiValues

double L1GObject::phiValues[18]
private

Definition at line 228 of file L1GObject.h.

Referenced by initialize(), and phiValue().

◆ puLevel_

unsigned int L1GObject::puLevel_

Definition at line 212 of file L1GObject.h.

Referenced by L1GObject(), operator=(), and puLevel().

◆ tauVeto_

bool L1GObject::tauVeto_

Definition at line 217 of file L1GObject.h.

Referenced by L1GObject(), operator=(), and tauVeto().