CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

l1extra::L1EtMissParticle Class Reference

#include <L1EtMissParticle.h>

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

List of all members.

Public Types

enum  EtMissType { kMET, kMHT, kNumTypes }

Public Member Functions

int bx () const
virtual L1EtMissParticleclone () const
 returns a clone of the Candidate object
double etMiss () const
const double & etTotal () const
const L1GctEtHadgctEtHad () const
const edm::Ref
< L1GctEtHadCollection > & 
gctEtHadRef () const
const L1GctEtMissgctEtMiss () const
const edm::Ref
< L1GctEtMissCollection > & 
gctEtMissRef () const
const L1GctEtTotalgctEtTotal () const
const edm::Ref
< L1GctEtTotalCollection > & 
gctEtTotalRef () const
const L1GctHtMissgctHtMiss () const
const edm::Ref
< L1GctHtMissCollection > & 
gctHtMissRef () const
 L1EtMissParticle (const LorentzVector &p4, EtMissType type, const double &etTotal, const edm::Ref< L1GctEtMissCollection > &aEtMissRef=edm::Ref< L1GctEtMissCollection >(), const edm::Ref< L1GctEtTotalCollection > &aEtTotalRef=edm::Ref< L1GctEtTotalCollection >(), const edm::Ref< L1GctHtMissCollection > &aHtMissRef=edm::Ref< L1GctHtMissCollection >(), const edm::Ref< L1GctEtHadCollection > &aEtHadRef=edm::Ref< L1GctEtHadCollection >(), int bx=0)
 L1EtMissParticle (const PolarLorentzVector &p4, EtMissType type, const double &etTotal, const edm::Ref< L1GctEtMissCollection > &aEtMissRef=edm::Ref< L1GctEtMissCollection >(), const edm::Ref< L1GctEtTotalCollection > &aEtTotalRef=edm::Ref< L1GctEtTotalCollection >(), const edm::Ref< L1GctHtMissCollection > &aHtMissRef=edm::Ref< L1GctHtMissCollection >(), const edm::Ref< L1GctEtHadCollection > &aEtHadRef=edm::Ref< L1GctEtHadCollection >(), int bx=0)
 L1EtMissParticle ()
void setBx (int bx)
void setEtTotal (const double &etTotal)
EtMissType type () const
virtual ~L1EtMissParticle ()

Private Attributes

int bx_
edm::Ref< L1GctEtHadCollectionetHadRef_
edm::Ref< L1GctEtMissCollectionetMissRef_
double etTot_
edm::Ref< L1GctEtTotalCollectionetTotRef_
edm::Ref< L1GctHtMissCollectionhtMissRef_
EtMissType type_

Detailed Description

Definition at line 28 of file L1EtMissParticle.h.


Member Enumeration Documentation

Enumerator:
kMET 
kMHT 
kNumTypes 

Definition at line 31 of file L1EtMissParticle.h.


Constructor & Destructor Documentation

L1EtMissParticle::L1EtMissParticle ( )

Definition at line 32 of file L1EtMissParticle.cc.

Referenced by clone().

{
}
L1EtMissParticle::L1EtMissParticle ( const LorentzVector p4,
EtMissType  type,
const double &  etTotal,
const edm::Ref< L1GctEtMissCollection > &  aEtMissRef = edm::RefL1GctEtMissCollection >(),
const edm::Ref< L1GctEtTotalCollection > &  aEtTotalRef = edm::RefL1GctEtTotalCollection >(),
const edm::Ref< L1GctHtMissCollection > &  aHtMissRef = edm::RefL1GctHtMissCollection >(),
const edm::Ref< L1GctEtHadCollection > &  aEtHadRef = edm::RefL1GctEtHadCollection >(),
int  bx = 0 
)

Definition at line 36 of file L1EtMissParticle.cc.

   : LeafCandidate( ( char ) 0, p4 ),
     type_( type ),
     etTot_( etTotal ),
     etMissRef_( aEtMissRef ),
     etTotRef_( aEtTotalRef ),
     htMissRef_( aHtMissRef ),
     etHadRef_( aEtHadRef ),
     bx_( bx )
{
}
L1EtMissParticle::L1EtMissParticle ( const PolarLorentzVector p4,
EtMissType  type,
const double &  etTotal,
const edm::Ref< L1GctEtMissCollection > &  aEtMissRef = edm::RefL1GctEtMissCollection >(),
const edm::Ref< L1GctEtTotalCollection > &  aEtTotalRef = edm::RefL1GctEtTotalCollection >(),
const edm::Ref< L1GctHtMissCollection > &  aHtMissRef = edm::RefL1GctHtMissCollection >(),
const edm::Ref< L1GctEtHadCollection > &  aEtHadRef = edm::RefL1GctEtHadCollection >(),
int  bx = 0 
)

Definition at line 57 of file L1EtMissParticle.cc.

   : LeafCandidate( ( char ) 0, p4 ),
     type_( type ),
     etTot_( etTotal ),
     etMissRef_( aEtMissRef ),
     etTotRef_( aEtTotalRef ),
     htMissRef_( aHtMissRef ),
     etHadRef_( aEtHadRef ),
     bx_( bx )
{
}
virtual l1extra::L1EtMissParticle::~L1EtMissParticle ( ) [inline, virtual]

Definition at line 65 of file L1EtMissParticle.h.

{}

Member Function Documentation

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

Definition at line 114 of file L1EtMissParticle.h.

References bx_.

Referenced by setBx().

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

returns a clone of the Candidate object

Reimplemented from reco::LeafCandidate.

Definition at line 111 of file L1EtMissParticle.h.

References L1EtMissParticle().

        { return new L1EtMissParticle( *this ) ; }
double l1extra::L1EtMissParticle::etMiss ( ) const [inline]

Definition at line 72 of file L1EtMissParticle.h.

References reco::LeafCandidate::et().

        { return et() ; }
const double& l1extra::L1EtMissParticle::etTotal ( ) const [inline]

Definition at line 76 of file L1EtMissParticle.h.

References etTot_.

Referenced by setEtTotal().

        { return etTot_ ; }
const L1GctEtHad* l1extra::L1EtMissParticle::gctEtHad ( ) const [inline]

Definition at line 108 of file L1EtMissParticle.h.

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

        { return etHadRef_.get() ; }
const edm::Ref< L1GctEtHadCollection >& l1extra::L1EtMissParticle::gctEtHadRef ( ) const [inline]

Definition at line 92 of file L1EtMissParticle.h.

References etHadRef_.

        { return etHadRef_ ; }
const L1GctEtMiss* l1extra::L1EtMissParticle::gctEtMiss ( ) const [inline]

Definition at line 96 of file L1EtMissParticle.h.

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

        { return etMissRef_.get() ; }
const edm::Ref< L1GctEtMissCollection >& l1extra::L1EtMissParticle::gctEtMissRef ( ) const [inline]

Definition at line 80 of file L1EtMissParticle.h.

References etMissRef_.

        { return etMissRef_ ; }
const L1GctEtTotal* l1extra::L1EtMissParticle::gctEtTotal ( ) const [inline]

Definition at line 100 of file L1EtMissParticle.h.

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

        { return etTotRef_.get() ; }
const edm::Ref< L1GctEtTotalCollection >& l1extra::L1EtMissParticle::gctEtTotalRef ( ) const [inline]

Definition at line 84 of file L1EtMissParticle.h.

References etTotRef_.

        { return etTotRef_ ; }
const L1GctHtMiss* l1extra::L1EtMissParticle::gctHtMiss ( ) const [inline]

Definition at line 104 of file L1EtMissParticle.h.

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

        { return htMissRef_.get() ; }
const edm::Ref< L1GctHtMissCollection >& l1extra::L1EtMissParticle::gctHtMissRef ( ) const [inline]

Definition at line 88 of file L1EtMissParticle.h.

References htMissRef_.

        { return htMissRef_ ; }
void l1extra::L1EtMissParticle::setBx ( int  bx) [inline]

Definition at line 123 of file L1EtMissParticle.h.

References bx(), and bx_.

        { bx_ = bx ; }
void l1extra::L1EtMissParticle::setEtTotal ( const double &  etTotal) [inline]

Definition at line 120 of file L1EtMissParticle.h.

References etTot_, and etTotal().

        { etTot_ = etTotal ; }
EtMissType l1extra::L1EtMissParticle::type ( ) const [inline]

Definition at line 69 of file L1EtMissParticle.h.

References type_.

Referenced by getObjectType().

{ return type_ ; }  // kET or kHT

Member Data Documentation

Definition at line 141 of file L1EtMissParticle.h.

Referenced by bx(), and setBx().

Definition at line 139 of file L1EtMissParticle.h.

Referenced by gctEtHad(), and gctEtHadRef().

Definition at line 136 of file L1EtMissParticle.h.

Referenced by gctEtMiss(), and gctEtMissRef().

Definition at line 134 of file L1EtMissParticle.h.

Referenced by etTotal(), and setEtTotal().

Definition at line 137 of file L1EtMissParticle.h.

Referenced by gctEtTotal(), and gctEtTotalRef().

Definition at line 138 of file L1EtMissParticle.h.

Referenced by gctHtMiss(), and gctHtMissRef().

Definition at line 132 of file L1EtMissParticle.h.

Referenced by type().