Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:03

0001 /* \class StatusCandRefSelector

0002  * 

0003  * Candidate Selector based on the status.

0004  * Save a vector of references to selected candidates.

0005  * Usage:

0006  * 

0007  * module leptons = StatusCandRefSelector {

0008  *   InputTag src = myCollection

0009  *   vint32 status =  { 1 }

0010  * };

0011  *

0012  * \author: Luca Lista, INFN

0013  *

0014  */
0015 #include "FWCore/Framework/interface/MakerMacros.h"
0016 #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h"
0017 #include "CommonTools/UtilAlgos/interface/StatusSelector.h"
0018 #include "DataFormats/Candidate/interface/Candidate.h"
0019 
0020 typedef SingleObjectSelector<reco::CandidateCollection, StatusSelector, reco::CandidateRefVector> StatusCandRefSelector;
0021 
0022 DEFINE_FWK_MODULE(StatusCandRefSelector);