CMS 3D CMS Logo

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

◆ collection

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.

◆ const_iterator

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.

◆ container

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

◆ SingleElementCollectionSelectorPlusEvent()

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

◆ begin()

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

◆ end()

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

◆ select()

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

◆ addRef_

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

◆ select_

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

◆ selected_

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
edm::Ref
Definition: AssociativeIterator.h:58
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
looper.cfg
cfg
Definition: looper.py:297
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
SingleElementCollectionSelectorPlusEvent::select_
Selector select_
Definition: SingleElementCollectionSelectorPlusEvent.h:49
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
SingleElementCollectionSelectorPlusEvent::selected_
StoreContainer selected_
Definition: SingleElementCollectionSelectorPlusEvent.h:48
SingleElementCollectionSelectorPlusEvent::addRef_
RefAdder addRef_
Definition: SingleElementCollectionSelectorPlusEvent.h:50