TauTrackFinder Class Reference

Associate tracks to the tau candidate. More...

#include <TauTrackFinder.h>

Inheritance diagram for TauTrackFinder:
TauRecToolBase asg::AsgTool ITauToolBase asg::IAsgTool asg::IAsgTool

List of all members.

Public Types

enum  TauTrackType { TauTrackCore = 0, TauTrackWide = 1, TauTrackOther = 2, NotTauTrack = 3 }
 

Enumerator defining type of tau track.


Public Member Functions

 TauTrackFinder (const std::string &name)
 Constructor and Destructor.
 ASG_TOOL_CLASS2 (TauTrackFinder, TauRecToolBase, ITauToolBase)
virtual StatusCode initialize ()
 Algorithm functions.
virtual StatusCode eventInitialize ()
 Event initializer - called at the beginning of each event.
virtual StatusCode execute (xAOD::TauJet &pTau)
 Execute - called for each tau candidate.
virtual StatusCode eventFinalize ()
 Event finalizer - called at the end of each event.
virtual StatusCode finalize ()
 Finalizer.
virtual void print () const
 Print the state of the tool.
StatusCode extrapolateToCaloSurface (xAOD::TauJet &pTau)
 Extrapolate track eta and phi to the calorimeter middle surface.
TauTrackType tauTrackType (const xAOD::TauJet &tauJet, const xAOD::TrackParticle &trackParticle, const xAOD::Vertex *primaryVertex)
void getTauTracksFromPV (const xAOD::TauJet &tauJet, const xAOD::TrackParticleContainer &trackParticleCont, const xAOD::Vertex *primaryVertex, std::vector< const xAOD::TrackParticle * > &tauTracks, std::vector< const xAOD::TrackParticle * > &wideTracks, std::vector< const xAOD::TrackParticle * > &otherTracks)
void removeOffsideTracksWrtLeadTrk (std::vector< const Rec::TrackParticle * > &tauTracks, std::vector< const Rec::TrackParticle * > &wideTracks, std::vector< const Rec::TrackParticle * > &otherTracks, const Trk::RecVertex *tauOrigin, double maxDeltaZ0)
void removeOffsideTracksWrtLeadTrk (std::vector< const xAOD::TrackParticle * > &tauTracks, std::vector< const xAOD::TrackParticle * > &wideTracks, std::vector< const xAOD::TrackParticle * > &otherTracks, const xAOD::Vertex *tauOrigin, double maxDeltaZ0)
void getDeltaZ0Values (std::vector< float > &vDeltaZ0coreTrks, std::vector< float > &vDeltaZ0wideTrks)
void resetDeltaZ0Cache ()

Detailed Description

Associate tracks to the tau candidate.

The tracks have to pass dedicated quality criteria and have to match to a primary vertex consistent with the tau origin.

Author:
KG Tan <Kong.Guan.Tan@cern.ch>
Felix Friedrich

Member Function Documentation

StatusCode TauTrackFinder::execute ( xAOD::TauJet pTau  )  [virtual]

Execute - called for each tau candidate.

FIXME hide the logic to create element links inside xAODTau was

was

Reimplemented from TauRecToolBase.

void TauTrackFinder::removeOffsideTracksWrtLeadTrk ( std::vector< const xAOD::TrackParticle * > &  tauTracks,
std::vector< const xAOD::TrackParticle * > &  wideTracks,
std::vector< const xAOD::TrackParticle * > &  otherTracks,
const xAOD::Vertex tauOrigin,
double  maxDeltaZ0 
)

FIXME: This causes compilation error after eigen migration if (tauOrigin) if (!tauOrigin->position()) tauOrigin = 0;

void TauTrackFinder::removeOffsideTracksWrtLeadTrk ( std::vector< const Rec::TrackParticle * > &  tauTracks,
std::vector< const Rec::TrackParticle * > &  wideTracks,
std::vector< const Rec::TrackParticle * > &  otherTracks,
const Trk::RecVertex *  tauOrigin,
double  maxDeltaZ0 
)

FIXME: This causes compilation error after eigen migration if (tauOrigin) if (!tauOrigin->position()) tauOrigin = 0;


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1