Main Page
Namespaces
Classes
Package Documentation
CommonTools
CandAlgos
interface
SingleObjectShallowCloneSelector.h
Go to the documentation of this file.
1
#ifndef CandAlgos_SingleObjectShallowCloneSelector_h
2
#define CandAlgos_SingleObjectShallowCloneSelector_h
3
/* \class SingleObjectShallowSelector
4
*
5
* \author Luca Lista, INFN
6
*/
7
#include "
CommonTools/CandAlgos/interface/ObjectShallowCloneSelector.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
StoreContainer =
typename
helper::StoreContainerTrait<reco::CandidateCollection>::type
,
14
typename
PostProcessor =
helper::NullPostProcessor<reco::CandidateCollection>
,
15
typename
StoreManager =
typename
helper::StoreManagerTrait<reco::CandidateCollection>::type
,
16
typename
Base
=
typename
helper::StoreManagerTrait<reco::CandidateCollection>::base
,
17
typename
RefAdder =
typename
helper::SelectionAdderTrait<InputCollection, StoreContainer>::type
>
18
class
SingleObjectShallowCloneSelector
:
19
public
ObjectShallowCloneSelector
<SingleElementCollectionSelector<InputCollection, Selector, reco::CandidateCollection,
20
StoreContainer, RefAdder>,
21
NonNullNumberSelector, PostProcessor> {
22
public
:
23
explicit
SingleObjectShallowCloneSelector
(
const
edm::ParameterSet
&
cfg
) :
24
ObjectShallowCloneSelector
<
SingleElementCollectionSelector
<
InputCollection
,
Selector
,
reco
::
CandidateCollection
,
25
StoreContainer, RefAdder>,
26
NonNullNumberSelector
, PostProcessor>( cfg ) { }
27
virtual
~SingleObjectShallowCloneSelector
() { }
28
};
29
30
#endif
SelectionAdderTrait.h
helper::StoreContainerTrait::type
std::vector< const typename OutputCollection::value_type * > type
Definition:
StoreContainerTrait.h:15
helper::NullPostProcessor
Definition:
NullPostProcessor.h:11
ObjectShallowCloneSelector.h
CustomConfigs.Base
def Base(process)
Definition:
CustomConfigs.py:23
HiRegionalRecoMuon_cff.InputCollection
InputCollection
Definition:
HiRegionalRecoMuon_cff.py:20
helper::ObjectSelectorBase
Definition:
StoreManagerTrait.h:94
SingleObjectShallowCloneSelector::~SingleObjectShallowCloneSelector
virtual ~SingleObjectShallowCloneSelector()
Definition:
SingleObjectShallowCloneSelector.h:27
ALCARECOPromptCalibProdSiPixelAli0T_cff.Selector
Selector
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:81
SingleObjectShallowCloneSelector
Definition:
SingleObjectShallowCloneSelector.h:18
Selector
Functor that operates on <T>
Definition:
Selector.h:24
looper.cfg
cfg
Definition:
looper.py:293
SingleElementCollectionSelector
Definition:
SingleElementCollectionSelector.h:35
SingleObjectShallowCloneSelector::SingleObjectShallowCloneSelector
SingleObjectShallowCloneSelector(const edm::ParameterSet &cfg)
Definition:
SingleObjectShallowCloneSelector.h:23
helper::CollectionStoreManager
Definition:
StoreManagerTrait.h:71
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
StoreContainerTrait.h
helper::SelectionAdderTrait
Definition:
SelectionAdderTrait.h:81
edm::ParameterSet
Definition:
ParameterSet.h:36
reco::CandidateCollection
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
Definition:
CandidateFwd.h:21
NonNullNumberSelector
Definition:
NonNullNumberSelector.h:10
ObjectShallowCloneSelector
Definition:
ObjectShallowCloneSelector.h:15
SingleElementCollectionSelector.h
Generated for CMSSW Reference Manual by
1.8.11