test
CMS 3D CMS Logo

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

#include <RecoTrackRefSelector.h>

Inheritance diagram for RecoTrackRefSelector:
RecoTrackSelectorBase

Public Types

typedef reco::TrackCollection collection
 
typedef
ref_container::const_iterator 
const_ref_iterator
 
typedef reco::TrackRefVector ref_container
 

Public Member Functions

const_ref_iterator begin () const
 
const_ref_iterator end () const
 
 RecoTrackRefSelector ()
 Constructors. More...
 
 RecoTrackRefSelector (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 
void select (const edm::Handle< collection > &c, const edm::Event &event, const edm::EventSetup &es)
 
size_t size () const
 
- Public Member Functions inherited from RecoTrackSelectorBase
void init (const edm::Event &event, const edm::EventSetup &es)
 
bool operator() (const reco::Track &t) const
 
 RecoTrackSelectorBase ()
 
 RecoTrackSelectorBase (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
 

Private Attributes

ref_container ref_selected_
 

Detailed Description

Definition at line 10 of file RecoTrackRefSelector.h.

Member Typedef Documentation

Definition at line 12 of file RecoTrackRefSelector.h.

Definition at line 14 of file RecoTrackRefSelector.h.

Definition at line 13 of file RecoTrackRefSelector.h.

Constructor & Destructor Documentation

RecoTrackRefSelector::RecoTrackRefSelector ( )
inline

Constructors.

Definition at line 17 of file RecoTrackRefSelector.h.

17 {}
RecoTrackRefSelector::RecoTrackRefSelector ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 19 of file RecoTrackRefSelector.h.

Member Function Documentation

const_ref_iterator RecoTrackRefSelector::begin ( void  ) const
inline

Definition at line 21 of file RecoTrackRefSelector.h.

References edm::RefVector< C, T, F >::begin(), and ref_selected_.

21 { return ref_selected_.begin(); }
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:250
const_ref_iterator RecoTrackRefSelector::end ( void  ) const
inline

Definition at line 22 of file RecoTrackRefSelector.h.

References edm::RefVector< C, T, F >::end(), and ref_selected_.

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

22 { return ref_selected_.end(); }
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:255
void RecoTrackRefSelector::select ( const edm::Handle< collection > &  c,
const edm::Event event,
const edm::EventSetup es 
)
inline
size_t RecoTrackRefSelector::size ( void  ) const
inline

Definition at line 35 of file RecoTrackRefSelector.h.

References ref_selected_, and edm::RefVector< C, T, F >::size().

35 { return ref_selected_.size(); }
size_type size() const
Size of the RefVector.
Definition: RefVector.h:99

Member Data Documentation

ref_container RecoTrackRefSelector::ref_selected_
private

Definition at line 38 of file RecoTrackRefSelector.h.

Referenced by begin(), end(), select(), and size().