Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
UtilAlgos
interface
SingleObjectSelector.h
Go to the documentation of this file.
1
#ifndef UtilAlgos_SingleObjectSelector_h
2
#define UtilAlgos_SingleObjectSelector_h
3
/* \class SingleObjectSelector
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/SingleElementCollectionSelector.h
"
11
12
template
<
typename
InputCollection
,
typename
Selector
,
13
typename
OutputCollection
=
typename ::helper::SelectedOutputCollectionTrait<InputCollection>::type
,
14
typename
StoreContainer =
typename ::helper::StoreContainerTrait<OutputCollection>::type
,
15
typename
PostProcessor =
::helper::NullPostProcessor<OutputCollection>
,
16
typename
StoreManager =
typename ::helper::StoreManagerTrait<OutputCollection>::type
,
17
typename
Base
=
typename ::helper::StoreManagerTrait<OutputCollection>::base
,
18
typename
RefAdder =
typename ::helper::SelectionAdderTrait<InputCollection, StoreContainer>::type
>
19
class
SingleObjectSelector
:
20
public
ObjectSelector
<SingleElementCollectionSelector<InputCollection, Selector, OutputCollection, StoreContainer, RefAdder>,
21
OutputCollection, NonNullNumberSelector, PostProcessor, StoreManager, Base> {
22
public
:
23
explicit
SingleObjectSelector
(
const
edm::ParameterSet
& cfg ) :
24
ObjectSelector
<
SingleElementCollectionSelector
<
InputCollection
,
Selector
,
OutputCollection
, StoreContainer, RefAdder>,
25
OutputCollection
,
NonNullNumberSelector
, PostProcessor>( cfg ) { }
26
virtual
~SingleObjectSelector
() { }
27
};
28
29
#endif
30
ObjectSelector
Definition:
ObjectSelector.h:39
newFWLiteAna.base
tuple base
Main Program
Definition:
newFWLiteAna.py:92
type
type
Definition:
HCALResponse.h:21
SelectionAdderTrait.h
JetReco::OutputCollection
std::vector< ProtoJet > OutputCollection
Definition:
JetRecoTypes.h:62
helper::NullPostProcessor
Definition:
NullPostProcessor.h:11
JetReco::InputCollection
std::vector< InputItem > InputCollection
Definition:
JetRecoTypes.h:61
SingleObjectSelector::~SingleObjectSelector
virtual ~SingleObjectSelector()
Definition:
SingleObjectSelector.h:26
SingleObjectSelector
Definition:
SingleObjectSelector.h:19
Selector
Functor that operates on <T>
Definition:
Selector.h:24
SingleElementCollectionSelector
Definition:
SingleElementCollectionSelector.h:28
CustomConfigs.Base
def Base
Definition:
CustomConfigs.py:18
StoreContainerTrait.h
edm::ParameterSet
Definition:
ParameterSet.h:35
ObjectSelector.h
SingleObjectSelector::SingleObjectSelector
SingleObjectSelector(const edm::ParameterSet &cfg)
Definition:
SingleObjectSelector.h:23
NonNullNumberSelector
Definition:
NonNullNumberSelector.h:10
SingleElementCollectionSelector.h
Generated for CMSSW Reference Manual by
1.8.5