|
FCCAnalyses
|
Generates new track dNdx, by rescaling the Poisson error of the cluster count. More...
#include <analyzers/dataframe/FCCAnalyses/SmearObjects.h>
Public Member Functions | |
| SmearedTracksdNdx (float m_scale, bool debug) | |
| Rescale resolution by this factor. | |
| ROOT::VecOps::RVec< edm4hep::RecDqdxData > | operator() (const ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &allRecoParticles, const TrackUtils::TrackDqdxHandler &dNdxHandler, const ROOT::VecOps::RVec< float > &length, const ROOT::VecOps::RVec< int > &RP2MC_indices, const ROOT::VecOps::RVec< edm4hep::MCParticleData > &mcParticles) |
| Returns a vector of dNdx that is parallel to the collection of all tracks of the event (e.g. | |
Public Attributes | |
| bool | m_debug |
| TRandom | m_random |
| Debug flag. | |
| float | m_scale |
Generates new track dNdx, by rescaling the Poisson error of the cluster count.
| FCCAnalyses ::SmearObjects::SmearedTracksdNdx::SmearedTracksdNdx | ( | float | m_scale, |
| bool | debug = false ) |
Rescale resolution by this factor.
| ROOT::VecOps::RVec< edm4hep::RecDqdxData > FCCAnalyses ::SmearObjects::SmearedTracksdNdx::operator() | ( | const ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > & | allRecoParticles, |
| const TrackUtils::TrackDqdxHandler & | dNdxHandler, | ||
| const ROOT::VecOps::RVec< float > & | length, | ||
| const ROOT::VecOps::RVec< int > & | RP2MC_indices, | ||
| const ROOT::VecOps::RVec< edm4hep::MCParticleData > & | mcParticles ) |
Returns a vector of dNdx that is parallel to the collection of all tracks of the event (e.g.
alltracks), i.e. same number of entries, same order.
The method retrieves the MC particle that is associated to a track, and builds a "track state" out of the MC particle and regenerates a new value of the dNdx.
| bool FCCAnalyses ::SmearObjects::SmearedTracksdNdx::m_debug |
| TRandom FCCAnalyses ::SmearObjects::SmearedTracksdNdx::m_random |
Debug flag.
| float FCCAnalyses ::SmearObjects::SmearedTracksdNdx::m_scale |