CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

SingleElementCollectionSelectorPlusEvent< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder > Class Template Reference

#include <SingleElementCollectionSelectorPlusEvent.h>

List of all members.

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)

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 23 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 24 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 26 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 25 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) [inline]

Definition at line 27 of file SingleElementCollectionSelectorPlusEvent.h.

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

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]