Adjusted utility class to invert the relations between RecDqdx and Track.
More...
#include <analyzers/dataframe/FCCAnalyses/TrackUtils.h>
|
| void | addColl (const ROOT::VecOps::RVec< edm4hep::RecDqdxData > &dQdxColl, const ROOT::VecOps::RVec< size_t > &dQdxTrackIndexes) |
| | Add the information from the collections to the handler.
|
| |
| ROOT::VecOps::RVec< edm4hep::RecDqdxData > | getDqdxObjects (const size_t trackIndex) const |
| | Get all RecDqdxData objects for a given track.
|
| |
| ROOT::VecOps::RVec< float > | getDqdxValues (const size_t trackIndex) const |
| | Get all dQdx values for a given track.
|
| |
|
| using | TrackMapT = std::multimap<size_t, edm4hep::RecDqdxData> |
| |
Adjusted utility class to invert the relations between RecDqdx and Track.
This is adjusted version of edm4hep::TrackPIDHandler able to work with ROOT::VecOps::RVec<*Data> versions of the EDM4hep collections.
Original can be found here: https://github.com/key4hep/EDM4hep/blob/main/utils/include/edm4hep/utils/TrackUtils.h#L12
◆ TrackMapT
◆ addColl()
| void FCCAnalyses ::TrackUtils::TrackDqdxHandler::addColl |
( |
const ROOT::VecOps::RVec< edm4hep::RecDqdxData > & | dQdxColl, |
|
|
const ROOT::VecOps::RVec< size_t > & | dQdxTrackIndexes ) |
Add the information from the collections to the handler.
- Parameters
-
| [in | dQdxColl Collection of all dQdx objects in the event (e.g. EFlowTrack_dNdx). |
| [in] | dQdxTrackIndexes | Track indexes corresponding to the dQdx record (e.g. _EFlowTrack_dNdx_track.index). |
◆ getDqdxObjects()
| ROOT::VecOps::RVec< edm4hep::RecDqdxData > FCCAnalyses ::TrackUtils::TrackDqdxHandler::getDqdxObjects |
( |
const size_t | trackIndex | ) |
const |
Get all RecDqdxData objects for a given track.
◆ getDqdxValues()
| ROOT::VecOps::RVec< float > FCCAnalyses ::TrackUtils::TrackDqdxHandler::getDqdxValues |
( |
const size_t | trackIndex | ) |
const |
Get all dQdx values for a given track.
◆ m_trackDqMap
| TrackMapT FCCAnalyses::TrackUtils::TrackDqdxHandler::m_trackDqMap {} |
|
private |
The internal map from tracks to RecDqdx.
The documentation for this class was generated from the following files: