All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
larg4::LArG4DetectorService Class Reference

#include <LArG4Detector_service.h>

Inheritance diagram for larg4::LArG4DetectorService:

Public Member Functions

 LArG4DetectorService (fhicl::ParameterSet const &)
 

Private Member Functions

std::vector< G4LogicalVolume * > doBuildLVs () override
 
std::vector< G4VPhysicalVolume * > doPlaceToPVs (std::vector< G4LogicalVolume * >) override
 
void setStepLimits ()
 
std::string instanceName (std::string const &) const
 
void doCallArtProduces (art::ProducesCollector &collector) override
 
void doFillEventWithArtHits (G4HCofThisEvent *hc) override
 

Private Attributes

std::string gdmlFileName_
 
bool checkOverlaps_
 
bool updateSimEnergyDeposits_
 
std::vector< std::string > volumeNames_
 
std::vector< float > stepLimits_
 
size_t inputVolumes_
 
bool dumpMP_
 
std::vector< std::pair
< std::string, std::string > > 
detectors_ {}
 
std::map< std::string, G4double > overrideGDMLStepLimit_Map {}
 
std::unordered_map
< std::string, float > 
setGDMLVolumes_ {}
 

Detailed Description

Definition at line 54 of file LArG4Detector_service.h.

Constructor & Destructor Documentation

larg4::LArG4DetectorService::LArG4DetectorService ( fhicl::ParameterSet const &  p)
explicit

Definition at line 77 of file LArG4Detector.cc.

78  : artg4tk::DetectorBase(p,
79  p.get<string>("name", "LArG4DetectorService"),
80  p.get<string>("category", "World"),
81  p.get<string>("mother_category", ""))
82  , gdmlFileName_{p.get<std::string>("gdmlFileName_", "")}
83  , checkOverlaps_{p.get<bool>("CheckOverlaps", false)}
84  , updateSimEnergyDeposits_{p.get<bool>("UpdateSimEnergyDeposits", true)}
85  , volumeNames_{p.get<std::vector<std::string>>("volumeNames", {})}
pdgs p
Definition: selectors.fcl:22
std::vector< std::string > volumeNames_

Member Function Documentation

std::vector<G4LogicalVolume*> larg4::LArG4DetectorService::doBuildLVs ( )
overrideprivate
void larg4::LArG4DetectorService::doCallArtProduces ( art::ProducesCollector &  collector)
overrideprivate
void larg4::LArG4DetectorService::doFillEventWithArtHits ( G4HCofThisEvent *  hc)
overrideprivate
std::vector<G4VPhysicalVolume*> larg4::LArG4DetectorService::doPlaceToPVs ( std::vector< G4LogicalVolume * >  )
overrideprivate
std::string larg4::LArG4DetectorService::instanceName ( std::string const &  ) const
private
void larg4::LArG4DetectorService::setStepLimits ( )
private

Member Data Documentation

bool larg4::LArG4DetectorService::checkOverlaps_
private

Definition at line 76 of file LArG4Detector_service.h.

std::vector<std::pair<std::string, std::string> > larg4::LArG4DetectorService::detectors_ {}
private

Definition at line 83 of file LArG4Detector_service.h.

bool larg4::LArG4DetectorService::dumpMP_
private

Definition at line 81 of file LArG4Detector_service.h.

std::string larg4::LArG4DetectorService::gdmlFileName_
private

Definition at line 75 of file LArG4Detector_service.h.

size_t larg4::LArG4DetectorService::inputVolumes_
private

Definition at line 80 of file LArG4Detector_service.h.

std::map<std::string, G4double> larg4::LArG4DetectorService::overrideGDMLStepLimit_Map {}
private

Definition at line 84 of file LArG4Detector_service.h.

std::unordered_map<std::string, float> larg4::LArG4DetectorService::setGDMLVolumes_ {}
private

Definition at line 85 of file LArG4Detector_service.h.

std::vector<float> larg4::LArG4DetectorService::stepLimits_
private

Definition at line 79 of file LArG4Detector_service.h.

bool larg4::LArG4DetectorService::updateSimEnergyDeposits_
private

Definition at line 77 of file LArG4Detector_service.h.

std::vector<std::string> larg4::LArG4DetectorService::volumeNames_
private

Definition at line 78 of file LArG4Detector_service.h.


The documentation for this class was generated from the following files: