ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
Impl (Config &&c, const Acts::Logger &l) | |
const Acts::Logger & | logger () const |
void | write (uint64_t eventId, const SimParticleContainer &particles, const HitParticlesMap &hitParticlesMap, const ProtoTrackContainer &tracks) |
void | close () |
Write everything to disk and close the file. | |
Public Attributes | |
TFile * | file = nullptr |
TTree * | trkTree = nullptr |
std::mutex | trkMutex |
ULong64_t | trkEventId |
ULong64_t | trkTrackId |
UShort_t | trkNumHits |
UShort_t | trkNumParticles |
std::vector< ULong64_t > | trkParticleId |
std::vector< UShort_t > | trkParticleNumHitsTotal |
std::vector< UShort_t > | trkParticleNumHitsOnTrack |
TTree * | prtTree = nullptr |
std::mutex | prtMutex |
ULong64_t | prtEventId |
ULong64_t | prtParticleId |
Int_t | prtParticleType |
float | prtVx |
float | prtVy |
float | prtVz |
float | prtVt |
float | prtPx |
float | prtPy |
float | prtPz |
float | prtM |
float | prtQ |
UShort_t | prtNumHits |
UShort_t | prtNumTracks |
UShort_t | prtNumTracksMajority |
const Acts::Logger & | _logger |
Static Public Attributes | |
Config | cfg |
Definition at line 34 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 34 of file TrackFinderPerformanceWriter.cpp
|
inline |
Definition at line 81 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 81 of file TrackFinderPerformanceWriter.cpp
References cfg, file, FW::TrackFinderPerformanceWriter::Config::inputHitParticlesMap, FW::TrackFinderPerformanceWriter::Config::inputParticles, FW::TrackFinderPerformanceWriter::Config::inputProtoTracks, FW::joinPaths(), FW::TrackFinderPerformanceWriter::Config::outputDir, FW::TrackFinderPerformanceWriter::Config::outputFilename, prtEventId, prtM, prtNumHits, prtNumTracks, prtNumTracksMajority, prtParticleId, prtParticleType, prtPx, prtPy, prtPz, prtQ, prtTree, prtVt, prtVx, prtVy, prtVz, trkEventId, trkNumHits, trkNumParticles, trkParticleId, trkParticleNumHitsOnTrack, trkParticleNumHitsTotal, trkTrackId, and trkTree.
|
inline |
Write everything to disk and close the file.
Definition at line 227 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 227 of file TrackFinderPerformanceWriter.cpp
References ACTS_ERROR, and file.
|
inline |
Definition at line 133 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 133 of file TrackFinderPerformanceWriter.cpp
References _logger.
|
inline |
Definition at line 135 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 135 of file TrackFinderPerformanceWriter.cpp
References Acts::UnitConstants::e, Acts::UnitConstants::GeV, G4INCL::PhysicalConstants::hc, hits(), FW::identifyContributingParticles(), FW::invertIndexMultimap(), it, FW::makeRange(), Acts::UnitConstants::mm, nm, Acts::UnitConstants::ns, particle, prtEventId, prtM, prtNumHits, prtNumTracks, prtNumTracksMajority, prtParticleId, prtParticleType, prtPx, prtPy, prtPz, prtQ, prtTree, prtVt, prtVx, prtVy, prtVz, track, trkEventId, trkMutex, trkNumHits, trkNumParticles, trkParticleId, trkParticleNumHitsOnTrack, trkParticleNumHitsTotal, trkTrackId, trkTree, and Acts::UnitConstants::u.
const Acts::Logger& FW::TrackFinderPerformanceWriter::Impl::_logger |
Definition at line 79 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 79 of file TrackFinderPerformanceWriter.cpp
Referenced by logger().
|
static |
Definition at line 35 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 35 of file TrackFinderPerformanceWriter.cpp
Referenced by Impl().
TFile* FW::TrackFinderPerformanceWriter::Impl::file = nullptr |
Definition at line 36 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 36 of file TrackFinderPerformanceWriter.cpp
ULong64_t FW::TrackFinderPerformanceWriter::Impl::prtEventId |
Definition at line 60 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 60 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtM |
Definition at line 71 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 71 of file TrackFinderPerformanceWriter.cpp
std::mutex FW::TrackFinderPerformanceWriter::Impl::prtMutex |
Definition at line 58 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 58 of file TrackFinderPerformanceWriter.cpp
UShort_t FW::TrackFinderPerformanceWriter::Impl::prtNumHits |
Definition at line 75 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 75 of file TrackFinderPerformanceWriter.cpp
UShort_t FW::TrackFinderPerformanceWriter::Impl::prtNumTracks |
Definition at line 76 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 76 of file TrackFinderPerformanceWriter.cpp
UShort_t FW::TrackFinderPerformanceWriter::Impl::prtNumTracksMajority |
Definition at line 77 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 77 of file TrackFinderPerformanceWriter.cpp
ULong64_t FW::TrackFinderPerformanceWriter::Impl::prtParticleId |
Definition at line 61 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 61 of file TrackFinderPerformanceWriter.cpp
Int_t FW::TrackFinderPerformanceWriter::Impl::prtParticleType |
Definition at line 62 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 62 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtPx |
Definition at line 69 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 69 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtPy |
Definition at line 69 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 69 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtPz |
Definition at line 69 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 69 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtQ |
Definition at line 73 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 73 of file TrackFinderPerformanceWriter.cpp
TTree* FW::TrackFinderPerformanceWriter::Impl::prtTree = nullptr |
Definition at line 57 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 57 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtVt |
Definition at line 67 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 67 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtVx |
Definition at line 65 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 65 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtVy |
Definition at line 65 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 65 of file TrackFinderPerformanceWriter.cpp
float FW::TrackFinderPerformanceWriter::Impl::prtVz |
Definition at line 65 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 65 of file TrackFinderPerformanceWriter.cpp
ULong64_t FW::TrackFinderPerformanceWriter::Impl::trkEventId |
Definition at line 42 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 42 of file TrackFinderPerformanceWriter.cpp
std::mutex FW::TrackFinderPerformanceWriter::Impl::trkMutex |
Definition at line 40 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 40 of file TrackFinderPerformanceWriter.cpp
Referenced by write().
UShort_t FW::TrackFinderPerformanceWriter::Impl::trkNumHits |
Definition at line 46 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 46 of file TrackFinderPerformanceWriter.cpp
UShort_t FW::TrackFinderPerformanceWriter::Impl::trkNumParticles |
Definition at line 48 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 48 of file TrackFinderPerformanceWriter.cpp
std::vector<ULong64_t> FW::TrackFinderPerformanceWriter::Impl::trkParticleId |
Definition at line 50 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 50 of file TrackFinderPerformanceWriter.cpp
std::vector<UShort_t> FW::TrackFinderPerformanceWriter::Impl::trkParticleNumHitsOnTrack |
Definition at line 54 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 54 of file TrackFinderPerformanceWriter.cpp
std::vector<UShort_t> FW::TrackFinderPerformanceWriter::Impl::trkParticleNumHitsTotal |
Definition at line 52 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 52 of file TrackFinderPerformanceWriter.cpp
ULong64_t FW::TrackFinderPerformanceWriter::Impl::trkTrackId |
Definition at line 43 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 43 of file TrackFinderPerformanceWriter.cpp
TTree* FW::TrackFinderPerformanceWriter::Impl::trkTree = nullptr |
Definition at line 39 of file TrackFinderPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 39 of file TrackFinderPerformanceWriter.cpp