CMS 3D CMS Logo

l1extra::L1MuonParticle Class Reference

#include <DataFormats/L1Trigger/interface/L1MuonParticle.h>

Inheritance diagram for l1extra::L1MuonParticle:

reco::LeafCandidate reco::Candidate reco::Particle

List of all members.

Public Member Functions

int bx () const
virtual L1MuonParticleclone () const
 returns a clone of the Candidate object
const L1MuGMTExtendedCandgmtMuonCand () const
bool isForward () const
bool isIsolated () const
bool isMip () const
bool isRPC () const
 L1MuonParticle (Charge q, const PolarLorentzVector &p4, bool isolated=false, bool mip=false, bool forward=false, bool rpc=false, unsigned int detector=0, int bx=0)
 L1MuonParticle (Charge q, const LorentzVector &p4, bool isolated=false, bool mip=false, bool forward=false, bool rpc=false, unsigned int detector=0, int bx=0)
 L1MuonParticle (Charge q, const PolarLorentzVector &p4, const L1MuGMTExtendedCand &aCand, int bx=0)
 L1MuonParticle (Charge q, const LorentzVector &p4, const L1MuGMTExtendedCand &aCand, int bx=0)
 L1MuonParticle ()
void setBx (int bx)
void setForward (bool isForward)
void setIsolated (bool isIso)
void setMip (bool isMip)
void setRPC (bool isRPC)
virtual ~L1MuonParticle ()

Private Attributes

int bx_
L1MuGMTExtendedCand cand_
bool forward_
bool isolated_
bool mip_
bool rpc_


Detailed Description

Definition at line 28 of file L1MuonParticle.h.


Constructor & Destructor Documentation

L1MuonParticle::L1MuonParticle (  ) 

Definition at line 32 of file L1MuonParticle.cc.

Referenced by clone().

00033 {
00034 }

L1MuonParticle::L1MuonParticle ( Charge  q,
const LorentzVector p4,
const L1MuGMTExtendedCand aCand,
int  bx = 0 
)

Definition at line 36 of file L1MuonParticle.cc.

References cand_, forward_, L1MuGMTExtendedCand::isFwd(), L1MuGMTCand::isol(), isolated_, L1MuGMTExtendedCand::isRPC(), L1MuGMTCand::mip(), mip_, and rpc_.

00041   : LeafCandidate( q, p4 ),
00042     cand_( aCand ),
00043     bx_( bx )
00044 {
00045    isolated_ = cand_.isol() ;
00046    mip_ = cand_.mip() ;
00047    forward_ = cand_.isFwd() ;
00048    rpc_ = cand_.isRPC() ;
00049 }

L1MuonParticle::L1MuonParticle ( Charge  q,
const PolarLorentzVector p4,
const L1MuGMTExtendedCand aCand,
int  bx = 0 
)

Definition at line 51 of file L1MuonParticle.cc.

References cand_, forward_, L1MuGMTExtendedCand::isFwd(), L1MuGMTCand::isol(), isolated_, L1MuGMTExtendedCand::isRPC(), L1MuGMTCand::mip(), mip_, and rpc_.

00056   : LeafCandidate( q, p4 ),
00057     cand_( aCand ),
00058     bx_( bx )
00059 {
00060    isolated_ = cand_.isol() ;
00061    mip_ = cand_.mip() ;
00062    forward_ = cand_.isFwd() ;
00063    rpc_ = cand_.isRPC() ;
00064 }

L1MuonParticle::L1MuonParticle ( Charge  q,
const LorentzVector p4,
bool  isolated = false,
bool  mip = false,
bool  forward = false,
bool  rpc = false,
unsigned int  detector = 0,
int  bx = 0 
)

Definition at line 66 of file L1MuonParticle.cc.

00074    : LeafCandidate( q, p4 ),
00075      isolated_( isolated ),
00076      mip_( mip ),
00077      forward_( forward ),
00078      rpc_( rpc ),
00079      cand_( L1MuGMTExtendedCand() ),
00080      bx_( bx )
00081 {
00082 }

L1MuonParticle::L1MuonParticle ( Charge  q,
const PolarLorentzVector p4,
bool  isolated = false,
bool  mip = false,
bool  forward = false,
bool  rpc = false,
unsigned int  detector = 0,
int  bx = 0 
)

Definition at line 84 of file L1MuonParticle.cc.

00092    : LeafCandidate( q, p4 ),
00093      isolated_( isolated ),
00094      mip_( mip ),
00095      forward_( forward ),
00096      rpc_( rpc ),
00097      cand_( L1MuGMTExtendedCand() ),
00098      bx_( bx )
00099 {
00100 }

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

Definition at line 67 of file L1MuonParticle.h.

00067 {}


Member Function Documentation

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

Definition at line 88 of file L1MuonParticle.h.

References bx_.

00089          { return bx_ ; }

virtual L1MuonParticle* l1extra::L1MuonParticle::clone ( void   )  const [inline, virtual]

returns a clone of the Candidate object

Reimplemented from reco::LeafCandidate.

Definition at line 85 of file L1MuonParticle.h.

References L1MuonParticle().

00086          { return new L1MuonParticle( *this ) ; }

const L1MuGMTExtendedCand& l1extra::L1MuonParticle::gmtMuonCand (  )  const [inline]

Definition at line 82 of file L1MuonParticle.h.

References cand_.

00083          { return cand_ ; }

bool l1extra::L1MuonParticle::isForward (  )  const [inline]

Definition at line 76 of file L1MuonParticle.h.

References forward_.

00077          { return forward_ ; }

bool l1extra::L1MuonParticle::isIsolated (  )  const [inline]

Definition at line 70 of file L1MuonParticle.h.

References isolated_.

00071          { return isolated_ ; }

bool l1extra::L1MuonParticle::isMip (  )  const [inline]

Definition at line 73 of file L1MuonParticle.h.

References mip_.

00074          { return mip_ ; }

bool l1extra::L1MuonParticle::isRPC (  )  const [inline]

Definition at line 79 of file L1MuonParticle.h.

References rpc_.

00080          { return rpc_ ; }

void l1extra::L1MuonParticle::setBx ( int  bx  )  [inline]

Definition at line 106 of file L1MuonParticle.h.

References bx_.

00107          { bx_ = bx ; }

void l1extra::L1MuonParticle::setForward ( bool  isForward  )  [inline]

Definition at line 100 of file L1MuonParticle.h.

References forward_.

00101          { forward_ = isForward ; }

void l1extra::L1MuonParticle::setIsolated ( bool  isIso  )  [inline]

Definition at line 94 of file L1MuonParticle.h.

References isolated_.

00095          { isolated_ = isIso ; }

void l1extra::L1MuonParticle::setMip ( bool  isMip  )  [inline]

Definition at line 97 of file L1MuonParticle.h.

References mip_.

00098          { mip_ = isMip ; }

void l1extra::L1MuonParticle::setRPC ( bool  isRPC  )  [inline]

Definition at line 103 of file L1MuonParticle.h.

References rpc_.

00104          { rpc_ = isRPC ; }


Member Data Documentation

int l1extra::L1MuonParticle::bx_ [private]

Definition at line 120 of file L1MuonParticle.h.

Referenced by bx(), and setBx().

L1MuGMTExtendedCand l1extra::L1MuonParticle::cand_ [private]

Definition at line 119 of file L1MuonParticle.h.

Referenced by gmtMuonCand(), and L1MuonParticle().

bool l1extra::L1MuonParticle::forward_ [private]

Definition at line 117 of file L1MuonParticle.h.

Referenced by isForward(), L1MuonParticle(), and setForward().

bool l1extra::L1MuonParticle::isolated_ [private]

Definition at line 115 of file L1MuonParticle.h.

Referenced by isIsolated(), L1MuonParticle(), and setIsolated().

bool l1extra::L1MuonParticle::mip_ [private]

Definition at line 116 of file L1MuonParticle.h.

Referenced by isMip(), L1MuonParticle(), and setMip().

bool l1extra::L1MuonParticle::rpc_ [private]

Definition at line 118 of file L1MuonParticle.h.

Referenced by isRPC(), L1MuonParticle(), and setRPC().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:48:00 2009 for CMSSW by  doxygen 1.5.4