Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::RootTrajectoryStatesWriter Class Referencefinal

#include <acts/blob/sPHENIX/Examples/Io/Root/include/ActsExamples/Io/Root/RootTrajectoryStatesWriter.hpp>

+ Inheritance diagram for ActsExamples::RootTrajectoryStatesWriter:
+ Collaboration diagram for ActsExamples::RootTrajectoryStatesWriter:

Classes

struct  Config
 

Public Types

using HitParticlesMap = IndexMultimap< ActsFatras::Barcode >
 
using HitSimHitsMap = IndexMultimap< Index >
 

Public Member Functions

 RootTrajectoryStatesWriter (const Config &config, Acts::Logging::Level level)
 
 ~RootTrajectoryStatesWriter () override
 
ProcessCode finalize () override
 End-of-run hook.
 
const Configconfig () const
 Get readonly access to the config parameters.
 
- Public Member Functions inherited from ActsExamples::WriterT< TrajectoriesContainer >
 WriterT (std::string objectName, std::string writerName, Acts::Logging::Level level)
 
std::string name () const override
 Provide the name of the writer.
 
ProcessCode write (const AlgorithmContext &context) override
 Read the object and call the type-specific member function.
 
ProcessCode finalize () override
 No-op default implementation.
 
- Public Member Functions inherited from ActsExamples::IWriter
ProcessCode internalExecute (const AlgorithmContext &context) final
 
ProcessCode initialize () override
 Fulfil the algorithm interface.
 
- Public Member Functions inherited from ActsExamples::SequenceElement
virtual ~SequenceElement ()=default
 
const std::vector< const
DataHandleBase * > & 
writeHandles () const
 
const std::vector< const
DataHandleBase * > & 
readHandles () const
 

Protected Member Functions

ProcessCode writeT (const AlgorithmContext &ctx, const TrajectoriesContainer &trajectories) override
 Write method called by the base class.
 
- Protected Member Functions inherited from ActsExamples::WriterT< TrajectoriesContainer >
const Acts::Loggerlogger () const
 

Private Attributes

Config m_cfg
 The config class.
 
ReadDataHandle
< SimParticleContainer
m_inputParticles {this, "InputParticles"}
 
ReadDataHandle< SimHitContainerm_inputSimHits {this, "InputSimHits"}
 
ReadDataHandle< HitParticlesMapm_inputMeasurementParticlesMap
 
ReadDataHandle< HitSimHitsMapm_inputMeasurementSimHitsMap
 
std::mutex m_writeMutex
 Mutex used to protect multi-threaded writes.
 
TFile * m_outputFile {nullptr}
 The output file.
 
TTree * m_outputTree {nullptr}
 The output tree.
 
uint32_t m_eventNr {0}
 the event number
 
uint32_t m_multiTrajNr {0}
 the multi-trajectory number
 
unsigned int m_subTrajNr {0}
 the multi-trajectory sub-trajectory number
 
std::vector< float > m_t_x
 Global truth hit position x.
 
std::vector< float > m_t_y
 Global truth hit position y.
 
std::vector< float > m_t_z
 Global truth hit position z.
 
std::vector< float > m_t_r
 Global truth hit position r.
 
std::vector< float > m_t_dx
 Truth particle direction x at global hit position.
 
std::vector< float > m_t_dy
 Truth particle direction y at global hit position.
 
std::vector< float > m_t_dz
 Truth particle direction z at global hit position.
 
std::vector< float > m_t_eLOC0
 truth parameter eBoundLoc0
 
std::vector< float > m_t_eLOC1
 truth parameter eBoundLoc1
 
std::vector< float > m_t_ePHI
 truth parameter ePHI
 
std::vector< float > m_t_eTHETA
 truth parameter eTHETA
 
std::vector< float > m_t_eQOP
 truth parameter eQOP
 
std::vector< float > m_t_eT
 truth parameter eT
 
unsigned int m_nStates {0}
 number of all states
 
unsigned int m_nMeasurements {0}
 number of states with measurements
 
std::vector< int > m_volumeID
 volume identifier
 
std::vector< int > m_layerID
 layer identifier
 
std::vector< int > m_moduleID
 surface identifier
 
std::vector< float > m_pathLength
 path length
 
std::vector< float > m_lx_hit
 uncalibrated measurement local x
 
std::vector< float > m_ly_hit
 uncalibrated measurement local y
 
std::vector< float > m_x_hit
 uncalibrated measurement global x
 
std::vector< float > m_y_hit
 uncalibrated measurement global y
 
std::vector< float > m_z_hit
 uncalibrated measurement global z
 
std::vector< float > m_res_x_hit
 hit residual x
 
std::vector< float > m_res_y_hit
 hit residual y
 
std::vector< float > m_err_x_hit
 hit err x
 
std::vector< float > m_err_y_hit
 hit err y
 
std::vector< float > m_pull_x_hit
 hit pull x
 
std::vector< float > m_pull_y_hit
 hit pull y
 
std::vector< int > m_dim_hit
 dimension of measurement
 
std::array< int, 4 > m_nParams {}
 
std::array< std::vector< bool >, 4 > m_hasParams
 
std::array< std::vector< float >, 4 > m_eLOC0
 predicted/filtered/smoothed/unbiased parameter eLOC0
 
std::array< std::vector< float >, 4 > m_eLOC1
 predicted/filtered/smoothed/unbiased parameter eLOC1
 
std::array< std::vector< float >, 4 > m_ePHI
 predicted/filtered/smoothed/unbiased parameter ePHI
 
std::array< std::vector< float >, 4 > m_eTHETA
 predicted/filtered/smoothed/unbiased parameter eTHETA
 
std::array< std::vector< float >, 4 > m_eQOP
 predicted/filtered/smoothed/unbiased parameter eQOP
 
std::array< std::vector< float >, 4 > m_eT
 predicted/filtered/smoothed/unbiased parameter eT
 
std::array< std::vector< float >, 4 > m_res_eLOC0
 
std::array< std::vector< float >, 4 > m_res_eLOC1
 
std::array< std::vector< float >, 4 > m_res_ePHI
 
std::array< std::vector< float >, 4 > m_res_eTHETA
 
std::array< std::vector< float >, 4 > m_res_eQOP
 
std::array< std::vector< float >, 4 > m_res_eT
 predicted/filtered/smoothed/unbiased parameter eT residual
 
std::array< std::vector< float >, 4 > m_err_eLOC0
 
std::array< std::vector< float >, 4 > m_err_eLOC1
 
std::array< std::vector< float >, 4 > m_err_ePHI
 
std::array< std::vector< float >, 4 > m_err_eTHETA
 
std::array< std::vector< float >, 4 > m_err_eQOP
 
std::array< std::vector< float >, 4 > m_err_eT
 predicted/filtered/smoothed/unbiased parameter eT error
 
std::array< std::vector< float >, 4 > m_pull_eLOC0
 
std::array< std::vector< float >, 4 > m_pull_eLOC1
 
std::array< std::vector< float >, 4 > m_pull_ePHI
 
std::array< std::vector< float >, 4 > m_pull_eTHETA
 
std::array< std::vector< float >, 4 > m_pull_eQOP
 
std::array< std::vector< float >, 4 > m_pull_eT
 predicted/filtered/smoothed/unbiased parameter eT pull
 
std::array< std::vector< float >, 4 > m_x
 predicted/filtered/smoothed/unbiased parameter global x
 
std::array< std::vector< float >, 4 > m_y
 predicted/filtered/smoothed/unbiased parameter global y
 
std::array< std::vector< float >, 4 > m_z
 predicted/filtered/smoothed/unbiased parameter global z
 
std::array< std::vector< float >, 4 > m_px
 predicted/filtered/smoothed/unbiased parameter px
 
std::array< std::vector< float >, 4 > m_py
 predicted/filtered/smoothed/unbiased parameter py
 
std::array< std::vector< float >, 4 > m_pz
 predicted/filtered/smoothed/unbiased parameter pz
 
std::array< std::vector< float >, 4 > m_eta
 predicted/filtered/smoothed/unbiased parameter eta
 
std::array< std::vector< float >, 4 > m_pT
 predicted/filtered/smoothed/unbiased parameter pT
 
std::vector< float > m_chi2
 chisq from filtering
 

Detailed Description

Write out a trajectory (i.e. a vector of trackState at the moment) into a TTree

Safe to use from multiple writer threads - uses a std::mutex lock.

Each entry in the TTree corresponds to one trajectory for optimum writing speed. The event number is part of the written data.

A common file can be provided for the writer to attach his TTree, this is done by setting the Config::rootFile pointer to an existing file

Safe to use from multiple writer threads - uses a std::mutex lock.

Definition at line 52 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 52 of file RootTrajectoryStatesWriter.hpp

Member Typedef Documentation

Definition at line 55 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 55 of file RootTrajectoryStatesWriter.hpp

Constructor & Destructor Documentation

ActsExamples::RootTrajectoryStatesWriter::RootTrajectoryStatesWriter ( const Config config,
Acts::Logging::Level  level 
)

Constructor

Parameters
configConfiguration struct
levelMessage level declaration

Definition at line 50 of file RootTrajectoryStatesWriter.cpp.

View newest version in sPHENIX GitHub at line 50 of file RootTrajectoryStatesWriter.cpp

References ActsExamples::RootTrajectoryStatesWriter::Config::fileMode, ActsExamples::RootTrajectoryStatesWriter::Config::filePath, ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::RootTrajectoryStatesWriter::Config::inputMeasurementParticlesMap, ActsExamples::RootTrajectoryStatesWriter::Config::inputMeasurementSimHitsMap, ActsExamples::RootTrajectoryStatesWriter::Config::inputParticles, ActsExamples::RootTrajectoryStatesWriter::Config::inputSimHits, m_cfg, m_chi2, m_dim_hit, m_eLOC0, m_eLOC1, m_ePHI, m_eQOP, m_err_eLOC0, m_err_eLOC1, m_err_ePHI, m_err_eQOP, m_err_eT, m_err_eTHETA, m_err_x_hit, m_err_y_hit, m_eT, m_eta, m_eTHETA, m_eventNr, m_hasParams, m_inputMeasurementParticlesMap, m_inputMeasurementSimHitsMap, m_inputParticles, m_inputSimHits, m_layerID, m_lx_hit, m_ly_hit, m_moduleID, m_multiTrajNr, m_nMeasurements, m_nParams, m_nStates, m_outputFile, m_outputTree, m_pathLength, m_pT, m_pull_eLOC0, m_pull_eLOC1, m_pull_ePHI, m_pull_eQOP, m_pull_eT, m_pull_eTHETA, m_pull_x_hit, m_pull_y_hit, m_px, m_py, m_pz, m_res_eLOC0, m_res_eLOC1, m_res_ePHI, m_res_eQOP, m_res_eT, m_res_eTHETA, m_res_x_hit, m_res_y_hit, m_subTrajNr, m_t_dx, m_t_dy, m_t_dz, m_t_eLOC0, m_t_eLOC1, m_t_ePHI, m_t_eQOP, m_t_eT, m_t_eTHETA, m_t_r, m_t_x, m_t_y, m_t_z, m_volumeID, m_x, m_x_hit, m_y, m_y_hit, m_z, m_z_hit, path, and ActsExamples::RootTrajectoryStatesWriter::Config::treeName.

+ Here is the call graph for this function:

ActsExamples::RootTrajectoryStatesWriter::~RootTrajectoryStatesWriter ( )
override

Definition at line 274 of file RootTrajectoryStatesWriter.cpp.

View newest version in sPHENIX GitHub at line 274 of file RootTrajectoryStatesWriter.cpp

Member Function Documentation

const Config& ActsExamples::RootTrajectoryStatesWriter::config ( ) const
inline

Get readonly access to the config parameters.

Definition at line 88 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 88 of file RootTrajectoryStatesWriter.hpp

References m_cfg.

ActsExamples::ProcessCode ActsExamples::RootTrajectoryStatesWriter::finalize ( )
overridevirtual

End-of-run hook.

Implements ActsExamples::SequenceElement.

Definition at line 278 of file RootTrajectoryStatesWriter.cpp.

View newest version in sPHENIX GitHub at line 278 of file RootTrajectoryStatesWriter.cpp

References ACTS_INFO, m_cfg(), and SUCCESS.

+ Here is the call graph for this function:

ActsExamples::ProcessCode ActsExamples::RootTrajectoryStatesWriter::writeT ( const AlgorithmContext ctx,
const TrajectoriesContainer trajectories 
)
overrideprotectedvirtual

Write method called by the base class.

Parameters
[in]ctxis the algorithm context for event information
[in]trajectoriesare what to be written out

Implements ActsExamples::WriterT< TrajectoriesContainer >.

Definition at line 289 of file RootTrajectoryStatesWriter.cpp.

View newest version in sPHENIX GitHub at line 289 of file RootTrajectoryStatesWriter.cpp

References ACTS_DEBUG, ACTS_VERBOSE, ActsExamples::averageSimHits(), covariance(), Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundTheta, Acts::eBoundTime, Acts::eFreeDir0, Acts::eFreeDir1, Acts::eFreeDir2, Acts::eFreePos0, Acts::eFreePos1, Acts::eFreePos2, Acts::eFreeQOverP, Acts::eMom0, Acts::eMom1, Acts::eMom2, Acts::ePos0, Acts::ePos1, Acts::ePos2, Acts::VectorHelpers::eta(), Acts::eTime, ActsExamples::AlgorithmContext::eventNumber, gctx, ActsExamples::AlgorithmContext::geoContext, H, Acts::hasParams(), ActsExamples::identifyContributingParticles(), logger(), Acts::UnitConstants::m, Acts::detail_vtc::m_chi2, Acts::detail_vtc::m_nMeasurements, ActsExamples::makeRange(), Acts::MeasurementFlag, norm, merge_hashes::p, Dataset::parameters, particle, particles, Acts::VectorHelpers::perp(), ActsTests::PropagationDatasets::phi, filter::state, SUCCESS, writeMapConfig::surface, ActsTests::PropagationDatasets::theta, Acts::MultiTrajectoryHelpers::trajectoryState(), and Acts::detail::transformBoundToFreeParameters().

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::RootTrajectoryStatesWriter::m_cfg
private

The config class.

Definition at line 98 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 98 of file RootTrajectoryStatesWriter.hpp

Referenced by config(), and RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_chi2
private

chisq from filtering

Definition at line 237 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 237 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<int> ActsExamples::RootTrajectoryStatesWriter::m_dim_hit
private

dimension of measurement

Definition at line 149 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 149 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_eLOC0
private

predicted/filtered/smoothed/unbiased parameter eLOC0

Definition at line 158 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 158 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_eLOC1
private

predicted/filtered/smoothed/unbiased parameter eLOC1

Definition at line 160 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 160 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_ePHI
private

predicted/filtered/smoothed/unbiased parameter ePHI

Definition at line 162 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 162 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_eQOP
private

predicted/filtered/smoothed/unbiased parameter eQOP

Definition at line 166 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 166 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_err_eLOC0
private

predicted/filtered/smoothed/unbiased parameter eLOC0 error

Definition at line 187 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 187 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_err_eLOC1
private

predicted/filtered/smoothed/unbiased parameter eLOC1 error

Definition at line 190 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 190 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_err_ePHI
private

predicted/filtered/smoothed/unbiased parameter ePHI error

Definition at line 193 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 193 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_err_eQOP
private

predicted/filtered/smoothed/unbiased parameter eQOP error

Definition at line 199 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 199 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_err_eT
private

predicted/filtered/smoothed/unbiased parameter eT error

Definition at line 202 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 202 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_err_eTHETA
private

predicted/filtered/smoothed/unbiased parameter eTHETA error

Definition at line 196 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 196 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_err_x_hit
private

hit err x

Definition at line 145 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 145 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_err_y_hit
private

hit err y

Definition at line 146 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 146 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_eT
private

predicted/filtered/smoothed/unbiased parameter eT

Definition at line 168 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 168 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_eta
private

predicted/filtered/smoothed/unbiased parameter eta

Definition at line 233 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 233 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_eTHETA
private

predicted/filtered/smoothed/unbiased parameter eTHETA

Definition at line 164 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 164 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

uint32_t ActsExamples::RootTrajectoryStatesWriter::m_eventNr {0}
private

the event number

Definition at line 110 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 110 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<bool>, 4> ActsExamples::RootTrajectoryStatesWriter::m_hasParams
private

status of the filtered/predicted/smoothed/unbiased parameters

Definition at line 155 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 155 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

ReadDataHandle<HitParticlesMap> ActsExamples::RootTrajectoryStatesWriter::m_inputMeasurementParticlesMap
private
Initial value:
{
this, "InputMeasurementParticlesMaps"}

Definition at line 102 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 102 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

ReadDataHandle<HitSimHitsMap> ActsExamples::RootTrajectoryStatesWriter::m_inputMeasurementSimHitsMap
private
Initial value:
{
this, "InputMeasurementSimHitsMap"}

Definition at line 104 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 104 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

ReadDataHandle<SimParticleContainer> ActsExamples::RootTrajectoryStatesWriter::m_inputParticles {this, "InputParticles"}
private

Definition at line 100 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 100 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

ReadDataHandle<SimHitContainer> ActsExamples::RootTrajectoryStatesWriter::m_inputSimHits {this, "InputSimHits"}
private

Definition at line 101 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 101 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<int> ActsExamples::RootTrajectoryStatesWriter::m_layerID
private

layer identifier

Definition at line 135 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 135 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_lx_hit
private

uncalibrated measurement local x

Definition at line 138 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 138 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_ly_hit
private

uncalibrated measurement local y

Definition at line 139 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 139 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<int> ActsExamples::RootTrajectoryStatesWriter::m_moduleID
private

surface identifier

Definition at line 136 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 136 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

uint32_t ActsExamples::RootTrajectoryStatesWriter::m_multiTrajNr {0}
private

the multi-trajectory number

Definition at line 111 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 111 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

unsigned int ActsExamples::RootTrajectoryStatesWriter::m_nMeasurements {0}
private

number of states with measurements

Definition at line 133 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 133 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<int, 4> ActsExamples::RootTrajectoryStatesWriter::m_nParams {}
private

number of states which have filtered/predicted/smoothed/unbiased parameters

Definition at line 152 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 152 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

unsigned int ActsExamples::RootTrajectoryStatesWriter::m_nStates {0}
private

number of all states

Definition at line 132 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 132 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

TFile* ActsExamples::RootTrajectoryStatesWriter::m_outputFile {nullptr}
private

The output file.

Definition at line 108 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 108 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

TTree* ActsExamples::RootTrajectoryStatesWriter::m_outputTree {nullptr}
private

The output tree.

Definition at line 109 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 109 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_pathLength
private

path length

Definition at line 137 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 137 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pT
private

predicted/filtered/smoothed/unbiased parameter pT

Definition at line 235 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 235 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pull_eLOC0
private

predicted/filtered/smoothed/unbiased parameter eLOC0 pull

Definition at line 204 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 204 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pull_eLOC1
private

predicted/filtered/smoothed/unbiased parameter eLOC1 pull

Definition at line 207 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 207 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pull_ePHI
private

predicted/filtered/smoothed/unbiased parameter ePHI pull

Definition at line 210 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 210 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pull_eQOP
private

predicted/filtered/smoothed/unbiased parameter eQOP pull

Definition at line 216 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 216 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pull_eT
private

predicted/filtered/smoothed/unbiased parameter eT pull

Definition at line 219 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 219 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pull_eTHETA
private

predicted/filtered/smoothed/unbiased parameter eTHETA pull

Definition at line 213 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 213 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_pull_x_hit
private

hit pull x

Definition at line 147 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 147 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_pull_y_hit
private

hit pull y

Definition at line 148 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 148 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_px
private

predicted/filtered/smoothed/unbiased parameter px

Definition at line 227 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 227 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_py
private

predicted/filtered/smoothed/unbiased parameter py

Definition at line 229 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 229 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_pz
private

predicted/filtered/smoothed/unbiased parameter pz

Definition at line 231 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 231 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_res_eLOC0
private

predicted/filtered/smoothed/unbiased parameter eLOC0 residual

Definition at line 170 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 170 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_res_eLOC1
private

predicted/filtered/smoothed/unbiased parameter eLOC1 residual

Definition at line 173 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 173 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_res_ePHI
private

predicted/filtered/smoothed/unbiased parameter ePHI residual

Definition at line 176 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 176 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_res_eQOP
private

predicted/filtered/smoothed/unbiased parameter eQOP residual

Definition at line 182 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 182 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_res_eT
private

predicted/filtered/smoothed/unbiased parameter eT residual

Definition at line 185 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 185 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_res_eTHETA
private

predicted/filtered/smoothed/unbiased parameter eTHETA residual

Definition at line 179 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 179 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_res_x_hit
private

hit residual x

Definition at line 143 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 143 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_res_y_hit
private

hit residual y

Definition at line 144 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 144 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

unsigned int ActsExamples::RootTrajectoryStatesWriter::m_subTrajNr {0}
private

the multi-trajectory sub-trajectory number

Definition at line 112 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 112 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_dx
private

Truth particle direction x at global hit position.

Definition at line 119 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 119 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_dy
private

Truth particle direction y at global hit position.

Definition at line 121 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 121 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_dz
private

Truth particle direction z at global hit position.

Definition at line 123 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 123 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_eLOC0
private

truth parameter eBoundLoc0

Definition at line 125 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 125 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_eLOC1
private

truth parameter eBoundLoc1

Definition at line 126 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 126 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_ePHI
private

truth parameter ePHI

Definition at line 127 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 127 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_eQOP
private

truth parameter eQOP

Definition at line 129 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 129 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_eT
private

truth parameter eT

Definition at line 130 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 130 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_eTHETA
private

truth parameter eTHETA

Definition at line 128 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 128 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_r
private

Global truth hit position r.

Definition at line 117 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 117 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_x
private

Global truth hit position x.

Definition at line 114 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 114 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_y
private

Global truth hit position y.

Definition at line 115 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 115 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_t_z
private

Global truth hit position z.

Definition at line 116 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 116 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<int> ActsExamples::RootTrajectoryStatesWriter::m_volumeID
private

volume identifier

Definition at line 134 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 134 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::mutex ActsExamples::RootTrajectoryStatesWriter::m_writeMutex
private

Mutex used to protect multi-threaded writes.

Definition at line 107 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 107 of file RootTrajectoryStatesWriter.hpp

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_x
private

predicted/filtered/smoothed/unbiased parameter global x

Definition at line 221 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 221 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_x_hit
private

uncalibrated measurement global x

Definition at line 140 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 140 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_y
private

predicted/filtered/smoothed/unbiased parameter global y

Definition at line 223 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 223 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_y_hit
private

uncalibrated measurement global y

Definition at line 141 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 141 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::array<std::vector<float>, 4> ActsExamples::RootTrajectoryStatesWriter::m_z
private

predicted/filtered/smoothed/unbiased parameter global z

Definition at line 225 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 225 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().

std::vector<float> ActsExamples::RootTrajectoryStatesWriter::m_z_hit
private

uncalibrated measurement global z

Definition at line 142 of file RootTrajectoryStatesWriter.hpp.

View newest version in sPHENIX GitHub at line 142 of file RootTrajectoryStatesWriter.hpp

Referenced by RootTrajectoryStatesWriter().


The documentation for this class was generated from the following files: