5#ifndef TRACKTRUTHSELECTOR_H
6#define TRACKTRUTHSELECTOR_H
20 virtual StatusCode
execute()
override;
27 {
this,
"DetailedTrackTruthName",
"DetailedTrackTruth"};
31 {
this,
"OutputName",
"TrackTruthNew"};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
double getProbability(const DetailedTrackTruth &dt) const
DoubleProperty m_weightCSC
SG::WriteHandleKey< TrackTruthCollection > m_outputName
std::vector< double > m_subDetWeights
void fillOutput(TrackTruthCollection *out, const DetailedTrackTruthCollection *in)
SG::ReadHandleKey< DetailedTrackTruthCollection > m_detailedTrackTruthName
virtual StatusCode initialize() override
DoubleProperty m_weightTGC
DoubleProperty m_weightTRT
virtual StatusCode execute() override
TrackTruthSelector(const std::string &name, ISvcLocator *pSvcLocator)
DoubleProperty m_weightMM
DoubleProperty m_weightPixel
DoubleProperty m_weightRPC
DoubleProperty m_weightsTGC
DoubleProperty m_weightSCT
DoubleProperty m_weightMDT