CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Protected Attributes
pf2pat::PFCandidateSelectorDefinition Class Reference

#include <PFCandidateSelectorDefinition.h>

Inheritance diagram for pf2pat::PFCandidateSelectorDefinition:
pf2pat::ElectronIDPFCandidateSelectorDefinition pf2pat::GenericPFCandidateSelectorDefinition pf2pat::IPCutPFCandidateSelectorDefinition pf2pat::IsolatedPFCandidateSelectorDefinition pf2pat::MuonIDPFCandidateSelectorDefinition pf2pat::PdgIdPFCandidateSelectorDefinition pf2pat::PtMinPFCandidateSelectorDefinition

Classes

struct  Pointer
 

Public Types

typedef reco::PFCandidateCollection collection
 
typedef boost::transform_iterator< Pointer, container::const_iterator > const_iterator
 
typedef std::vector< reco::PFCandidatecontainer
 
typedef edm::Handle< collectionHandleToCollection
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
 PFCandidateSelectorDefinition ()
 
const containerselected () const
 
size_t size () const
 

Protected Attributes

container selected_
 

Detailed Description

Definition at line 10 of file PFCandidateSelectorDefinition.h.

Member Typedef Documentation

◆ collection

Definition at line 12 of file PFCandidateSelectorDefinition.h.

◆ const_iterator

typedef boost::transform_iterator<Pointer, container::const_iterator> pf2pat::PFCandidateSelectorDefinition::const_iterator

Definition at line 20 of file PFCandidateSelectorDefinition.h.

◆ container

Definition at line 14 of file PFCandidateSelectorDefinition.h.

◆ HandleToCollection

Definition at line 13 of file PFCandidateSelectorDefinition.h.

Constructor & Destructor Documentation

◆ PFCandidateSelectorDefinition()

pf2pat::PFCandidateSelectorDefinition::PFCandidateSelectorDefinition ( )
inline

Definition at line 22 of file PFCandidateSelectorDefinition.h.

22 {}

Member Function Documentation

◆ begin()

const_iterator pf2pat::PFCandidateSelectorDefinition::begin ( void  ) const
inline

Definition at line 24 of file PFCandidateSelectorDefinition.h.

24 { return const_iterator(selected_.begin()); }

References selected_.

◆ end()

const_iterator pf2pat::PFCandidateSelectorDefinition::end ( void  ) const
inline

Definition at line 26 of file PFCandidateSelectorDefinition.h.

26 { return const_iterator(selected_.end()); }

References selected_.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

◆ selected()

const container& pf2pat::PFCandidateSelectorDefinition::selected ( ) const
inline

Definition at line 30 of file PFCandidateSelectorDefinition.h.

30 { return selected_; }

References selected_.

◆ size()

size_t pf2pat::PFCandidateSelectorDefinition::size ( void  ) const
inline

Definition at line 28 of file PFCandidateSelectorDefinition.h.

28 { return selected_.size(); }

References selected_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

Member Data Documentation

◆ selected_

container pf2pat::PFCandidateSelectorDefinition::selected_
protected
pf2pat::PFCandidateSelectorDefinition::selected_
container selected_
Definition: PFCandidateSelectorDefinition.h:33
pf2pat::PFCandidateSelectorDefinition::const_iterator
boost::transform_iterator< Pointer, container::const_iterator > const_iterator
Definition: PFCandidateSelectorDefinition.h:20