Main Page
Namespaces
Classes
Package Documentation
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
type
type
Definition:
HCALResponse.h:21
SingleElementCollectionRefSelector
Definition:
SingleElementCollectionRefSelector.h:36
SelectionAdderTrait.h
edm::InputType
InputType
Definition:
InputType.h:5
helper::NullPostProcessor
Definition:
NullPostProcessor.h:11
CustomConfigs.Base
def Base(process)
Definition:
CustomConfigs.py:23
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
ALCARECOPromptCalibProdSiPixelAli0T_cff.Selector
Selector
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:81
View.h
runEdmFileComparison.base
base
Make Sure CMSSW is Setup ##.
Definition:
runEdmFileComparison.py:158
Selector
Functor that operates on <T>
Definition:
Selector.h:24
looper.cfg
cfg
Definition:
looper.py:293
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.11