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.

unsigned int nPVs_
Definition: L1RecoMatch.h:57
unsigned int index() const
Get the index of this match in the event.
Definition: L1RecoMatch.cc:24
const reco::Candidate * l1extra_
Definition: L1RecoMatch.h:52
unsigned int index_
Definition: L1RecoMatch.h:55
unsigned int nTotalObjects() const
Get the total number of reco objects in this event.
Definition: L1RecoMatch.cc:26
unsigned int nPVs() const
Get number of PVs.
Definition: L1RecoMatch.cc:28
const reco::Candidate * l1() const
Definition: L1RecoMatch.cc:14
fixed size matrix
edm::EventID id_
Definition: L1RecoMatch.h:54
const reco::Candidate * l1g() const
Definition: L1RecoMatch.cc:16
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

◆ id()

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

◆ index()

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::insert().

24 { return index_; }
unsigned int index_
Definition: L1RecoMatch.h:55

◆ l1()

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

◆ l1g()

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

◆ l1gMatch()

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

◆ l1Match()

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

◆ nPVs()

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

◆ nTotalObjects()

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

◆ reco()

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

◆ 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().