Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
CommonTools/UtilAlgos/interface/ObjectSelector.h
"
8
#include "
CommonTools/UtilAlgos/interface/StoreContainerTrait.h
"
9
#include "
CommonTools/UtilAlgos/interface/SelectionAdderTrait.h
"
10
#include "
CommonTools/UtilAlgos/interface/SingleElementCollectionRefSelector.h
"
11
#include "
DataFormats/Common/interface/View.h
"
12
13
template
<
typename
InputType
,
typename
Selector
,
14
typename
OutputCollection
= typename ::helper::SelectedOutputCollectionTrait<edm::View<InputType> >
::type
,
15
typename
StoreContainer =
typename ::helper::StoreContainerTrait<OutputCollection>::type
,
16
typename
PostProcessor =
::helper::NullPostProcessor<OutputCollection>
,
17
typename
StoreManager =
typename ::helper::StoreManagerTrait<OutputCollection>::type
,
18
typename
Base
=
typename ::helper::StoreManagerTrait<OutputCollection>::base
,
19
typename
RefAdder = typename ::helper::SelectionAdderTrait<edm::View<InputType>, StoreContainer>
::type
>
20
class
SingleObjectRefSelector
:
21
public
ObjectSelector
<SingleElementCollectionRefSelector<InputType, Selector, OutputCollection, StoreContainer, RefAdder>,
22
OutputCollection, NonNullNumberSelector, PostProcessor, StoreManager, Base> {
23
public
:
24
explicit
SingleObjectRefSelector
(
const
edm::ParameterSet
& cfg) :
25
ObjectSelector
<
SingleElementCollectionRefSelector
<
InputType
,
Selector
,
OutputCollection
, StoreContainer, RefAdder>,
26
OutputCollection
,
NonNullNumberSelector
, PostProcessor>( cfg ) { }
27
virtual
~SingleObjectRefSelector
() { }
28
};
29
30
#endif
ObjectSelector
Definition:
ObjectSelector.h:38
newFWLiteAna.base
tuple base
Main Program
Definition:
newFWLiteAna.py:92
type
type
Definition:
HCALResponse.h:22
SingleElementCollectionRefSelector
Definition:
SingleElementCollectionRefSelector.h:28
SelectionAdderTrait.h
JetReco::OutputCollection
std::vector< ProtoJet > OutputCollection
Definition:
JetRecoTypes.h:63
helper::NullPostProcessor
Definition:
NullPostProcessor.h:10
SingleObjectRefSelector
Definition:
SingleObjectRefSelector.h:20
SingleObjectRefSelector::~SingleObjectRefSelector
virtual ~SingleObjectRefSelector()
Definition:
SingleObjectRefSelector.h:27
SingleElementCollectionRefSelector.h
SingleObjectRefSelector::SingleObjectRefSelector
SingleObjectRefSelector(const edm::ParameterSet &cfg)
Definition:
SingleObjectRefSelector.h:24
edm::InputType::InputType
InputType
Definition:
InputType.h:6
View.h
Selector
Functor that operates on <T>
Definition:
Selector.h:25
CustomConfigs.Base
def Base
Definition:
CustomConfigs.py:18
StoreContainerTrait.h
edm::ParameterSet
Definition:
ParameterSet.h:35
ObjectSelector.h
NonNullNumberSelector
Definition:
NonNullNumberSelector.h:10
Generated for CMSSW Reference Manual by
1.8.5