lArDet.fcl
Go to the documentation of this file.
1 process_name:processA
2 source: {
3  module_type: EmptyEvent
4  maxEvents: 10
5 }
6 services: {
7  message : {
8  debugModules : ["*"]
9  suppressInfo : []
10  destinations : {
11  LogToConsole : {
12  type : "cout"
13  threshold : "DEBUG"
14  categories : {
15  default : { limit : 50 }
16  }
17  }
18  }
19  }
20  TFileService :
21  {
22  fileName : "CheckSimEnergyDeposit.root"
23  }
24 
25  DetectorHolder: {}
26  ActionHolder: {}
27  RandomNumberGenerator: {}
28  PhysicsListHolder: {}
29  PhysicsList: {
30  PhysicsListName: "FTFP_BERT"
31  DumpList: false
32  enableCerenkov: false
33  enableScintillation: true
34  ScintillationByParticleType: false
35  enableAbsorption: false
36  enableRayleigh: false
37  enableMieHG: false
38  enableBoundary: false
39  enableWLS: false
40 }
41 
42  // Detector(s) for the simulation
43  LArG4Detector :
44  {
45  category: "world"
46  gdmlFileName_ : "lArDet.gdml"
47  }
48 
49 
50 
51 
52 // writeGdml: {
53 // name: "writeGdml"
54 // gdmlFileName:"output.gdml"
55 // }
56 ParticleListAction: {service_type: "ParticleListActionService"}
57 
58 
59  ExampleGeneralAction: {
60  name: "exampleGeneral"
61  }
62  myParticleGunAction: {
63  name: "myParticleGun"
64  NParticle: 1
65  Name: "mu+"
66  Direction: [ 0, 0, 1 ]
67  Energy: 10.
68  Position: [ 0, 0, -130. ]
69  }
70 }
71 
72 outputs: {
73 out1: {
74  module_type: RootOutput
75  fileName: "Testingout.root"
76  }
77 }
78 
79 physics: {
80  producers: {
81  artg4Main: {
82  module_type: artg4Main
83  enableVisualization: false
84  macroPath: ".:./macros"
85  visMacro: "vis.mac"
86  //afterEvent: pause
87  }
88 
89  }
90  analyzers: {
91  CheckSimEnergyDeposit: { module_type: CheckSimEnergyDeposit
92  hist_dir: "HistoDir"}
93 
94 }
95 
96  path1: [ artg4Main ]
97  stream1: [ out1,CheckSimEnergyDeposit ]
98 
99  trigger_paths: [ path1 ]
100  end_paths: [ stream1 ]
101 }