5 using namespace susybsm;
13 isMuonSTA = iConfig.
getParameter<
bool> (
"onlyConsiderMuonSTA");
14 isMuonGB = iConfig.
getParameter<
bool> (
"onlyConsiderMuonGB");
15 isMuonTK = iConfig.
getParameter<
bool> (
"onlyConsiderMuonTK");
16 isMTMuon = iConfig.
getParameter<
bool> (
"onlyConsiderMTMuon");
18 isEcal = iConfig.
getParameter<
bool> (
"onlyConsiderEcal");
20 minTrackHits = iConfig.
getParameter<
int> (
"minTrackHits");
28 minSAMuonPt = iConfig.
getParameter<
double> (
"minMTMuonPt");
29 minMTMuonPt = iConfig.
getParameter<
double> (
"minMTMuonPt");
31 maxMuTimeDtBeta = iConfig.
getParameter<
double> (
"maxMuTimeDtBeta");
32 minMuTimeDtNdof = iConfig.
getParameter<
double> (
"minMuTimeDtNdof");
33 maxMuTimeCscBeta = iConfig.
getParameter<
double> (
"maxMuTimeCscBeta");
34 minMuTimeCscNdof = iConfig.
getParameter<
double> (
"minMuTimeCscNdof");
35 maxMuTimeCombinedBeta = iConfig.
getParameter<
double> (
"maxMuTimeCombinedBeta");
36 minMuTimeCombinedNdof = iConfig.
getParameter<
double> (
"minMuTimeCombinedNdof");
38 maxBetaRpc = iConfig.
getParameter<
double> (
"maxBetaRpc");
39 maxBetaEcal = iConfig.
getParameter<
double> (
"maxBetaEcal");
50 if(isMTMuon && !candidate.
hasMTMuonRef() ){
return false;}
51 if(isRpc && !candidate.
hasRpcInfo() ){
return false;}
52 if(isEcal && !candidate.
hasCaloInfo()){
return false;}
55 if(candidate.
trackRef()->found() < minTrackHits){
return false;}
65 if(candidate.
muonRef()->p() < minMuonP ){
return false;}
66 if(candidate.
muonRef()->pt() < minMuonPt ){
return false;}
77 if(candidate.
hasRpcInfo() && maxBetaRpc>=0 && candidate.
rpc ().
beta > maxBetaRpc ){
return false;}
80 if(candidate.
muonRef()->standAloneMuon()->pt() < minSAMuonPt ){
return false;}
85 if(candidate.
MTMuonRef()->standAloneMuon()->pt() < minMTMuonPt ){
return false;}
T getParameter(std::string const &) const
bool isMuon(const Candidate &part)
const RPCBetaMeasurement & rpc() const
reco::MuonRef MTMuonRef() const
bool hasMTMuonRef() const
bool isNull() const
Checks for null.
reco::MuonRef muonRef() const
CandidateSelector(const edm::ParameterSet &iConfig)
reco::TrackRef trackRef() const
bool isSelected(susybsm::HSCParticle &candidate)