All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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:
27 
28 DEFINE_ART_SERVICE(larg4::LArG4DetectorService)