46 unsigned int etBits = (
myEt << 16);
48 unsigned int etaBits = (
myEta << 8);
50 return (etBits + etaBits +
myPhi);
97 bool empty()
const {
return false; }
104 }
else if (
myEta < 22) {
161 os <<
"L1GObject : Name = " <<
t.name() <<
"(Et, Eta, Phi) = (" <<
t.myEt <<
", " <<
t.myEta <<
", " <<
t.myPhi
162 <<
") (" <<
t.ptValue() <<
", " <<
t.etaValue() <<
", " <<
t.phiValue() <<
")";
173 for (
unsigned int i = 0;
i < 10;
i++) {
176 for (
unsigned int j = 10;
j < 18;
j++) {
177 phiValues[
j] = -3.1415927 + 2. * 3.1415927 * (
j - 9) / 18;
unsigned int ptCode() const
bool operator==(const L1GObject &t) const
void setEt(unsigned int et)
unsigned int phiIndex() const
unsigned int packedObject()
double associatedRegionEt() const
L1GObject(unsigned int et, unsigned int eta, unsigned int phi, std::string name)
L1GObject(const L1GObject &t)
double associatedRegionEt_
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
L1GObject & operator=(const L1GObject &t)
bool operator>=(const L1GObject &t) const
L1GObject(unsigned int packedObject, std::string name="L1GObject")
void setPhi(unsigned int phi)
double associatedJetPt() const
bool operator<(const L1GObject &t) const
bool operator<=(const L1GObject &t) const
bool ellIsolation() const
friend std::ostream & operator<<(std::ostream &os, const L1GObject &t)
void setName(std::string name)
unsigned int puLevel() const
L1GObject(unsigned int et, unsigned int eta, unsigned int phi)
double et() const final
transverse energy
unsigned int etaIndex() const
double phi() const final
momentum azimuthal angle
bool operator>(const L1GObject &t) const
void setEta(unsigned int eta)
void setP4(const LorentzVector &p4) final
set 4-momentum
double eta() const final
momentum pseudorapidity