Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
UtilAlgos
interface
SingleObjectRefSelector.h
Go to the documentation of this file.
1
#ifndef UtilAlgos_SingleObjectRefSelector_h
2
#define UtilAlgos_SingleObjectRefSelector_h
3
/* \class SingleObjectRefSelector
4
*
5
* \author Luca Lista, INFN
6
*/
7
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
8
#include "
CommonTools/UtilAlgos/interface/ObjectSelector.h
"
9
#include "
CommonTools/UtilAlgos/interface/StoreContainerTrait.h
"
10
#include "
CommonTools/UtilAlgos/interface/SelectionAdderTrait.h
"
11
#include "
CommonTools/UtilAlgos/interface/SingleElementCollectionRefSelector.h
"
12
#include "
DataFormats/Common/interface/View.h
"
13
14
template
<
typename
InputType
,
typename
Selector
,
15
typename
OutputCollection = typename ::helper::SelectedOutputCollectionTrait<edm::View<InputType> >
::type
,
16
typename
StoreContainer =
typename ::helper::StoreContainerTrait<OutputCollection>::type
,
17
typename
PostProcessor =
::helper::NullPostProcessor<OutputCollection>
,
18
typename
StoreManager =
typename ::helper::StoreManagerTrait<OutputCollection, edm::EDFilter>::type
,
19
typename
Base
=
typename ::helper::StoreManagerTrait<OutputCollection, edm::EDFilter>::base
,
20
typename
RefAdder = typename ::helper::SelectionAdderTrait<edm::View<InputType>, StoreContainer>
::type
>
21
class
SingleObjectRefSelector
:
22
public
ObjectSelector
<SingleElementCollectionRefSelector<InputType, Selector, OutputCollection, StoreContainer, RefAdder>,
23
OutputCollection, NonNullNumberSelector, PostProcessor, StoreManager, Base> {
24
public
:
25
explicit
SingleObjectRefSelector
(
const
edm::ParameterSet
&
cfg
) :
26
ObjectSelector
<
SingleElementCollectionRefSelector
<
InputType
,
Selector
, OutputCollection, StoreContainer, RefAdder>,
27
OutputCollection,
NonNullNumberSelector
, PostProcessor>( cfg ) { }
28
virtual
~SingleObjectRefSelector
() { }
29
};
30
31
#endif
32
ObjectSelector
Definition:
ObjectSelector.h:39
newFWLiteAna.base
tuple base
Main Program
Definition:
newFWLiteAna.py:92
type
type
Definition:
HCALResponse.h:21
SingleElementCollectionRefSelector
Definition:
SingleElementCollectionRefSelector.h:29
SelectionAdderTrait.h
edm::InputType
InputType
Definition:
InputType.h:5
looper.cfg
tuple cfg
Definition:
looper.py:293
helper::NullPostProcessor
Definition:
NullPostProcessor.h:11
SingleObjectRefSelector
Definition:
SingleObjectRefSelector.h:21
SingleObjectRefSelector::~SingleObjectRefSelector
virtual ~SingleObjectRefSelector()
Definition:
SingleObjectRefSelector.h:28
SingleElementCollectionRefSelector.h
SingleObjectRefSelector::SingleObjectRefSelector
SingleObjectRefSelector(const edm::ParameterSet &cfg)
Definition:
SingleObjectRefSelector.h:25
View.h
Selector
Functor that operates on <T>
Definition:
Selector.h:24
CustomConfigs.Base
def Base
Definition:
CustomConfigs.py:18
StoreContainerTrait.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ObjectSelector.h
ConsumesCollector.h
NonNullNumberSelector
Definition:
NonNullNumberSelector.h:10
Generated for CMSSW Reference Manual by
1.8.5