18 return (value <= threshold_);
25 return ( value/
sin(2*atan(
exp(-eta))) <= threshold_);
32 return ( fabs(value) <= threshold_);
39 return ( fabs(value/
sin(2*atan(
exp(-eta)))) <= threshold_);
85 vetoDir_(dir.
eta(),dir.phi()), etaMin_(etaMin), etaMax_(etaMax), phiMin_(phiMin), phiMax_(phiMax) {
99 while( dPhi < -
M_PI ) dPhi += 2*
M_PI;
100 while( dPhi >=
M_PI ) dPhi -= 2*
M_PI;
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
void centerOn(double eta, double phi) override
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
Sin< T >::type sin(const T &t)
void centerOn(double eta, double phi) override
void centerOn(double eta, double phi) override
math::XYZVectorD vetoDir_
AngleCone(const math::XYZVectorD &dir, double angle)
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
void centerOn(double eta, double phi) override
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
double deltaR2(const Direction &dir2) const
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
math::XYZVectorD coneDir_
Cos< T >::type cos(const T &t)
void centerOn(double eta, double phi) override
void centerOn(double eta, double phi) override
void centerOn(double eta, double phi) override
AngleConeVeto(const math::XYZVectorD &dir, double angle)
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
std::vector< std::vector< double > > tmp
RectangularEtaPhiVeto(const math::XYZVectorD &dir, double etaMin, double etaMax, double phiMin, double phiMax)
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
void centerOn(double eta, double phi) override
void centerOn(double eta, double phi) override
bool veto(double eta, double phi, float value) const override
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
ROOT::Math::DisplacementVector3D< ROOT::Math::CylindricalEta3D< double > > RhoEtaPhiVectorD
spatial vector with cylindrical internal representation using pseudorapidity
T angle(T x1, T y1, T z1, T x2, T y2, T z2)