LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LArG4Detector_service.cc
Go to the documentation of this file.
1
//=============================================================================
2
// LArG4Detector_service.hh:
3
// LArG4DetectorService is the service that constructs the Geant 4 Geometry
4
// as specified in a gdml file.
5
// To use this service, all you need to do is put it in the services section
6
// of the fcl configuration file, like this (Just change the name of the gdml file):
7
//
8
// <pre>
9
// services: {
10
// ...
11
// ...
12
// LArG4Detector :
13
// {
14
// category: "world"
15
// gdmlFileName_ : "ta_target.gdml"
16
// }
17
// }
18
// </pre>
19
// Author: Hans Wenzel (Fermilab)
20
// Modified: David Rivera
21
//=============================================================================
22
23
// framework includes:
24
#include "
art/Framework/Services/Registry/ServiceDefinitionMacros.h
"
25
// larg4 includes:
26
#include "
larg4/Services/LArG4Detector_service.h
"
27
28
DEFINE_ART_SERVICE
(
larg4::LArG4DetectorService
)
larg4::LArG4DetectorService
Definition:
LArG4Detector_service.h:54
LArG4Detector_service.h
DEFINE_ART_SERVICE
#define DEFINE_ART_SERVICE(svc)
Definition:
ServiceDefinitionMacros.h:36
ServiceDefinitionMacros.h
larg4
v09_19_03
source
larg4
Services
LArG4Detector_service.cc
Generated on Thu May 2 2024 20:59:39 for LArSoft by
1.8.11