LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GenericCRT.h"
Public Member Functions | |
GenericCRTUtility (const std::string energyUnitsScale) | |
sim::AuxDetIDE | toAuxDetIDE (sim::AuxDetHit const &InputHit) const |
std::vector< unsigned int > | GetAuxDetChannels (const std::vector< sim::AuxDetHit > &InputHitVector) const |
std::vector< sim::AuxDetSimChannel > | GetAuxDetSimChannels (const std::vector< sim::AuxDetHit > &InputHitVector) const |
sim::AuxDetSimChannel | GetAuxDetSimChannelByNumber (const std::vector< sim::AuxDetHit > &InputHitVector, unsigned int inputchannel) const |
Private Attributes | |
art::ServiceHandle< geo::Geometry const > | fGeo |
double | fEnergyUnitsScale |
Definition at line 25 of file GenericCRT.h.
sim::GenericCRTUtility::GenericCRTUtility | ( | const std::string | energyUnitsScale | ) |
Title: GenericCRT Utility Class Author: Andrzej Szelc (andrz) ejs@ fnal. gov
Description: Class with Algorithms to convert sim::AuxDetHits to sim::AuxDetSimChannels
Definition at line 19 of file GenericCRT.cxx.
References fEnergyUnitsScale.
std::vector< unsigned int > sim::GenericCRTUtility::GetAuxDetChannels | ( | const std::vector< sim::AuxDetHit > & | InputHitVector | ) | const |
Definition at line 52 of file GenericCRT.cxx.
References util::size().
Referenced by GetAuxDetSimChannels().
sim::AuxDetSimChannel sim::GenericCRTUtility::GetAuxDetSimChannelByNumber | ( | const std::vector< sim::AuxDetHit > & | InputHitVector, |
unsigned int | inputchannel | ||
) | const |
Definition at line 73 of file GenericCRT.cxx.
References fGeo, geo::GeometryCore::FindAuxDetSensitiveAtPosition(), and toAuxDetIDE().
Referenced by GetAuxDetSimChannels().
std::vector< sim::AuxDetSimChannel > sim::GenericCRTUtility::GetAuxDetSimChannels | ( | const std::vector< sim::AuxDetHit > & | InputHitVector | ) | const |
Definition at line 133 of file GenericCRT.cxx.
References GetAuxDetChannels(), GetAuxDetSimChannelByNumber(), and util::size().
Referenced by sim::GenericCRT::produce().
sim::AuxDetIDE sim::GenericCRTUtility::toAuxDetIDE | ( | sim::AuxDetHit const & | InputHit | ) | const |
Definition at line 31 of file GenericCRT.cxx.
References sim::AuxDetIDE::energyDeposited, sim::AuxDetIDE::entryT, sim::AuxDetIDE::entryX, sim::AuxDetIDE::entryY, sim::AuxDetIDE::entryZ, sim::AuxDetIDE::exitMomentumX, sim::AuxDetIDE::exitMomentumY, sim::AuxDetIDE::exitMomentumZ, sim::AuxDetIDE::exitT, sim::AuxDetIDE::exitX, sim::AuxDetIDE::exitY, sim::AuxDetIDE::exitZ, fEnergyUnitsScale, sim::AuxDetHit::GetEnergyDeposited(), sim::AuxDetHit::GetEntryT(), sim::AuxDetHit::GetEntryX(), sim::AuxDetHit::GetEntryY(), sim::AuxDetHit::GetEntryZ(), sim::AuxDetHit::GetExitMomentumX(), sim::AuxDetHit::GetExitMomentumY(), sim::AuxDetHit::GetExitMomentumZ(), sim::AuxDetHit::GetExitT(), sim::AuxDetHit::GetExitX(), sim::AuxDetHit::GetExitY(), sim::AuxDetHit::GetExitZ(), sim::AuxDetHit::GetTrackID(), and sim::AuxDetIDE::trackID.
Referenced by GetAuxDetSimChannelByNumber().
|
private |
Definition at line 45 of file GenericCRT.h.
Referenced by GenericCRTUtility(), and toAuxDetIDE().
|
private |
Definition at line 43 of file GenericCRT.h.
Referenced by GetAuxDetSimChannelByNumber().