CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
L1RecoMatch Class Reference

#include <L1RecoMatch.h>

Public Member Functions

const edm::EventIDid () const
 Get the run-lumi-event numbers. More...
 
unsigned int index () const
 Get the index of this match in the event. More...
 
const reco::Candidatel1 () const
 
const reco::Candidatel1g () const
 
bool l1gMatch () const
 
bool l1Match () const
 
 L1RecoMatch ()
 
 L1RecoMatch (const reco::Candidate *reco, const reco::Candidate *l1, const reco::Candidate *l1g, edm::EventID id, unsigned int index, unsigned int nTotalObjects, unsigned int nPVs)
 
unsigned int nPVs () const
 Get number of PVs. More...
 
unsigned int nTotalObjects () const
 Get the total number of reco objects in this event. More...
 
const reco::Candidatereco () const
 

Private Attributes

edm::EventID id_
 
unsigned int index_
 
const reco::Candidatel1extra_
 
const reco::Candidatel1g_
 
unsigned int nPVs_
 
unsigned int nTotalObjects_
 
const reco::Candidatereco_
 

Detailed Description

Definition at line 19 of file L1RecoMatch.h.

Constructor & Destructor Documentation

L1RecoMatch::L1RecoMatch ( )
inline

Definition at line 22 of file L1RecoMatch.h.

22 {}
L1RecoMatch::L1RecoMatch ( const reco::Candidate reco,
const reco::Candidate l1,
const reco::Candidate l1g,
edm::EventID  id,
unsigned int  index,
unsigned int  nTotalObjects,
unsigned int  nPVs 
)

Definition at line 3 of file L1RecoMatch.cc.

10  : reco_(reco), l1extra_(l1), l1g_(l1g), id_(id), index_(index), nTotalObjects_(nTotalObjects), nPVs_(nPVs) {}
unsigned int nPVs_
Definition: L1RecoMatch.h:57
const reco::Candidate * l1extra_
Definition: L1RecoMatch.h:52
unsigned int index_
Definition: L1RecoMatch.h:55
unsigned int index() const
Get the index of this match in the event.
Definition: L1RecoMatch.cc:24
unsigned int nTotalObjects() const
Get the total number of reco objects in this event.
Definition: L1RecoMatch.cc:26
edm::EventID id_
Definition: L1RecoMatch.h:54
unsigned int nPVs() const
Get number of PVs.
Definition: L1RecoMatch.cc:28
const reco::Candidate * l1g_
Definition: L1RecoMatch.h:53
unsigned int nTotalObjects_
Definition: L1RecoMatch.h:56
const reco::Candidate * reco_
Definition: L1RecoMatch.h:51

Member Function Documentation

const edm::EventID & L1RecoMatch::id ( void  ) const

Get the run-lumi-event numbers.

Definition at line 22 of file L1RecoMatch.cc.

References id_.

22 { return id_; }
edm::EventID id_
Definition: L1RecoMatch.h:54
unsigned int L1RecoMatch::index ( ) const

Get the index of this match in the event.

Definition at line 24 of file L1RecoMatch.cc.

References index_.

Referenced by BeautifulSoup.PageElement::_invert().

24 { return index_; }
unsigned int index_
Definition: L1RecoMatch.h:55
const reco::Candidate * L1RecoMatch::l1 ( ) const

Definition at line 14 of file L1RecoMatch.cc.

References l1extra_.

14 { return l1extra_; }
const reco::Candidate * l1extra_
Definition: L1RecoMatch.h:52
const reco::Candidate * L1RecoMatch::l1g ( ) const

Definition at line 16 of file L1RecoMatch.cc.

References l1g_.

16 { return l1g_; }
const reco::Candidate * l1g_
Definition: L1RecoMatch.h:53
bool L1RecoMatch::l1gMatch ( ) const

Definition at line 20 of file L1RecoMatch.cc.

References l1g_.

20 { return l1g_ != nullptr; }
const reco::Candidate * l1g_
Definition: L1RecoMatch.h:53
bool L1RecoMatch::l1Match ( ) const

Definition at line 18 of file L1RecoMatch.cc.

References l1extra_.

18 { return l1extra_ != nullptr; }
const reco::Candidate * l1extra_
Definition: L1RecoMatch.h:52
unsigned int L1RecoMatch::nPVs ( ) const

Get number of PVs.

Definition at line 28 of file L1RecoMatch.cc.

References nPVs_.

28 { return nPVs_; }
unsigned int nPVs_
Definition: L1RecoMatch.h:57
unsigned int L1RecoMatch::nTotalObjects ( ) const

Get the total number of reco objects in this event.

Definition at line 26 of file L1RecoMatch.cc.

References nTotalObjects_.

26 { return nTotalObjects_; }
unsigned int nTotalObjects_
Definition: L1RecoMatch.h:56
const reco::Candidate * L1RecoMatch::reco ( ) const

Definition at line 12 of file L1RecoMatch.cc.

References reco_.

12 { return reco_; }
const reco::Candidate * reco_
Definition: L1RecoMatch.h:51

Member Data Documentation

edm::EventID L1RecoMatch::id_
private

Definition at line 54 of file L1RecoMatch.h.

Referenced by id().

unsigned int L1RecoMatch::index_
private

Definition at line 55 of file L1RecoMatch.h.

Referenced by index().

const reco::Candidate* L1RecoMatch::l1extra_
private

Definition at line 52 of file L1RecoMatch.h.

Referenced by l1(), and l1Match().

const reco::Candidate* L1RecoMatch::l1g_
private

Definition at line 53 of file L1RecoMatch.h.

Referenced by l1g(), and l1gMatch().

unsigned int L1RecoMatch::nPVs_
private

Definition at line 57 of file L1RecoMatch.h.

Referenced by nPVs().

unsigned int L1RecoMatch::nTotalObjects_
private

Definition at line 56 of file L1RecoMatch.h.

Referenced by nTotalObjects().

const reco::Candidate* L1RecoMatch::reco_
private

Definition at line 51 of file L1RecoMatch.h.

Referenced by reco().