00001 #ifndef CandAlgos_ObjectShallowCloneSelector_h 00002 #define CandAlgos_ObjectShallowCloneSelector_h 00003 /* \class RefVectorShallowCloneStoreMananger 00004 * 00005 * \author Luca Lista, INFN 00006 * 00007 */ 00008 #include "CommonTools/UtilAlgos/interface/ObjectSelector.h" 00009 #include "DataFormats/Candidate/interface/ShallowCloneCandidate.h" 00010 #include "DataFormats/Common/interface/RefVector.h" 00011 00012 template<typename Selector, 00013 typename SizeSelector = NonNullNumberSelector, 00014 typename PostProcessor = helper::NullPostProcessor<reco::CandidateCollection> > 00015 class ObjectShallowCloneSelector : public ObjectSelector<Selector, reco::CandidateCollection, SizeSelector> { 00016 public: 00017 explicit ObjectShallowCloneSelector( const edm::ParameterSet & cfg ) : 00018 ObjectSelector<Selector, reco::CandidateCollection, SizeSelector, PostProcessor>( cfg ) { } 00019 }; 00020 00021 #endif