src
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
,
15
typename
Selector
,
16
typename
OutputCollection
= typename ::helper::SelectedOutputCollectionTrait<edm::View<InputType>>
::type
,
17
typename
StoreContainer =
typename ::helper::StoreContainerTrait<OutputCollection>::type
,
18
typename
PostProcessor = ::helper::NullPostProcessor<OutputCollection>,
19
typename
StoreManager = typename ::helper::StoreManagerTrait<OutputCollection, edm::stream::EDFilter<>>
::type
,
20
typename
Base
= typename ::helper::StoreManagerTrait<OutputCollection, edm::stream::EDFilter<>>
::base
,
21
typename
RefAdder = typename ::helper::SelectionAdderTrait<edm::View<InputType>, StoreContainer>
::type
>
22
class
SingleObjectRefSelector
23
:
public
ObjectSelector
<
24
SingleElementCollectionRefSelector<InputType, Selector, OutputCollection, StoreContainer, RefAdder>,
25
OutputCollection,
26
NonNullNumberSelector,
27
PostProcessor,
28
StoreManager,
29
Base> {
30
public
:
31
explicit
SingleObjectRefSelector
(
const
edm::ParameterSet
&
cfg
)
32
:
ObjectSelector
<
33
SingleElementCollectionRefSelector
<
InputType
,
Selector
,
OutputCollection
, StoreContainer, RefAdder>,
34
OutputCollection
,
35
NonNullNumberSelector
,
36
PostProcessor>(
cfg
) {}
37
~SingleObjectRefSelector
()
override
{}
38
};
39
40
#endif
ObjectSelector
SingleElementCollectionRefSelector
Definition:
SingleElementCollectionRefSelector.h:38
edm::InputType
InputType
Definition:
InputType.h:5
SelectionAdderTrait.h
StoreContainerTrait.h
newFWLiteAna.base
base
Main Program
Definition:
newFWLiteAna.py:92
ObjectSelector.h
SingleObjectRefSelector::~SingleObjectRefSelector
~SingleObjectRefSelector() override
Definition:
SingleObjectRefSelector.h:37
CustomConfigs.Base
def Base(process)
Definition:
CustomConfigs.py:15
SingleObjectRefSelector
Definition:
SingleObjectRefSelector.h:22
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
SingleElementCollectionRefSelector.h
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
SingleObjectRefSelector::SingleObjectRefSelector
SingleObjectRefSelector(const edm::ParameterSet &cfg)
Definition:
SingleObjectRefSelector.h:31
ALCARECOPromptCalibProdSiPixelAli0T_cff.Selector
Selector
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:81
View.h
Selector
Functor that operates on <T>
Definition:
Selector.h:22
looper.cfg
cfg
Definition:
looper.py:296
edm::ParameterSet
Definition:
ParameterSet.h:47
ConsumesCollector.h
NonNullNumberSelector
Definition:
NonNullNumberSelector.h:10
HLTTauReferences_cfi.OutputCollection
OutputCollection
Definition:
HLTTauReferences_cfi.py:92
Generated for CMSSW Reference Manual by
1.8.14