[
   {
      "data": {
         "apps": [
            "Pgrapher"
         ],
         "plugins": [
            "WireCellSio",
            "WireCellAux",
            "WireCellGen",
            "WireCellSigProc",
            "WireCellImg",
            "WireCellClus",
            "WireCellRoot",
            "WireCellApps",
            "WireCellPgraph"
         ]
      },
      "type": "wire-cell"
   },
   {
      "data": {
         "filename": "microboone-celltree-wires-v2.1.json.bz2"
      },
      "type": "WireSchemaFile"
   },
   {
      "data": {
         "faces": [
            {
               "anode": 0,
               "cathode": 2548,
               "response": 94
            },
            null
         ],
         "ident": 0,
         "nimpacts": 10,
         "wire_schema": "WireSchemaFile"
      },
      "name": "uboone",
      "type": "AnodePlane"
   },
   {
      "data": {
         "anode": "AnodePlane:uboone",
         "input": "uboone.root",
         "kind": "live",
         "views": "uvw"
      },
      "name": "live-uvw",
      "type": "UbooneBlobSource"
   },
   {
      "data": {
         "anode": "AnodePlane:uboone",
         "input": "uboone.root",
         "kind": "live",
         "views": "uv"
      },
      "name": "live-uv",
      "type": "UbooneBlobSource"
   },
   {
      "data": {
         "anode": "AnodePlane:uboone",
         "input": "uboone.root",
         "kind": "live",
         "views": "vw"
      },
      "name": "live-vw",
      "type": "UbooneBlobSource"
   },
   {
      "data": {
         "anode": "AnodePlane:uboone",
         "input": "uboone.root",
         "kind": "live",
         "views": "wu"
      },
      "name": "live-wu",
      "type": "UbooneBlobSource"
   },
   {
      "data": {
         "multiplicity": 4
      },
      "name": "live",
      "type": "BlobSetMerge"
   },
   {
      "data": {
         "drift_speed": 0.001101,
         "extra": [
            ".*wire_index",
            ".*charge.*",
            "wpid"
         ],
         "strategy": {
            "disable_mix_dead_cell": true,
            "name": "charge_stepped"
         },
         "time_offset": -1594550.4087193462
      },
      "name": "live",
      "type": "BlobSampler"
   },
   {
      "data": {
         "anode": "AnodePlane:uboone",
         "datapath": "pointtrees/%d/live",
         "flash": "flash",
         "flashlight": "flashlight",
         "input": "uboone.root",
         "kind": "live",
         "light": "light",
         "sampler": "BlobSampler:live"
      },
      "name": "live",
      "type": "UbooneClusterSource"
   },
   {
      "data": {
         "anodes": [
            "AnodePlane:uboone"
         ],
         "metadata": {
            "a0f0pA": {
               "FV_xmax": 2550,
               "FV_xmax_margin": 20,
               "FV_xmin": 10,
               "FV_xmin_margin": 20,
               "drift_speed": 0.001101,
               "nticks_live_slice": 4,
               "tick": 500,
               "tick_drift": 0.55049999999999999,
               "time_offset": -1594550.4087193462
            },
            "overall": {
               "FV_xmax": 2550,
               "FV_xmax_margin": 20,
               "FV_xmin": 10,
               "FV_xmin_margin": 20,
               "FV_ymax": 1015,
               "FV_ymax_margin": 25,
               "FV_ymin": -995,
               "FV_ymin_margin": 25,
               "FV_zmax": 10220,
               "FV_zmax_margin": 30,
               "FV_zmin": 150,
               "FV_zmin_margin": 30,
               "beam_dir": [
                  0,
                  0,
                  1
               ],
               "vertical_dir": [
                  0,
                  1,
                  0
               ]
            }
         }
      },
      "name": "",
      "type": "DetectorVolumes"
   },
   {
      "data": {
         "start": 0.5,
         "step": 1,
         "values": [
            123417,
            92909.800000000003,
            82815.199999999997,
            76865.800000000003,
            72760.699999999997,
            69711.399999999994,
            67393,
            65380.900000000001,
            63780.900000000001,
            62367.800000000003,
            61186.099999999999,
            60132,
            59215.699999999997,
            58397.400000000001,
            57672.800000000003,
            57011.099999999999,
            56423.699999999997,
            55874.5,
            55387.199999999997,
            54922.099999999999,
            54513.400000000001,
            54118.199999999997,
            53772.300000000003,
            53441.599999999999,
            53138.5,
            52855.699999999997,
            52585.5,
            52340.699999999997,
            52100.599999999999,
            51880.900000000001,
            51667.300000000003,
            51472.599999999999,
            51296.300000000003,
            51123.699999999997,
            50965.199999999997,
            50810.699999999997,
            50698.199999999997,
            50618.300000000003,
            50538.5,
            50458.699999999997,
            50379.099999999999,
            50299.5,
            50220,
            50140.599999999999,
            50061.099999999999,
            49981.900000000001,
            49902.699999999997,
            49823.5,
            49744.400000000001,
            49665.400000000001,
            49586.5,
            49507.599999999999,
            49428.800000000003,
            49350.099999999999,
            49271.5,
            49193,
            49114.400000000001,
            49036,
            48957.699999999997,
            48879.400000000001
         ]
      },
      "name": "Muon",
      "type": "LinterpFunction"
   },
   {
      "data": {
         "fiducials": [
            "PolyFiducial:fiducial_data_xy",
            "PolyFiducial:fiducial_data_zx"
         ],
         "logic": "and"
      },
      "name": "uboone_data_fid",
      "type": "CompositeFiducial"
   },
   {
      "data": {
         "axis": 2,
         "slabs": [
            {
               "corners": [
                  [
                     30,
                     -1130
                  ],
                  [
                     770,
                     -1130
                  ],
                  [
                     2530,
                     -960
                  ],
                  [
                     2530,
                     990
                  ],
                  [
                     970,
                     1130
                  ],
                  [
                     30,
                     1140
                  ]
               ],
               "max": 10370,
               "min": 0
            }
         ]
      },
      "name": "fiducial_data_xy",
      "type": "PolyFiducial"
   },
   {
      "data": {
         "axis": 1,
         "slabs": [
            {
               "corners": [
                  [
                     40,
                     30
                  ],
                  [
                     40,
                     1170
                  ],
                  [
                     150,
                     2530
                  ],
                  [
                     10220,
                     2530
                  ],
                  [
                     10330,
                     1170
                  ],
                  [
                     10330,
                     30
                  ]
               ],
               "max": 1150,
               "min": -1150
            }
         ]
      },
      "name": "fiducial_data_zx",
      "type": "PolyFiducial"
   },
   {
      "data": {
         "fiducials": [
            "PolyFiducial:fiducial_mc_xy",
            "PolyFiducial:fiducial_mc_zx"
         ],
         "logic": "and"
      },
      "name": "uboone_mc_fid",
      "type": "CompositeFiducial"
   },
   {
      "data": {
         "axis": 2,
         "slabs": [
            {
               "corners": [
                  [
                     30,
                     -1130
                  ],
                  [
                     310,
                     -1130
                  ],
                  [
                     2530,
                     -950
                  ],
                  [
                     2530,
                     970
                  ],
                  [
                     670,
                     1130
                  ],
                  [
                     30,
                     1140
                  ]
               ],
               "max": 10370,
               "min": 0
            }
         ]
      },
      "name": "fiducial_mc_xy",
      "type": "PolyFiducial"
   },
   {
      "data": {
         "axis": 1,
         "slabs": [
            {
               "corners": [
                  [
                     40,
                     30
                  ],
                  [
                     40,
                     470
                  ],
                  [
                     180,
                     2530
                  ],
                  [
                     10190,
                     2530
                  ],
                  [
                     10330,
                     370
                  ],
                  [
                     10330,
                     30
                  ]
               ],
               "max": 1150,
               "min": -1150
            }
         ]
      },
      "name": "fiducial_mc_zx",
      "type": "PolyFiducial"
   },
   {
      "data": {
         "enable_debug": false
      },
      "name": "tagger",
      "type": "ClusteringTaggerFlagTransfer"
   },
   {
      "data": {
         "array_name": "isolated",
         "grouping": "live",
         "pcarray_name": "perblob"
      },
      "name": "recover_bundle",
      "type": "ClusteringRecoveringBundle"
   },
   {
      "data": {
         "detector_volumes": "DetectorVolumes"
      },
      "name": "",
      "type": "PCTransformSet"
   },
   {
      "data": {
         "coords": [
            "x",
            "y",
            "z"
         ],
         "correction_name": "T0Correction",
         "pc_name": "3d",
         "pc_transforms": "PCTransformSet"
      },
      "name": "",
      "type": "ClusteringSwitchScope"
   },
   {
      "data": {
         "drift_speed": 0.001101,
         "extra": [
            ".*wire_index",
            ".*charge.*",
            "wpid"
         ],
         "strategy": {
            "disable_mix_dead_cell": false,
            "name": "charge_stepped"
         },
         "time_offset": -1594550.4087193462
      },
      "name": "live_no_dead_mix",
      "type": "BlobSampler"
   },
   {
      "data": {
         "anodes": [
            "AnodePlane:uboone"
         ],
         "detector_volumes": "DetectorVolumes",
         "pc_transforms": "PCTransformSet",
         "samplers": [
            {
               "apa": 0,
               "face": 0,
               "name": "BlobSampler:live_no_dead_mix"
            }
         ],
         "verbose": true
      },
      "name": "",
      "type": "ImproveCluster_2"
   },
   {
      "data": {
         "detector_volumes": "DetectorVolumes",
         "graph": "steiner",
         "grouping": "live",
         "pc_transforms": "PCTransformSet",
         "retiler": "ImproveCluster_2"
      },
      "name": "",
      "type": "CreateSteinerGraph"
   },
   {
      "data": {
         "dead": "dead",
         "detector_volumes": "DetectorVolumes",
         "fiducial": "CompositeFiducial:uboone_mc_fid",
         "live": "live",
         "pc_transforms": "PCTransformSet",
         "target": "live"
      },
      "name": "",
      "type": "MakeFiducialUtils"
   },
   {
      "data": {
         "detector_volumes": "DetectorVolumes",
         "grouping": "live",
         "linterp_function": "LinterpFunction:Muon",
         "pc_transforms": "PCTransformSet",
         "trackfitting_config_file": "uboone_track_fitting.json"
      },
      "name": "",
      "type": "TaggerCheckSTM"
   },
   {
      "data": {
         "anodes": [
            "AnodePlane:uboone"
         ],
         "bee_points_sets": [
            {
               "algorithm": "regular",
               "coords": [
                  "x_t0cor",
                  "y",
                  "z"
               ],
               "detector": "uboone",
               "filter": 1,
               "individual": false,
               "name": "regular",
               "pcname": "3d",
               "visitor": "CreateSteinerGraph"
            },
            {
               "algorithm": "steiner",
               "coords": [
                  "x_t0cor",
                  "y",
                  "z"
               ],
               "detector": "uboone",
               "individual": false,
               "name": "steiner",
               "pcname": "steiner_pc",
               "visitor": "CreateSteinerGraph"
            }
         ],
         "bee_zip": "bee.zip",
         "detector_volumes": "DetectorVolumes",
         "eventNo": 1,
         "initial_index": 0,
         "inpath": "pointtrees/%d",
         "outpath": "pointtrees/%d",
         "perf": true,
         "pipeline": [
            "ClusteringTaggerFlagTransfer:tagger",
            "ClusteringRecoveringBundle:recover_bundle",
            "ClusteringSwitchScope",
            "CreateSteinerGraph",
            "MakeFiducialUtils",
            "TaggerCheckSTM"
         ],
         "runNo": 1,
         "save_deadarea": true,
         "subRunNo": 1,
         "use_config_rse": true
      },
      "name": "",
      "type": "MultiAlgBlobClustering"
   },
   {
      "data": {
         "datapath": "pointtrees/%d/live"
      },
      "name": "",
      "type": "ClusterFlashDump"
   },
   {
      "data": {
         "edges": [
            {
               "head": {
                  "node": "MultiAlgBlobClustering",
                  "port": 0
               },
               "tail": {
                  "node": "UbooneClusterSource:live",
                  "port": 0
               }
            },
            {
               "head": {
                  "node": "UbooneClusterSource:live",
                  "port": 0
               },
               "tail": {
                  "node": "BlobSetMerge:live",
                  "port": 0
               }
            },
            {
               "head": {
                  "node": "BlobSetMerge:live",
                  "port": 0
               },
               "tail": {
                  "node": "UbooneBlobSource:live-uvw",
                  "port": 0
               }
            },
            {
               "head": {
                  "node": "BlobSetMerge:live",
                  "port": 1
               },
               "tail": {
                  "node": "UbooneBlobSource:live-uv",
                  "port": 0
               }
            },
            {
               "head": {
                  "node": "BlobSetMerge:live",
                  "port": 2
               },
               "tail": {
                  "node": "UbooneBlobSource:live-vw",
                  "port": 0
               }
            },
            {
               "head": {
                  "node": "BlobSetMerge:live",
                  "port": 3
               },
               "tail": {
                  "node": "UbooneBlobSource:live-wu",
                  "port": 0
               }
            },
            {
               "head": {
                  "node": "ClusterFlashDump",
                  "port": 0
               },
               "tail": {
                  "node": "MultiAlgBlobClustering",
                  "port": 0
               }
            }
         ]
      },
      "type": "Pgrapher"
   }
]
