LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util.hh File Reference
#include <functional>
#include <string>
#include <vector>
#include "Geant4/G4SDManager.hh"

Go to the source code of this file.

Namespaces

 artg4tk
 

Functions

template<typename T >
std::enable_if< std::is_base_of< G4VSensitiveDetector, T >::value, T * >::type artg4tk::getSensitiveDetector (G4String name)
 
void artg4tk::setVisAtts (G4LogicalVolume *lv, bool display, const std::vector< double > &rgba)
 
void artg4tk::setVisAtts (G4LogicalVolume *lv, bool display, const std::vector< double > &rgba, std::function< void(G4VisAttributes *)> func)
 
std::string artg4tk::addNumberToName (const std::string &name, int number)
 
std::string artg4tk::basePath (const std::string &envVar, const std::string &pkgName)