CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

l1extra::L1JetParticle Class Reference

#include <L1JetParticle.h>

Inheritance diagram for l1extra::L1JetParticle:
reco::LeafCandidate reco::Candidate

List of all members.

Public Types

enum  JetType {
  kCentral, kForward, kTau, kUndefined,
  kNumOfJetTypes
}

Public Member Functions

int bx () const
virtual L1JetParticleclone () const
 returns a clone of the Candidate object
const L1GctJetCandgctJetCand () const
const edm::Ref
< L1GctJetCandCollection > & 
gctJetCandRef () const
 L1JetParticle ()
 L1JetParticle (const LorentzVector &p4, JetType type=kUndefined, int bx=0)
 L1JetParticle (const LorentzVector &p4, const edm::Ref< L1GctJetCandCollection > &aRef, int bx=0)
 L1JetParticle (const PolarLorentzVector &p4, JetType type=kUndefined, int bx=0)
 L1JetParticle (const PolarLorentzVector &p4, const edm::Ref< L1GctJetCandCollection > &aRef, int bx=0)
void setBx (int bx)
void setType (JetType type)
JetType type () const
virtual ~L1JetParticle ()

Private Attributes

int bx_
edm::Ref< L1GctJetCandCollectionref_
JetType type_

Detailed Description

Definition at line 29 of file L1JetParticle.h.


Member Enumeration Documentation

Enumerator:
kCentral 
kForward 
kTau 
kUndefined 
kNumOfJetTypes 

Definition at line 33 of file L1JetParticle.h.


Constructor & Destructor Documentation

L1JetParticle::L1JetParticle ( )

Definition at line 32 of file L1JetParticle.cc.

Referenced by clone().

{
}
L1JetParticle::L1JetParticle ( const LorentzVector p4,
const edm::Ref< L1GctJetCandCollection > &  aRef,
int  bx = 0 
)
L1JetParticle::L1JetParticle ( const PolarLorentzVector p4,
const edm::Ref< L1GctJetCandCollection > &  aRef,
int  bx = 0 
)
L1JetParticle::L1JetParticle ( const LorentzVector p4,
JetType  type = kUndefined,
int  bx = 0 
)

Definition at line 64 of file L1JetParticle.cc.

L1JetParticle::L1JetParticle ( const PolarLorentzVector p4,
JetType  type = kUndefined,
int  bx = 0 
)

Definition at line 74 of file L1JetParticle.cc.

virtual l1extra::L1JetParticle::~L1JetParticle ( ) [inline, virtual]

Definition at line 61 of file L1JetParticle.h.

{}

Member Function Documentation

int l1extra::L1JetParticle::bx ( ) const [inline]

Definition at line 76 of file L1JetParticle.h.

References bx_.

Referenced by setBx().

         { return bx_ ; }
virtual L1JetParticle* l1extra::L1JetParticle::clone ( void  ) const [inline, virtual]

returns a clone of the Candidate object

Reimplemented from reco::LeafCandidate.

Definition at line 73 of file L1JetParticle.h.

References L1JetParticle().

         { return new L1JetParticle( *this ) ; }
const L1GctJetCand* l1extra::L1JetParticle::gctJetCand ( ) const [inline]

Definition at line 70 of file L1JetParticle.h.

References edm::Ref< C, T, F >::get(), and ref_.

Referenced by L1JetParticle().

         { return ref_.get() ; }
const edm::Ref< L1GctJetCandCollection >& l1extra::L1JetParticle::gctJetCandRef ( ) const [inline]

Definition at line 67 of file L1JetParticle.h.

References ref_.

         { return ref_ ; }
void l1extra::L1JetParticle::setBx ( int  bx) [inline]

Definition at line 85 of file L1JetParticle.h.

References bx(), and bx_.

         { bx_ = bx ; }
void l1extra::L1JetParticle::setType ( JetType  type) [inline]

Definition at line 82 of file L1JetParticle.h.

References type(), and type_.

         { type_ = type ; }
JetType l1extra::L1JetParticle::type ( ) const [inline]

Definition at line 64 of file L1JetParticle.h.

References type_.

Referenced by setType().

         { return type_ ; }

Member Data Documentation

Definition at line 96 of file L1JetParticle.h.

Referenced by bx(), and setBx().

Definition at line 95 of file L1JetParticle.h.

Referenced by gctJetCand(), gctJetCandRef(), and L1JetParticle().

Definition at line 94 of file L1JetParticle.h.

Referenced by L1JetParticle(), setType(), and type().