CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, string name)
 
 L1GObject (unsigned int packedObject, string name="L1GObject")
 
 L1GObject (const L1GObject &t)
 
bool mipBit () const
 
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 (string name)
 
void setPhi (unsigned int phi)
 
bool tauVeto () const
 
virtual ~L1GObject ()
 
- Public Member Functions inherited from reco::LeafCandidate
virtual const_iterator begin () const
 first daughter const_iterator More...
 
virtual iterator begin ()
 first daughter iterator More...
 
template<typename S >
daughter_iterator< S >::type beginFilter (const S &s) const
 
virtual Vector boostToCM () const GCC11_FINAL
 
virtual int charge () const GCC11_FINAL
 electric charge More...
 
virtual LeafCandidateclone () const
 returns a clone of the Candidate object More...
 
virtual const Candidatedaughter (size_type) const
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (size_type)
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (const std::string &s)
 return daughter with a specified role name More...
 
virtual const Candidatedaughter (const std::string &s) const
 return daughter with a specified role name More...
 
virtual const_iterator end () const
 last daughter const_iterator More...
 
virtual iterator end ()
 last daughter iterator More...
 
template<typename S >
daughter_iterator< S >::type endFilter (const S &s) const
 
virtual double energy () const GCC11_FINAL
 energy More...
 
virtual double et () const GCC11_FINAL
 transverse energy More...
 
virtual float eta () const GCC11_FINAL
 momentum pseudorapidity More...
 
virtual void fillVertexCovariance (CovarianceMatrix &v) const
 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...
 
virtual bool hasMasterClone () const
 
virtual bool hasMasterClonePtr () const
 
virtual bool isCaloMuon () const
 
virtual bool isConvertedPhoton () const
 
virtual bool isElectron () const
 
virtual bool isGlobalMuon () const
 
virtual bool isJet () const
 
virtual bool isMuon () const
 
virtual bool isPhoton () const
 
virtual bool isStandAloneMuon () const
 
virtual bool isTrackerMuon () const
 
 LeafCandidate ()
 default constructor More...
 
 LeafCandidate (const Candidate &c)
 
template<typename P4 >
 LeafCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from Any values More...
 
 LeafCandidate (Charge q, const PtEtaPhiMass &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
 LeafCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
 LeafCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
 LeafCandidate (Charge q, const GlobalVector &p3, float iEnergy, bool massless, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
 LeafCandidate (Charge q, const GlobalVector &p3, float iEnergy, float imass, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
 constructor from values More...
 
virtual bool longLived () const GCC11_FINAL
 is long lived? More...
 
virtual float mass () const GCC11_FINAL
 mass More...
 
virtual bool massConstraint () const GCC11_FINAL
 do mass constraint? More...
 
virtual float massSqr () const GCC11_FINAL
 mass squared More...
 
virtual const CandidateBaseRefmasterClone () const
 
virtual const CandidatePtrmasterClonePtr () const
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
virtual Vector momentum () const GCC11_FINAL
 spatial momentum vector More...
 
virtual const Candidatemother (size_type) const
 return mother at a given position (throws an exception) More...
 
virtual double mt () const GCC11_FINAL
 transverse mass More...
 
virtual double mtSqr () const GCC11_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...
 
virtual size_t numberOfDaughters () const
 number of daughters More...
 
virtual size_t numberOfMothers () const
 number of mothers More...
 
virtual size_t numberOfSourceCandidatePtrs () const
 
virtual double p () const GCC11_FINAL
 magnitude of momentum vector More...
 
virtual const LorentzVectorp4 () const GCC11_FINAL
 four-momentum Lorentz vector More...
 
virtual int pdgId () const GCC11_FINAL
 PDG identifier. More...
 
virtual float phi () const GCC11_FINAL
 momentum azimuthal angle More...
 
virtual const PolarLorentzVectorpolarP4 () const GCC11_FINAL
 four-momentum Lorentz vector More...
 
virtual float pt () const GCC11_FINAL
 transverse momentum More...
 
virtual double px () const GCC11_FINAL
 x coordinate of momentum vector More...
 
virtual double py () const GCC11_FINAL
 y coordinate of momentum vector More...
 
virtual double pz () const GCC11_FINAL
 z coordinate of momentum vector More...
 
virtual double rapidity () const GCC11_FINAL
 rapidity More...
 
virtual void setCharge (Charge q) GCC11_FINAL
 set electric charge More...
 
virtual void setLongLived () GCC11_FINAL
 set long lived flag More...
 
virtual void setMass (double m) GCC11_FINAL
 set particle mass More...
 
virtual void setMassConstraint () GCC11_FINAL
 set mass constraint flag More...
 
virtual void setP4 (const LorentzVector &p4) GCC11_FINAL
 set 4-momentum More...
 
virtual void setP4 (const PolarLorentzVector &p4) GCC11_FINAL
 set 4-momentum More...
 
virtual void setPdgId (int pdgId) GCC11_FINAL
 
virtual void setPz (double pz) GCC11_FINAL
 
virtual void setStatus (int status) GCC11_FINAL
 set status word More...
 
virtual void setThreeCharge (Charge qx3) GCC11_FINAL
 set electric charge More...
 
virtual void setVertex (const Point &vertex)
 set vertex More...
 
virtual CandidatePtr sourceCandidatePtr (size_type i) const
 
virtual int status () const GCC11_FINAL
 status word More...
 
virtual double theta () const GCC11_FINAL
 momentum polar angle More...
 
virtual int threeCharge () const GCC11_FINAL
 electric charge More...
 
virtual const Pointvertex () const
 vertex position (overwritten by PF...) More...
 
virtual double vertexChi2 () const
 chi-squares More...
 
virtual double vertexCovariance (int i, int j) const
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const GCC11_FINAL
 return SMatrix More...
 
virtual double vertexNdof () const
 
virtual double vertexNormalizedChi2 () const
 chi-squared divided by n.d.o.f. More...
 
virtual double vx () const
 x coordinate of vertex position More...
 
virtual double vy () const
 y coordinate of vertex position More...
 
virtual double vz () const
 z coordinate of vertex position More...
 
virtual double y () const GCC11_FINAL
 rapidity More...
 
virtual ~LeafCandidate ()
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
template<typename S >
daughter_iterator< S >::type beginFilter (const S &s) const
 
virtual const TrackbestTrack () const
 
 Candidate ()
 default constructor More...
 
template<typename S >
daughter_iterator< S >::type endFilter (const S &s) const
 
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
 
string myName
 
unsigned int myPhi
 
double phiValues [18]
 

Friends

ostream & operator<< (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...
 
- Static Public Member Functions inherited from reco::LeafCandidate
static double dmass (GlobalVector v, double e)
 
static double magd (GlobalVector v)
 
- Static Public Attributes inherited from reco::LeafCandidate
static const unsigned int longLivedTag = 65536
 long lived flag More...
 
static const unsigned int massConstraintTag = 131072
 do mass constraint flag More...
 
- Protected Member Functions inherited from reco::LeafCandidate
void cacheCartesian () const
 set internal cache More...
 
void cachePolar () const
 set internal cache More...
 
void clearCache () const
 clear internal cache More...
 
virtual bool overlap (const Candidate &) const
 check overlap with another Candidate More...
 
- Protected Attributes inherited from reco::LeafCandidate
bool cacheCartesianFixed_
 
bool cachePolarFixed_
 has cache been set? More...
 
float eta_
 
float mass_
 
LorentzVector p4Cartesian_
 internal cache for p4 More...
 
PolarLorentzVector p4Polar_
 internal cache for p4 More...
 
int pdgId_
 PDG identifier. More...
 
float phi_
 
float pt_
 four-momentum Lorentz vector More...
 
Charge qx3_
 electric charge More...
 
int status_
 status word More...
 
Point vertex_
 vertex position 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 21 of file L1GObject.h.

Constructor & Destructor Documentation

L1GObject::L1GObject ( )
inline

Definition at line 28 of file L1GObject.h.

28 {}
L1GObject::L1GObject ( unsigned int  et,
unsigned int  eta,
unsigned int  phi 
)
inline

Definition at line 30 of file L1GObject.h.

References initialize().

31  : myEt(et), myEta(eta), myPhi(phi), myName("L1GObject") {initialize();}
virtual double et() const GCC11_FINAL
transverse energy
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int myEta
Definition: L1GObject.h:232
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
string myName
Definition: L1GObject.h:234
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
unsigned int myEt
Definition: L1GObject.h:231
void initialize()
Definition: L1GObject.h:179
L1GObject::L1GObject ( unsigned int  et,
unsigned int  eta,
unsigned int  phi,
string  name 
)
inline

Definition at line 33 of file L1GObject.h.

References initialize().

34  : myEt(et), myEta(eta), myPhi(phi), myName(name) {initialize();}
virtual double et() const GCC11_FINAL
transverse energy
string name() const
Definition: L1GObject.h:97
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int myEta
Definition: L1GObject.h:232
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
string myName
Definition: L1GObject.h:234
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
unsigned int myEt
Definition: L1GObject.h:231
void initialize()
Definition: L1GObject.h:179
L1GObject::L1GObject ( unsigned int  packedObject,
string  name = "L1GObject" 
)
inline

Definition at line 36 of file L1GObject.h.

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

36  {
37  myEt = (packedObject & 0xFFFF0000) >> 16;
38  myEta = (packedObject & 0x0000FF00) >> 8;
39  myPhi = (packedObject & 0x000000FF);
40  myName = name;
41  initialize();
42  }
string name() const
Definition: L1GObject.h:97
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int packedObject()
Definition: L1GObject.h:44
unsigned int myEta
Definition: L1GObject.h:232
string myName
Definition: L1GObject.h:234
unsigned int myEt
Definition: L1GObject.h:231
void initialize()
Definition: L1GObject.h:179
L1GObject::L1GObject ( const L1GObject t)
inline

Definition at line 57 of file L1GObject.h.

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

58  {
59  myName = t.myName;
60  myPhi = t.myPhi;
61  myEta = t.myEta;
62  myEt = t.myEt;
66  puLevel_ = t.puLevel_;
67  tauVeto_ = t.tauVeto_;
68  mipBit_ = t.mipBit_;
69  initialize();
70  }
bool ellIsolation_
Definition: L1GObject.h:223
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int myEta
Definition: L1GObject.h:232
double associatedRegionEt_
Definition: L1GObject.h:222
string myName
Definition: L1GObject.h:234
bool tauVeto_
Definition: L1GObject.h:226
double associatedJetPt_
Definition: L1GObject.h:220
unsigned int myEt
Definition: L1GObject.h:231
void initialize()
Definition: L1GObject.h:179
unsigned int puLevel_
Definition: L1GObject.h:221
bool mipBit_
Definition: L1GObject.h:227
virtual L1GObject::~L1GObject ( )
inlinevirtual

Definition at line 93 of file L1GObject.h.

93 {}

Member Function Documentation

double L1GObject::associatedJetPt ( ) const
inline

Definition at line 213 of file L1GObject.h.

References associatedJetPt_.

213 { return associatedJetPt_; }
double associatedJetPt_
Definition: L1GObject.h:220
double L1GObject::associatedRegionEt ( ) const
inline

Definition at line 215 of file L1GObject.h.

References associatedRegionEt_.

215 { return associatedRegionEt_; }
double associatedRegionEt_
Definition: L1GObject.h:222
bool L1GObject::ellIsolation ( ) const
inline

Definition at line 216 of file L1GObject.h.

References ellIsolation_.

216 { return ellIsolation_; };
bool ellIsolation_
Definition: L1GObject.h:223
bool L1GObject::empty ( void  ) const
inline

Definition at line 99 of file L1GObject.h.

99 {return false;}
unsigned int L1GObject::etaIndex ( ) const
inline

Definition at line 124 of file L1GObject.h.

References myEta.

124 {return myEta;}
unsigned int myEta
Definition: L1GObject.h:232
double L1GObject::etaValue ( ) const
inline

Definition at line 105 of file L1GObject.h.

References etaValues, and myEta.

Referenced by initialize().

105  {
106  if(myEta < 11) {
107  return -etaValues[-(myEta - 10)]; // 0-10 are negative eta values
108  }
109  else if (myEta < 22) {
110  return etaValues[myEta - 11]; // 11-21 are positive eta values
111  }
112  return 999.;
113  }
double etaValues[11]
Definition: L1GObject.h:237
unsigned int myEta
Definition: L1GObject.h:232
void L1GObject::initialize ( )
inline

Definition at line 179 of file L1GObject.h.

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

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

180  {
181  for(unsigned int i = 0; i < 10; i++) {
182  phiValues[i] = 2. * 3.1415927 * i / 18;
183  }
184  for(unsigned int j = 10; j < 18; j++) {
185  phiValues[j] = -3.1415927 + 2. * 3.1415927 * (j - 9) / 18;
186  }
187  etaValues[ 0] = 0.174; // HB and inner HE bins are 0.348 wide
188  etaValues[ 1] = 0.522;
189  etaValues[ 2] = 0.870;
190  etaValues[ 3] = 1.218;
191  etaValues[ 4] = 1.566;
192  etaValues[ 5] = 1.956; // Last two HE bins are 0.432 and 0.828 wide
193  etaValues[ 6] = 2.586;
194  etaValues[ 7] = 3.250; // HF bins are 0.5 wide
195  etaValues[ 8] = 3.750;
196  etaValues[ 9] = 4.250;
197  etaValues[10] = 4.750;
198  myLSB = 1.0;
199 
200  // Initialize tuning parameters
201  //associatedRegionEt = -1;
202  //associatedJetPt = -1;
203  //puLevel = -1;
204 
205  // Setup the reco::Candidate (physics) 4-vector
207  this->ptValue(), this->etaValue(), this->phiValue(), 0);
208  this->setP4(myP4);
209  }
double etaValues[11]
Definition: L1GObject.h:237
int i
Definition: DBlmapReader.cc:9
double phiValues[18]
Definition: L1GObject.h:238
double etaValue() const
Definition: L1GObject.h:105
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
int j
Definition: DBlmapReader.cc:9
virtual void setP4(const LorentzVector &p4) GCC11_FINAL
set 4-momentum
double phiValue() const
Definition: L1GObject.h:115
double ptValue() const
Definition: L1GObject.h:101
double myLSB
Definition: L1GObject.h:236
bool L1GObject::mipBit ( ) const
inline

Definition at line 218 of file L1GObject.h.

References mipBit_.

218 { return mipBit_; }
bool mipBit_
Definition: L1GObject.h:227
string L1GObject::name ( void  ) const
inline
bool L1GObject::operator< ( const L1GObject t) const
inline

Definition at line 136 of file L1GObject.h.

References myEt.

137  {
138  if(myEt < t.myEt) return true;
139  else return false;
140  }
unsigned int myEt
Definition: L1GObject.h:231
bool L1GObject::operator<= ( const L1GObject t) const
inline

Definition at line 148 of file L1GObject.h.

References myEt.

149  {
150  if(myEt <= t.myEt) return true;
151  else return false;
152  }
unsigned int myEt
Definition: L1GObject.h:231
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_, and tauVeto_.

73  {
74  if(this != &t)
75  {
76  myName = t.myName;
77  myPhi = t.myPhi;
78  myEta = t.myEta;
79  myEt = t.myEt;
83  puLevel_ = t.puLevel_;
84  tauVeto_ = t.tauVeto_;
85  mipBit_ = t.mipBit_;
86  initialize();
87  }
88  return *this;
89  }
bool ellIsolation_
Definition: L1GObject.h:223
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int myEta
Definition: L1GObject.h:232
double associatedRegionEt_
Definition: L1GObject.h:222
string myName
Definition: L1GObject.h:234
bool tauVeto_
Definition: L1GObject.h:226
double associatedJetPt_
Definition: L1GObject.h:220
unsigned int myEt
Definition: L1GObject.h:231
void initialize()
Definition: L1GObject.h:179
unsigned int puLevel_
Definition: L1GObject.h:221
bool mipBit_
Definition: L1GObject.h:227
bool L1GObject::operator== ( const L1GObject t) const
inline

Definition at line 130 of file L1GObject.h.

References myEt.

131  {
132  if(myEt == t.myEt) return true;
133  else return false;
134  }
unsigned int myEt
Definition: L1GObject.h:231
bool L1GObject::operator> ( const L1GObject t) const
inline

Definition at line 142 of file L1GObject.h.

References myEt.

143  {
144  if(myEt > t.myEt) return true;
145  else return false;
146  }
unsigned int myEt
Definition: L1GObject.h:231
bool L1GObject::operator>= ( const L1GObject t) const
inline

Definition at line 154 of file L1GObject.h.

References myEt.

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

Definition at line 44 of file L1GObject.h.

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

44  {
45  if(myEt > 0xFFFF) 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 << std::endl;
54  return (etBits);
55  }
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int myEta
Definition: L1GObject.h:232
unsigned int myEt
Definition: L1GObject.h:231
unsigned int L1GObject::phiIndex ( ) const
inline

Definition at line 126 of file L1GObject.h.

References myPhi.

126 {return myPhi;}
unsigned int myPhi
Definition: L1GObject.h:233
double L1GObject::phiValue ( ) const
inline

Definition at line 115 of file L1GObject.h.

References myPhi, and phiValues.

Referenced by initialize().

115  {
116  if(myPhi < 18)
117  return phiValues[myPhi];
118  else
119  return 999.;
120  }
double phiValues[18]
Definition: L1GObject.h:238
unsigned int myPhi
Definition: L1GObject.h:233
unsigned int L1GObject::ptCode ( ) const
inline

Definition at line 122 of file L1GObject.h.

References myEt.

122 {return myEt;}
unsigned int myEt
Definition: L1GObject.h:231
double L1GObject::ptValue ( ) const
inline

Definition at line 101 of file L1GObject.h.

References myEt, and myLSB.

Referenced by initialize().

101  {
102  return myLSB * myEt;
103  }
unsigned int myEt
Definition: L1GObject.h:231
double myLSB
Definition: L1GObject.h:236
unsigned int L1GObject::puLevel ( ) const
inline

Definition at line 214 of file L1GObject.h.

References puLevel_.

214 { return puLevel_; }
unsigned int puLevel_
Definition: L1GObject.h:221
void L1GObject::setEt ( unsigned int  et)
inline

Definition at line 173 of file L1GObject.h.

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

173 {myEt = et;}
virtual double et() const GCC11_FINAL
transverse energy
unsigned int myEt
Definition: L1GObject.h:231
void L1GObject::setEta ( unsigned int  eta)
inline

Definition at line 174 of file L1GObject.h.

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

174 {myEta = eta;}
unsigned int myEta
Definition: L1GObject.h:232
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
void L1GObject::setLSB ( double  lsb)
inline

Definition at line 177 of file L1GObject.h.

References myLSB.

177 {myLSB = lsb;}
double myLSB
Definition: L1GObject.h:236
void L1GObject::setName ( string  name)
inline

Definition at line 176 of file L1GObject.h.

References myName, and name().

176 {myName = name;}
string name() const
Definition: L1GObject.h:97
string myName
Definition: L1GObject.h:234
void L1GObject::setPhi ( unsigned int  phi)
inline

Definition at line 175 of file L1GObject.h.

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

175 {myPhi = phi;}
unsigned int myPhi
Definition: L1GObject.h:233
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
bool L1GObject::tauVeto ( ) const
inline

Definition at line 217 of file L1GObject.h.

References tauVeto_.

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

Friends And Related Function Documentation

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

Definition at line 160 of file L1GObject.h.

161  {
162  os << "L1GObject : Name = " << t.name()
163  << "(Et, Eta, Phi) = ("
164  << t.myEt << ", "
165  << t.myEta << ", "
166  << t.myPhi << ") ("
167  << t.ptValue() << ", "
168  << t.etaValue() << ", "
169  << t.phiValue() << ")";
170  return os;
171  }
string name() const
Definition: L1GObject.h:97
unsigned int myPhi
Definition: L1GObject.h:233
double etaValue() const
Definition: L1GObject.h:105
unsigned int myEta
Definition: L1GObject.h:232
unsigned int myEt
Definition: L1GObject.h:231
double phiValue() const
Definition: L1GObject.h:115
double ptValue() const
Definition: L1GObject.h:101

Member Data Documentation

double L1GObject::associatedJetPt_

Definition at line 220 of file L1GObject.h.

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

double L1GObject::associatedRegionEt_

Definition at line 222 of file L1GObject.h.

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

bool L1GObject::ellIsolation_

Definition at line 223 of file L1GObject.h.

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

double L1GObject::etaValues[11]
private

Definition at line 237 of file L1GObject.h.

Referenced by etaValue(), and initialize().

bool L1GObject::mipBit_

Definition at line 227 of file L1GObject.h.

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

unsigned int L1GObject::myEt
private
unsigned int L1GObject::myEta
private

Definition at line 232 of file L1GObject.h.

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

double L1GObject::myLSB
private

Definition at line 236 of file L1GObject.h.

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

string L1GObject::myName
private

Definition at line 234 of file L1GObject.h.

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

unsigned int L1GObject::myPhi
private

Definition at line 233 of file L1GObject.h.

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

double L1GObject::phiValues[18]
private

Definition at line 238 of file L1GObject.h.

Referenced by initialize(), and phiValue().

unsigned int L1GObject::puLevel_

Definition at line 221 of file L1GObject.h.

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

bool L1GObject::tauVeto_

Definition at line 226 of file L1GObject.h.

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