LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Typedefs | |
typedef std::vector< GenParticle > | GenParticleCollection |
Functions | |
std::ostream & | operator<< (std::ostream &ost, const GenParticle &genp) |
template<typename DATATYPE , typename SERVICETYPE > | |
const DATATYPE & | dataFromRunOrService (const art::Run &r, const std::string &producerLabel, const std::string &instanceLabel) |
template<typename T > | |
std::enable_if< std::is_base_of< G4VSensitiveDetector, T >::value, T * >::type | getSensitiveDetector (G4String name) |
void | setVisAtts (G4LogicalVolume *lv, bool display, const std::vector< double > &rgba) |
void | setVisAtts (G4LogicalVolume *lv, bool display, const std::vector< double > &rgba, std::function< void(G4VisAttributes *)> func) |
std::string | addNumberToName (const std::string &name, int number) |
std::string | basePath (const std::string &envVar, const std::string &pkgName) |
typedef std::vector<GenParticle> artg4tk::GenParticleCollection |
Definition at line 14 of file GenParticleCollection.hh.
std::string artg4tk::addNumberToName | ( | const std::string & | name, |
int | number | ||
) |
Definition at line 51 of file util.cc.
Referenced by getSensitiveDetector().
std::string artg4tk::basePath | ( | const std::string & | envVar, |
const std::string & | pkgName | ||
) |
Definition at line 62 of file util.cc.
Referenced by getSensitiveDetector().
const DATATYPE& artg4tk::dataFromRunOrService | ( | const art::Run & | r, |
const std::string & | producerLabel, | ||
const std::string & | instanceLabel | ||
) |
Definition at line 25 of file DataFromRunOrService.hh.
References art::ProductRetriever::getMany(), art::Provenance::moduleLabel(), and art::Provenance::productInstanceName().
std::enable_if<std::is_base_of<G4VSensitiveDetector, T>::value, T*>::type artg4tk::getSensitiveDetector | ( | G4String | name | ) |
Definition at line 29 of file util.hh.
References addNumberToName(), basePath(), and setVisAtts().
std::ostream & artg4tk::operator<< | ( | std::ostream & | ost, |
const GenParticle & | genp | ||
) |
Definition at line 32 of file GenParticle.cc.
References artg4tk::GenParticle::child(), artg4tk::GenParticle::children(), art::PtrVector< T >::empty(), artg4tk::GenParticle::momentum(), artg4tk::GenParticle::parent(), artg4tk::GenParticle::pdgId(), artg4tk::GenParticle::position(), and artg4tk::GenParticle::status().
void artg4tk::setVisAtts | ( | G4LogicalVolume * | lv, |
bool | display, | ||
const std::vector< double > & | rgba | ||
) |
Definition at line 44 of file util.cc.
Referenced by getSensitiveDetector().