All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test_totallycheattracker.fcl
Go to the documentation of this file.
1 #
2 # File: test_totallycheattracker.fcl
3 # Brief: Runs a "test" on TotallyCheatTracker module.
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: 20171227
6 # Version: 1.0
7 #
8 # Description:
9 # The test creates some particles (`simb::MCParticle` collection), processes
10 # them into cheat tracks and prints the resulting tracks.
11 # The only check is on the number of produced tracks.
12 #
13 # Input:
14 # - nothing
15 #
16 # Output:
17 # - `simb::MCParticle`, `lar::example::CheatTrack` and associations into
18 # `CheatTrkTest.root` file.
19 #
20 #
21 # Changes:
22 # 20171227 (petrillo@fnal.gov) [v1.0]
23 # original version
24 #
25 #
26 
27 #-------------------------------------------------------------------------------
28 process_name: CheatTrkTest
29 
30 #-------------------------------------------------------------------------------
31 source: {
32  module_type: EmptyEvent
33  maxEvents: 1
34 }
35 
36 #-------------------------------------------------------------------------------
37 physics: {
38 
39  producers: {
40 
41  particler: {
42  module_type: ParticleMaker
43 
44  particles: [
45  { length: 1.0 energy: 3.0 type: 11 },
46  { length: 2.0 energy: 2.0 type: 13 },
47  { length: 3.0 energy: 1.0 type: -11 },
48  { length: 4.0 energy: 2.0 type: -13 },
49  { length: 5.0 energy: 3.0 type: 211 },
50  { length: 6.0 energy: 4.0 type: 111 },
51  { length: 7.0 energy: 3.0 type: -211 },
52  { length: 8.0 energy: 2.0 type: 2112 },
53  { length: 9.0 energy: 1.0 type: 2212 }
54  ] # particles
55 
56  } # particler
57 
58  cheattrk: {
59  module_type: TotallyCheatTracker
60 
61  particles: "particler"
62 
63  minLength: 3.5 # cm
64  minEnergy: 1.5 # GeV
65 
66  } # cheattrk
67 
68  } # producers
69 
70  analyzers: {
71  dumper: {
72  module_type: DumpCheatTracks
73 
74  tracks: cheattrk
75 
76  expectedCount: 5
77 
78  } # dumper
79  } # analyzers
80 
81  reco: [ particler, cheattrk ]
82  dump: [ dumper ]
83  stream: [ output]
84 
85  trigger_paths: [ reco ]
86  end_paths: [ dump, stream ]
87 
88 } # physics
89 
90 
91 #-------------------------------------------------------------------------------
92 outputs: {
93  output: {
94  module_type: RootOutput
95  fileName: "CheatTrkTest.root"
96  }
97 } # outputs
98 
99 #-------------------------------------------------------------------------------
ClusterModuleLabel join with tracks
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
process_name standard_reco_uboone reco
A value measured in the specified unit.
Definition: quantities.h:566
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
process_name analyzers
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name