CMS 3D CMS Logo

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() [1/2]

L1RecoMatch::L1RecoMatch ( )
inline

Definition at line 22 of file L1RecoMatch.h.

22 {}

◆ L1RecoMatch() [2/2]

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.

Member Function Documentation

◆ id()

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

Get the run-lumi-event numbers.

Definition at line 22 of file L1RecoMatch.cc.

22 { return id_; }

References id_.

◆ index()

unsigned int L1RecoMatch::index ( ) const

Get the index of this match in the event.

Definition at line 24 of file L1RecoMatch.cc.

24 { return index_; }

References index_.

Referenced by BeautifulSoup.PageElement::insert().

◆ l1()

const reco::Candidate * L1RecoMatch::l1 ( ) const

Definition at line 14 of file L1RecoMatch.cc.

14 { return l1extra_; }

References l1extra_.

◆ l1g()

const reco::Candidate * L1RecoMatch::l1g ( ) const

Definition at line 16 of file L1RecoMatch.cc.

16 { return l1g_; }

References l1g_.

◆ l1gMatch()

bool L1RecoMatch::l1gMatch ( ) const

Definition at line 20 of file L1RecoMatch.cc.

20 { return l1g_ != nullptr; }

References l1g_.

◆ l1Match()

bool L1RecoMatch::l1Match ( ) const

Definition at line 18 of file L1RecoMatch.cc.

18 { return l1extra_ != nullptr; }

References l1extra_.

◆ nPVs()

unsigned int L1RecoMatch::nPVs ( ) const

Get number of PVs.

Definition at line 28 of file L1RecoMatch.cc.

28 { return nPVs_; }

References nPVs_.

◆ nTotalObjects()

unsigned int L1RecoMatch::nTotalObjects ( ) const

Get the total number of reco objects in this event.

Definition at line 26 of file L1RecoMatch.cc.

26 { return nTotalObjects_; }

References nTotalObjects_.

◆ reco()

const reco::Candidate * L1RecoMatch::reco ( ) const

Definition at line 12 of file L1RecoMatch.cc.

12 { return reco_; }

References reco_.

Member Data Documentation

◆ id_

edm::EventID L1RecoMatch::id_
private

Definition at line 54 of file L1RecoMatch.h.

Referenced by id().

◆ index_

unsigned int L1RecoMatch::index_
private

Definition at line 55 of file L1RecoMatch.h.

Referenced by index().

◆ l1extra_

const reco::Candidate* L1RecoMatch::l1extra_
private

Definition at line 52 of file L1RecoMatch.h.

Referenced by l1(), and l1Match().

◆ l1g_

const reco::Candidate* L1RecoMatch::l1g_
private

Definition at line 53 of file L1RecoMatch.h.

Referenced by l1g(), and l1gMatch().

◆ nPVs_

unsigned int L1RecoMatch::nPVs_
private

Definition at line 57 of file L1RecoMatch.h.

Referenced by nPVs().

◆ nTotalObjects_

unsigned int L1RecoMatch::nTotalObjects_
private

Definition at line 56 of file L1RecoMatch.h.

Referenced by nTotalObjects().

◆ reco_

const reco::Candidate* L1RecoMatch::reco_
private

Definition at line 51 of file L1RecoMatch.h.

Referenced by reco().

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