![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GenericCRT.h"
Public Member Functions | |
GenericCRTUtility (std::string const &energyUnitsScale, geo::AuxDetGeometryCore const &auxDetGeom) | |
AuxDetIDE | toAuxDetIDE (AuxDetHit const &adhit) const |
std::vector< unsigned int > | GetAuxDetChannels (std::vector< AuxDetHit > const &adhits) const |
std::vector< AuxDetSimChannel > | GetAuxDetSimChannels (std::vector< AuxDetHit > const &adhits) const |
AuxDetSimChannel | GetAuxDetSimChannelByNumber (std::vector< AuxDetHit > const &adhits, unsigned int inputchannel) const |
Private Attributes | |
geo::AuxDetGeometryCore const * | fAuxDetGeom |
double | fEnergyUnitsScale |
Definition at line 24 of file GenericCRT.h.
sim::GenericCRTUtility::GenericCRTUtility | ( | std::string const & | energyUnitsScale, |
geo::AuxDetGeometryCore const & | auxDetGeom | ||
) |
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 20 of file GenericCRT.cxx.
References fEnergyUnitsScale.
std::vector< unsigned int > sim::GenericCRTUtility::GetAuxDetChannels | ( | std::vector< AuxDetHit > const & | adhits | ) | const |
Definition at line 55 of file GenericCRT.cxx.
References util::size().
Referenced by GetAuxDetSimChannels().
sim::AuxDetSimChannel sim::GenericCRTUtility::GetAuxDetSimChannelByNumber | ( | std::vector< AuxDetHit > const & | adhits, |
unsigned int | inputchannel | ||
) | const |
Definition at line 75 of file GenericCRT.cxx.
References fAuxDetGeom, geo::AuxDetGeometryCore::FindAuxDetSensitiveAtPosition(), and toAuxDetIDE().
Referenced by GetAuxDetSimChannels().
std::vector< sim::AuxDetSimChannel > sim::GenericCRTUtility::GetAuxDetSimChannels | ( | std::vector< AuxDetHit > const & | adhits | ) | const |
Definition at line 137 of file GenericCRT.cxx.
References GetAuxDetChannels(), GetAuxDetSimChannelByNumber(), and util::size().
Referenced by sim::GenericCRT::produce().
sim::AuxDetIDE sim::GenericCRTUtility::toAuxDetIDE | ( | sim::AuxDetHit const & | adhit | ) | const |
Definition at line 34 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 39 of file GenericCRT.h.
Referenced by GetAuxDetSimChannelByNumber().
|
private |
Definition at line 40 of file GenericCRT.h.
Referenced by GenericCRTUtility(), and toAuxDetIDE().