test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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.

5  :
6  reco_(reco), l1extra_(l1), l1g_(l1g), id_(id),
unsigned int nPVs_
Definition: L1RecoMatch.h:53
const reco::Candidate * l1extra_
Definition: L1RecoMatch.h:48
unsigned int index_
Definition: L1RecoMatch.h:51
unsigned int index() const
Get the index of this match in the event.
Definition: L1RecoMatch.cc:33
unsigned int nTotalObjects() const
Get the total number of reco objects in this event.
Definition: L1RecoMatch.cc:37
edm::EventID id_
Definition: L1RecoMatch.h:50
unsigned int nPVs() const
Get number of PVs.
Definition: L1RecoMatch.cc:41
const reco::Candidate * l1g_
Definition: L1RecoMatch.h:49
unsigned int nTotalObjects_
Definition: L1RecoMatch.h:52
const reco::Candidate * reco_
Definition: L1RecoMatch.h:47

Member Function Documentation

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

Get the run-lumi-event numbers.

Definition at line 29 of file L1RecoMatch.cc.

References id_.

29  {
30  return id_;
31 }
edm::EventID id_
Definition: L1RecoMatch.h:50
unsigned int L1RecoMatch::index ( ) const

Get the index of this match in the event.

Definition at line 33 of file L1RecoMatch.cc.

References index_.

Referenced by BeautifulSoup.PageElement::_invert().

33  {
34  return index_;
35 }
unsigned int index_
Definition: L1RecoMatch.h:51
const reco::Candidate * L1RecoMatch::l1 ( ) const

Definition at line 13 of file L1RecoMatch.cc.

References l1extra_.

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

Definition at line 17 of file L1RecoMatch.cc.

References l1g_.

17  {
18  return l1g_;
19 }
const reco::Candidate * l1g_
Definition: L1RecoMatch.h:49
bool L1RecoMatch::l1gMatch ( ) const

Definition at line 25 of file L1RecoMatch.cc.

References l1g_, and NULL.

25  {
26  return l1g_ != NULL;
27 }
#define NULL
Definition: scimark2.h:8
const reco::Candidate * l1g_
Definition: L1RecoMatch.h:49
bool L1RecoMatch::l1Match ( ) const

Definition at line 21 of file L1RecoMatch.cc.

References l1extra_, and NULL.

21  {
22  return l1extra_ != NULL;
23 }
#define NULL
Definition: scimark2.h:8
const reco::Candidate * l1extra_
Definition: L1RecoMatch.h:48
unsigned int L1RecoMatch::nPVs ( ) const

Get number of PVs.

Definition at line 41 of file L1RecoMatch.cc.

References nPVs_.

41  {
42  return nPVs_;
43 }
unsigned int nPVs_
Definition: L1RecoMatch.h:53
unsigned int L1RecoMatch::nTotalObjects ( ) const

Get the total number of reco objects in this event.

Definition at line 37 of file L1RecoMatch.cc.

References nTotalObjects_.

37  {
38  return nTotalObjects_;
39 }
unsigned int nTotalObjects_
Definition: L1RecoMatch.h:52
const reco::Candidate * L1RecoMatch::reco ( ) const

Definition at line 9 of file L1RecoMatch.cc.

References reco_.

9  {
10  return reco_;
11 }
const reco::Candidate * reco_
Definition: L1RecoMatch.h:47

Member Data Documentation

edm::EventID L1RecoMatch::id_
private

Definition at line 50 of file L1RecoMatch.h.

Referenced by id().

unsigned int L1RecoMatch::index_
private

Definition at line 51 of file L1RecoMatch.h.

Referenced by index().

const reco::Candidate* L1RecoMatch::l1extra_
private

Definition at line 48 of file L1RecoMatch.h.

Referenced by l1(), and l1Match().

const reco::Candidate* L1RecoMatch::l1g_
private

Definition at line 49 of file L1RecoMatch.h.

Referenced by l1g(), and l1gMatch().

unsigned int L1RecoMatch::nPVs_
private

Definition at line 53 of file L1RecoMatch.h.

Referenced by nPVs().

unsigned int L1RecoMatch::nTotalObjects_
private

Definition at line 52 of file L1RecoMatch.h.

Referenced by nTotalObjects().

const reco::Candidate* L1RecoMatch::reco_
private

Definition at line 47 of file L1RecoMatch.h.

Referenced by reco().