File indexing completed on 2024-04-06 12:01:02
0001 #ifndef CandAlgos_ObjectShallowCloneSelector_h
0002 #define CandAlgos_ObjectShallowCloneSelector_h
0003
0004
0005
0006
0007
0008 #include "CommonTools/UtilAlgos/interface/ObjectSelector.h"
0009 #include "DataFormats/Candidate/interface/ShallowCloneCandidate.h"
0010 #include "DataFormats/Common/interface/RefVector.h"
0011
0012 template <typename Selector,
0013 typename SizeSelector = NonNullNumberSelector,
0014 typename PostProcessor = helper::NullPostProcessor<reco::CandidateCollection> >
0015 class ObjectShallowCloneSelector : public ObjectSelector<Selector, reco::CandidateCollection, SizeSelector> {
0016 public:
0017 explicit ObjectShallowCloneSelector(const edm::ParameterSet& cfg)
0018 : ObjectSelector<Selector, reco::CandidateCollection, SizeSelector, PostProcessor>(cfg) {}
0019 };
0020
0021 #endif