Definition at line 182 of file BPHHistoSpecificDecay.cc.
BPHDaughterSelect::BPHDaughterSelect |
( |
float |
ptMinLoose, |
|
|
float |
ptMinTight, |
|
|
float |
etaMaxLoose, |
|
|
float |
etaMaxTight, |
|
|
const BPHSoftMuonSelect * |
softMuonselector = nullptr |
|
) |
| |
|
inline |
BPHDaughterSelect::~BPHDaughterSelect |
( |
| ) |
|
|
inlineoverride |
Definition at line 194 of file BPHHistoSpecificDecay.cc.
References reco::CompositeCandidate::daughter(), reco::Candidate::eta(), HLT_FULL_cff::eta1, and reco::Candidate::pt().
Referenced by esMonitoring.FDJsonServer::handle_accept().
203 if (dptr0 ==
nullptr)
205 if (dptr1 ==
nullptr)
207 float pt0 = dptr0->
pt();
208 float pt1 = dptr1->
pt();
209 if ((pt0 < ptMinLoose) || (pt1 < ptMinLoose))
211 if ((pt0 < ptMinTight) && (pt1 < ptMinTight))
213 float eta0 = fabs(dptr0->
eta());
214 float eta1 = fabs(dptr1->
eta());
215 if ((etaMaxLoose > 0) && ((eta0 > etaMaxLoose) || (eta1 > etaMaxLoose)))
217 if ((etaMaxTight > 0) && ((eta0 > etaMaxTight) && (eta1 > etaMaxTight)))
219 if (softMuonselector !=
nullptr) {
220 const reco::Vertex* pvtx = BPHUserData::getByRef<reco::Vertex>(cand,
"primaryVertex");
223 if (!softMuonselector->
accept(*dptr0, pvtx))
225 if (!softMuonselector->
accept(*dptr1, pvtx))
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual double pt() const =0
transverse momentum
bool accept(const reco::Candidate &cand, const reco::Vertex *pv) const
virtual double eta() const =0
momentum pseudorapidity
float BPHDaughterSelect::eLMax |
|
private |
float BPHDaughterSelect::eTMax |
|
private |
float BPHDaughterSelect::pLMin |
|
private |
float BPHDaughterSelect::pTMin |
|
private |