00001 // system include files 00002 #include <memory> 00003 00004 // user include files 00005 #include "FWCore/Framework/interface/Frameworkfwd.h" 00006 #include "FWCore/Framework/interface/EDProducer.h" 00007 00008 #include "FWCore/Framework/interface/Event.h" 00009 #include "FWCore/Framework/interface/MakerMacros.h" 00010 00011 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00012 00013 #include "DataFormats/Common/interface/Handle.h" 00014 #include "FWCore/Framework/interface/ESHandle.h" 00015 00016 #include "AnalysisDataFormats/SUSYBSMObjects/interface/HSCParticle.h" 00017 00018 class CandidateSelector{ 00019 public: 00020 CandidateSelector(const edm::ParameterSet& iConfig); 00021 bool isSelected(susybsm::HSCParticle& candidate); 00022 00023 bool isTrack; 00024 bool isMuon; 00025 bool isMuonSTA; 00026 bool isMuonGB; 00027 bool isMuonTK; 00028 bool isRpc; 00029 bool isEcal; 00030 00031 int minTrackHits; 00032 float minTrackP; 00033 float minTrackPt; 00034 float minDedx; 00035 00036 float minMuonP; 00037 float minMuonPt; 00038 00039 float maxMuTimeDtBeta; 00040 float minMuTimeDtNdof; 00041 float maxMuTimeCscBeta; 00042 float minMuTimeCscNdof; 00043 float maxMuTimeCombinedBeta; 00044 float minMuTimeCombinedNdof; 00045 00046 float maxBetaRpc; 00047 float maxBetaEcal; 00048 }; 00049 00050