Definition at line 41 of file IsoDepositVetoFactory.cc.
reco::isodeposit::NumCrystalEtaPhiVeto::NumCrystalEtaPhiVeto |
( |
const math::XYZVectorD & |
dir, |
|
|
double |
iEta, |
|
|
double |
iPhi |
|
) |
| |
|
inline |
reco::isodeposit::NumCrystalEtaPhiVeto::NumCrystalEtaPhiVeto |
( |
Direction |
dir, |
|
|
double |
iEta, |
|
|
double |
iPhi |
|
) |
| |
|
inline |
virtual void reco::isodeposit::NumCrystalEtaPhiVeto::centerOn |
( |
double |
eta, |
|
|
double |
phi |
|
) |
| |
|
inlineoverridevirtual |
virtual bool reco::isodeposit::NumCrystalEtaPhiVeto::veto |
( |
double |
eta, |
|
|
double |
phi, |
|
|
float |
value |
|
) |
| const |
|
inlineoverridevirtual |
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum.
Implements reco::isodeposit::AbsVeto.
Definition at line 51 of file IsoDepositVetoFactory.cc.
References dPhi(), and M_PI.
54 while( dPhi < -
M_PI ) dPhi += 2*
M_PI;
55 while( dPhi >=
M_PI ) dPhi -= 2*
M_PI;
57 return ( (fabs(dEta) < 0.0174*
iEta_) && (fabs(dPhi) < 0.0174*
iPhi_) );
59 return ( (fabs(dEta) < 0.00864*fabs(sinh(
eta))*
iEta_) &&
60 (fabs(dPhi) < 0.00864*fabs(sinh(
eta))*
iPhi_) );
double dPhi(double phi1, double phi2)
double reco::isodeposit::NumCrystalEtaPhiVeto::iEta_ |
|
private |
double reco::isodeposit::NumCrystalEtaPhiVeto::iPhi_ |
|
private |
Direction reco::isodeposit::NumCrystalEtaPhiVeto::vetoDir_ |
|
private |