ATLAS Offline Software
Namespaces | Macros
InnerDetector/InDetRecTools/TrackVertexAssociationTool/Root/TrackVertexAssociationTool.cxx File Reference
#include "TrackVertexAssociationTool/TrackVertexAssociationTool.h"
#include "AsgDataHandles/ReadHandle.h"
#include "xAODTracking/TrackParticle.h"
#include "xAODTracking/TrackParticleContainer.h"
#include "xAODTracking/Vertex.h"
#include "xAODTracking/VertexContainer.h"
#include "xAODTracking/TrackParticlexAODHelpers.h"
#include "xAODTracking/TrackingPrimitives.h"
#include "TString.h"
#include <cmath>
#include <map>
#include <set>
#include <stdexcept>
#include <utility>

Go to the source code of this file.

Namespaces

 CP
 Select isolated Photons, Electrons and Muons.
 

Macros

#define NONPROMPT_D0SIG(CLASSNAME, RADIAL_CUT)
 
#define NONPROMPT_MAXWEIGHT(CLASSNAME, RADIAL_CUT)
 
#define IF_WORKING_POINT(WORKING_POINT, DO_USED_IN_FIT, REQUIRE_PRI_VTX)
 

Macro Definition Documentation

◆ IF_WORKING_POINT

#define IF_WORKING_POINT (   WORKING_POINT,
  DO_USED_IN_FIT,
  REQUIRE_PRI_VTX 
)
Value:
if (m_wp == #WORKING_POINT) { \
m_applicator = std::unique_ptr<CP::TrackVertexAssociationTool::WorkingPoint>(new ::WORKING_POINT()); \
m_doUsedInFit = DO_USED_IN_FIT; \
m_requirePriVtx = REQUIRE_PRI_VTX; \
} \

Definition at line 245 of file InnerDetector/InDetRecTools/TrackVertexAssociationTool/Root/TrackVertexAssociationTool.cxx.

◆ NONPROMPT_D0SIG

#define NONPROMPT_D0SIG (   CLASSNAME,
  RADIAL_CUT 
)
Value:
class CLASSNAME \
: public WorkingPoint \
{ \
public: \
virtual bool apply(const xAOD::TrackParticle* trk, const xAOD::Vertex* vtx, const xAOD::EventInfo* evt, \
const AMVFVerticesAcc& vtxDeco, const AMVFWeightsAcc& wgtDeco) const \
{ \
return (absD0(trk) < RADIAL_CUT && ((absD0Sig(trk, evt) < 3.0) ? (fitWeight(trk, vtx, vtxDeco, wgtDeco).first > 0.03) : (absDzSinTheta(trk, vtx) < RADIAL_CUT))); \
} \
}; \

Definition at line 145 of file InnerDetector/InDetRecTools/TrackVertexAssociationTool/Root/TrackVertexAssociationTool.cxx.

◆ NONPROMPT_MAXWEIGHT

#define NONPROMPT_MAXWEIGHT (   CLASSNAME,
  RADIAL_CUT 
)
Value:
class CLASSNAME \
: public WorkingPoint \
{ \
public: \
virtual bool apply(const xAOD::TrackParticle* trk, const xAOD::Vertex* vtx, const xAOD::EventInfo*, \
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)); \
} \
}; \

Definition at line 173 of file InnerDetector/InDetRecTools/TrackVertexAssociationTool/Root/TrackVertexAssociationTool.cxx.

LArG4FSStartPointFilter.evt
evt
Definition: LArG4FSStartPointFilter.py:42
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
DeMoScan.first
bool first
Definition: DeMoScan.py:534
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
python.dqu_subprocess.apply
def apply(func, args)
Definition: dqu_subprocess.py:11