CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes
SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder > Class Template Reference

#include <SingleElementCollectionSelectorPlusEvent.h>

Public Types

typedef InputCollection collection
 
typedef container::const_iterator const_iterator
 
typedef StoreContainer container
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
void select (const edm::Handle< InputCollection > &c, const edm::Event &ev, const edm::EventSetup &)
 
 SingleElementCollectionSelectorPlusEvent (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 

Private Attributes

RefAdder addRef_
 
Selector select_
 
StoreContainer selected_
 

Detailed Description

template<typename InputCollection, typename Selector, typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
class SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >

selects a subset of a track collection based on single element selection done via functor

Author
Luca Lista, INFN
Version
Revision:
1.1
Id:
SingleElementCollectionSelectorPlusEvent.h,v 1.1 2009/03/03 13:07:28 llista Exp

Definition at line 31 of file SingleElementCollectionSelectorPlusEvent.h.

Member Typedef Documentation

template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
typedef InputCollection SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::collection

Definition at line 32 of file SingleElementCollectionSelectorPlusEvent.h.

template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
typedef container::const_iterator SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::const_iterator

Definition at line 34 of file SingleElementCollectionSelectorPlusEvent.h.

template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
typedef StoreContainer SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::container

Definition at line 33 of file SingleElementCollectionSelectorPlusEvent.h.

Constructor & Destructor Documentation

template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::SingleElementCollectionSelectorPlusEvent ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 35 of file SingleElementCollectionSelectorPlusEvent.h.

36  : select_(reco::modules::make<Selector>(cfg, iC)) {}

Member Function Documentation

template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
const_iterator SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::begin ( void  ) const
inline
template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
const_iterator SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::end ( void  ) const
inline
template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
void SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::select ( const edm::Handle< InputCollection > &  c,
const edm::Event ev,
const edm::EventSetup  
)
inline

Member Data Documentation

template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
RefAdder SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::addRef_
private
template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
Selector SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::select_
private
template<typename InputCollection , typename Selector , typename OutputCollection = typename helper::SelectedOutputCollectionTrait<InputCollection>::type, typename StoreContainer = typename helper::StoreContainerTrait<OutputCollection>::type, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
StoreContainer SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::selected_
private