5#ifndef Trk_BasicValTrkParticleNtupleTool_h
6#define Trk_BasicValTrkParticleNtupleTool_h
10#include "GaudiKernel/ToolHandle.h"
58 const int iterationIndex,
59 const unsigned int fitStatCode );
69 const int iterationIndex,
70 const unsigned int fitStatCode );
81 const int iterationIndex );
103 const int truthIndex = -1 );
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
MC particle associated with a reco track + the quality of match.
unsigned char m_numberOfPixelDeadSensors
number of dead pixel sensors crossed
unsigned char m_numberOfPixelHoles
number of pixel layers on track with absence of hits
float m_errortheta0
error on angle theta at perigee UNIT:rad
virtual StatusCode fillTrackParticleData(const Trk::TrackParticleBase &)
fill ntuple data of a given track particle without writing the record.
float m_errorqoverp
error on curvature q/p UNIT:1/MeV
virtual StatusCode writeTrackData(const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode)
fill AND write ntuple data of a given track
virtual StatusCode fillMeasurementData(const Trk::MeasurementBase *, const Trk::TrackParameters *)
fill ntuple data of given measurement and track parameters without writing the record
virtual StatusCode fillTrackParameter(const Trk::TrackParameters *, const int iterationIndex)
fill ntuple data of a given track without writing the record.
StatusCode fillTrkParticlePerigee(const Trk::Perigee *perigee)
fill the perigee in ntuple
~BasicValTrkParticleNtupleTool()
BasicValTrkParticleNtupleTool(const std::string &, const std::string &, const IInterface *)
unsigned char m_numberOfTRTHits
number of TRT hits
unsigned char m_numberOfSCTDeadSensors
number of dead SCT sensors crossed
unsigned char m_numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold
unsigned char m_numberOfContribPixelLayers
number of contributing layers of the pixel detector
float m_errord0
error on local d0 at perigee UNIT:mm
bool m_bookNewNtuple
jobOption: book new ntuple?
StatusCode fillFitQualityData(const Trk::FitQuality *fitQuality)
virtual StatusCode fillOutlierData(const Trk::MeasurementBase *, const Trk::TrackParameters *, const Trk::FitQualityOnSurface *)
fill ntuple data of an outlier measurement (without writing the record yet).
float m_errorz0
error on local z0 at perigee UNIT:mm
virtual StatusCode writeTrackParticleData(const Trk::TrackParticleBase &)
fill AND write ntuple data of a given track particle
unsigned char m_numberOfTRTDeadStraws
number of dead TRT straws crossed
unsigned char m_numberOfPixelHits
number of measurements in the Pixels
unsigned char m_numberOfSCTHits
number of measurements in the SCT
float m_Rec_phi0
reconstructed track params: angle phi at perigee UNIT:rad
static const float s_errorEntry
error entry costant
unsigned char m_TrackID
number of the track within the current event
std::string m_ntupleDirName
jobOption: Ntuple directory name
unsigned char m_numberOfSCTHoles
number of SCT holes
TTree * m_nt
Pointer to the NTuple tree.
std::string m_ntupleTreeName
jobOption: Ntuple tree name
unsigned int m_lastEventNumber
help variable to link with event property tree
int m_TrackIDcounter
help variable to link with event property tree
float m_errorphi0
error on angle phi at perigee UNIT:rad
SG::ReadHandleKey< xAOD::EventInfo > m_evt
float m_Rec_qOverP
reconstructed track params: curvature q/p UNIT:1/MeV
virtual StatusCode fillTrackTruthData(const TrackParameters *&, const TrackTruth &, const int truthIndex=-1)
fill ntuple data of holes on track without writing the record
virtual StatusCode writeRecord(TTree *tree)
write the filled data into the ntuple
float m_Rec_z0
reconstructed track params: local z0 at perigee UNIT:mm
float m_chi2
chi sqared of the track fit normalized to DOF
virtual StatusCode addNtupleItems(TTree *tree)
add branches to the tree Should be called once (per track collection and tree) dunring the initialisa...
float m_Rec_d0
reconstructed track params: local d0 at perigee UNIT:mm
StatusCode fillTrkParticleSummary(const Trk::TrackSummary *summary)
fill the perigee in ntuple
std::string m_ntupleFileName
jobOption: Ntuple file name
int m_runNumber
run number the track belongs to
int m_eventNumber
event number the track belongs to
StatusCode finalize()
finalize
virtual StatusCode fillTrackData(const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode)
fill ntuple data of a given track without writing the record.
virtual StatusCode fillHoleData(const Trk::TrackStateOnSurface &)
fill ntuple data of holes on track without writing the record
float m_Rec_eta
reconstructed track params: pseudorapidity UNIT:1
unsigned char m_numberOfTRTHoles
number of TRT holes
unsigned long m_idHitPattern
bit word carrying information about hit layers
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
This class is the pure abstract base class for all fittable tracking measurements.
represents the track state (measurement, material, fit parameters and quality) at a surface.
A summary of the information contained by a track.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
ParametersBase< TrackParametersDim, Charged > TrackParameters