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;
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
virtual void centerOn(double eta, double phi)
virtual void centerOn(double eta, double phi)
virtual void centerOn(double eta, double phi)
virtual bool veto(double eta, double phi, float value) const
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)
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
math::XYZVectorD vetoDir_
AngleCone(const math::XYZVectorD &dir, double angle)
virtual void centerOn(double eta, double phi)
virtual void centerOn(double eta, double phi)
double deltaR2(const Direction &dir2) const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
virtual void centerOn(double eta, double phi)
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
math::XYZVectorD coneDir_
Cos< T >::type cos(const T &t)
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
AngleConeVeto(const math::XYZVectorD &dir, double angle)
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
virtual void centerOn(double eta, double phi)
std::vector< std::vector< double > > tmp
RectangularEtaPhiVeto(const math::XYZVectorD &dir, double etaMin, double etaMax, double phiMin, double phiMax)
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
virtual void centerOn(double eta, double phi)
virtual void centerOn(double eta, double phi)
virtual bool veto(double eta, double phi, float value) const
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum...
virtual bool veto(double eta, double phi, float value) const
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)