class CLASSNAME \
: public WorkingPoint \
{ \
public: \
const AMVFVerticesAcc& vtxDeco, const AMVFWeightsAcc& wgtDeco) const \
{ \
FitWeight weight = fitWeight(trk, vtx, vtxDeco, wgtDeco); \
return ((weight.second > 0.) ? (weight.first >= weight.second) : (absD0(trk) < RADIAL_CUT && absDzSinTheta(trk, vtx) < RADIAL_CUT)); \
} \
}; \
172 #define NONPROMPT_MAXWEIGHT(CLASSNAME, RADIAL_CUT) \
173 class CLASSNAME \
174 : public WorkingPoint \
175 { \
176 public: \
177 virtual bool apply(const xAOD::TrackParticle* trk, const xAOD::Vertex* vtx, const xAOD::EventInfo*, \
178 const AMVFVerticesAcc& vtxDeco, const AMVFWeightsAcc& wgtDeco) const \
179 { \
180 FitWeight weight = fitWeight(trk, vtx, vtxDeco, wgtDeco); \
181 return ((weight.second > 0.) ? (weight.first >= weight.second) : (absD0(trk) < RADIAL_CUT && absDzSinTheta(trk, vtx) < RADIAL_CUT)); \
182 } \
183 }; \
184